Hi guys, 
   
 I see the exception below when I launch a job

0/04/27 10:54:16 INFO mapred.JobClient:  map 0% reduce 0%
10/04/27 10:54:22 INFO mapred.JobClient: Task Id :
attempt_201004271050_0001_m_005760_0, Status : FAILED
Error initializing attempt_201004271050_0001_m_005760_0:
java.lang.NumberFormatException: For input string: "-"
        at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
        at java.lang.Integer.parseInt(Integer.java:476)
        at java.lang.Integer.parseInt(Integer.java:499)
        at org.apache.hadoop.fs.DF.parseExecResult(DF.java:125)
        at org.apache.hadoop.util.Shell.runCommand(Shell.java:179)
        at org.apache.hadoop.util.Shell.run(Shell.java:134)
        at org.apache.hadoop.fs.DF.getAvailable(DF.java:73)
        at
org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.getLocalPathForWrite(LocalDirAllocator.java:329)
        at
org.apache.hadoop.fs.LocalDirAllocator.getLocalPathForWrite(LocalDirAllocator.java:124)
        at 
org.apache.hadoop.mapred.TaskTracker.localizeJob(TaskTracker.java:751)
        at 
org.apache.hadoop.mapred.TaskTracker.startNewTask(TaskTracker.java:1665)
        at org.apache.hadoop.mapred.TaskTracker.access$1200(TaskTracker.java:97)
        at
org.apache.hadoop.mapred.TaskTracker$TaskLauncher.run(TaskTracker.java:1630)

 

Few things

* I ran fsck on the namenode and no corrupted blocks reported.
* The -report from dfsadmin , says the datanode is up.
 
-- 
View this message in context: 
http://old.nabble.com/DataNode-not-able-to-spawn-a-Task-tp28378863p28378863.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.

Reply via email to