hadoop copyFromLocal出错 博客分类: hadoopcopyFromLocal hadoopcopyFromLocal
程序员文章站
2024-02-08 16:59:46
...
按照 http://blog.csdn.net/Angelababy_huan/article/details/52179727 配置好后
修改core-site.xml,将local改成master
<configuration>
<property>
<name>hadoop.tmp.dir</name>
<value>file:/home/hadoop/hadoop/tmp</value>
<description>Abase for other temporary directories.</description>
</property>
<property>
<name>fs.defaultFS</name>
<value>hdfs://master:9000</value>
</property>
</configuration>
修改master和slave一样
要保持namenode(master下的)和datanode(slave下的)的cluserid一致 即可