更改hadoop.tmp.dir
我试图在windows上更改core-site.xml上的hadoop.temp.dir更改hadoop.tmp.dir,hadoop,mapreduce,Hadoop,Mapreduce,我试图在windows上更改core-site.xml上的hadoop.temp.dir <configuration> <property> <name>hadoop.tmp.dir</name> <value>temp/teste</value> </property> <property> <name>fs.defaultFS</n
<configuration>
<property>
<name>hadoop.tmp.dir</name>
<value>temp/teste</value>
</property>
<property>
<name>fs.defaultFS</name>
<value>hdfs://localhost:9000</value>
</property>
</configuration>
我不能完全确定我是否做错了什么,或者我必须更改任何其他内容您可以查看任务跟踪器和工作跟踪器日志,看看是否有关于错误的更多信息吗?同时,我要检查的第一件事是这个temp/teste文件夹是否存在,并且有允许用户johndoe写入的权限。
INFO mapreduce.Job: Job job_1396600669739_0001 failed with state FAILED due to: Application application_1396600669739_0001 failed 2 times due to AM Container for appattempt_1396600669739_0001_000002 exited with exitCode:-1000 due to: File file:/C:/hadoop/sbin/temp/teste/nm-local-dir/usercache/johndoe/appcache/application_1396600669739_0001/temp/teste/nm-local-dir/nmPrivate/container_1396600669739_0001_02_000001.tokens does not exist