提交hadoop文件出现配置 ”Please check whether your etc/hadoop/mapred-site.xml contains the below configuration“的问题
提交hadoop出来出现配置问题
Please check whether your etc/hadoop/mapred-site.xml contains the below configuration:
<property>
<name>yarn.app.mapreduce.am.env</name>
<value>HADOOP_MAPRED_HOME=${full path of your hadoop distribution directory}</value>
</property>
<property>
<name>mapreduce.map.env</name>
<value>HADOOP_MAPRED_HOME=${full path of your hadoop distribution directory}</value>
</property>
<property>
<name>mapreduce.reduce.env</name>
<value>HADOOP_MAPRED_HOME=${full path of your hadoop distribution directory}</value>
</property>
然后我配置 ${full path of your hadoop distribution directory} 提示如下错误 ${/usr/local/hadoop/hadoop-3.0.2/share/hadoop/mapreduce*},这里HADOOP_MAPRED_HOME=到底配置为什么?
appcache/application_1552702831010_0007/container_1552702831010_0007_02_000001/launch_container.sh: line 19: ${/usr/local/hadoop/hadoop-3.0.2/share/hadoop/mapreduce*}: bad substitution