Steve Loughran 写道:
David Wei wrote:
Error initializing attempt_200810220716_0004_m_000001_0:
java.lang.IllegalArgumentException: Wrong FS:
hdfs://192.168.52.129:9000/tmp/hadoop-root/mapred/system/job_200810220716_0004/job.xml,
expected: hdfs://datacenter5:9000 at
org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:320)
And if I configure the masters/slaves with hostname, datanode will not be able
to connect to the master!
No one knows how to solve this?
that implies DNS problems. what does
nslookup datacenter5
return on the command line of all the slaves?
Steve,
the output is:
Server: 192.168.18.10
Address: 192.168.18.10#53
Non-authoritative answer:
Name: datacenter5.papa
Address: 61.140.3.66
And none of them is the address of datacenter5(192.168.52.129). How can
I solve this problem?
BTW, I can ssh to datacenter5(master) without password.
thx!