更改hadoop.tmp.dir

时间:2014-04-04 09:23:53

标签: hadoop mapreduce

我试图更改core-site.xml上的hadoop.temp.dir(在Windows上)

<configuration>
 <property>
    <name>hadoop.tmp.dir</name>
    <value>temp/teste</value>
  </property>
    <property>
        <name>fs.defaultFS</name>
        <value>hdfs://localhost:9000</value>
    </property>
</configuration>

但是每当我更改它时,我在执行map reduce时会出现以下错误 工作

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

我不完全确定我是否做错了什么或者我必须改变其他任何东西

0 个答案:

没有答案