解决方法:
<property> <name>hadoop.tmp.dir</name> <value>/usr/local/hadoop/tmp</value> </property>
改成如下:
<property> <name>hadoop.tmp.dir</name> <value>/usr/local/hadoop/tmp/hadoop-${user.name}</value> </property>
解决方法:
<property> <name>hadoop.tmp.dir</name> <value>/usr/local/hadoop/tmp</value> </property>
改成如下:
<property> <name>hadoop.tmp.dir</name> <value>/usr/local/hadoop/tmp/hadoop-${user.name}</value> </property>