You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by ankit bhatnagar <ab...@gmail.com> on 2010/05/12 18:05:20 UTC

Exception while running the sample

I recently did the setup the cluster hadoop setup with 10 nodes

 When I run the example to test the functionality it throws the exceptions
-

xxx.xxx.xxx.xxx: is the corect ip corect which I a able to ping


Error initializing attempt_201005121158_0001_m_000001_0:

java.lang.IllegalArgumentException: Wrong FS:
hdfs://xxx.xxx.xxx.xxx:9500/data/tmp/hadoop-nutch/mapred/system/job_201005121158_0001/job.xml,
expected: hdfs://n1:9500

        at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:320)

        at
org.apache.hadoop.dfs.DistributedFileSystem.checkPath(DistributedFileSystem.java:84)

        at
org.apache.hadoop.dfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:140)

        at
org.apache.hadoop.dfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:408)

        at
org.apache.hadoop.mapred.TaskTracker.localizeJob(TaskTracker.java:642)

        at
org.apache.hadoop.mapred.TaskTracker.startNewTask(TaskTracker.java:1297)

        at
org.apache.hadoop.mapred.TaskTracker.offerService(TaskTracker.java:937)

        at org.apache.hadoop.mapred.TaskTracker.run(TaskTracker.java:1334)

        at org.apache.hadoop.mapred.TaskTracker.main(TaskTracker.java:2343)



10/05/12 11:59:12 WARN mapred.JobClient: Error reading task outputhttp://
n8.vantage.com:50060/tasklog?plaintext=true&taskid=attempt_201005121158_0001_m_000001_0&filter=stdout

10/05/12 11:59:12 WARN mapred.JobClient: Error reading task outputhttp://
n8.vantage.com:50060/tasklog?plaintext=true&taskid=attempt_201005121158_0001_m_000001_0&filter=stderr

10/05/12 11:59:12 INFO mapred.JobClient: Task Id :
attempt_201005121158_0001_m_000002_0, Status : FAILED

Error initializing attempt_201005121158_0001_m_000002_0:

java.lang.IllegalArgumentException: Wrong FS: hdfs://
xxx.xxx.xxx.xxx:9500/data/tmp/hadoop-nutch/mapred/system/job_201005121158_0001/job.xml,
expected: hdfs://n1:9500

        at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:320)

        at
org.apache.hadoop.dfs.DistributedFileSystem.checkPath(DistributedFileSystem.java:84)

        at
org.apache.hadoop.dfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:140)

        at
org.apache.hadoop.dfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:408)

        at
org.apache.hadoop.mapred.TaskTracker.localizeJob(TaskTracker.java:642)

        at
org.apache.hadoop.mapred.TaskTracker.startNewTask(TaskTracker.java:1297)

        at
org.apache.hadoop.mapred.TaskTracker.offerService(TaskTracker.java:937)

        at org.apache.hadoop.mapred.TaskTracker.run(TaskTracker.java:1334)

        at org.apache.hadoop.mapred.TaskTracker.main(TaskTracker.java:2343)



Thanks

Ankit