hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chen peng <chenpeng0...@hotmail.com>
Subject throw "java.io.IOException: Task process exit with nonzero status of 1" when run hadoop-0.20.2-examples.jar wordcount
Date Fri, 17 Aug 2012 07:13:25 GMT


hi :   this is message for exception when my first run hadoop job by examples.jar, What should
I do? pls help me
  -------------------------------------------------------console message---------------------------------------------------------------------------------12/08/17
14:49:33 INFO input.FileInputFormat: Total input paths to process : 2112/08/17 14:49:33 INFO
mapred.JobClient: Running job: job_201208171447_000112/08/17 14:49:34 INFO mapred.JobClient:
 map 0% reduce 0%12/08/17 14:49:40 INFO mapred.JobClient: Task Id : attempt_201208171447_0001_m_000022_0,
Status : FAILEDjava.io.IOException: Task process exit with nonzero status of 1.        at
org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:418)
12/08/17 14:49:40 WARN mapred.JobClient: Error reading task outputhttp://hadoop10-196-132-158:50060/tasklog?plaintext=true&taskid=attempt_201208171447_0001_m_000022_0&filter=stdout12/08/17
14:49:40 WARN mapred.JobClient: Error reading task outputhttp://hadoop10-196-132-158:50060/tasklog?plaintext=true&taskid=attempt_201208171447_0001_m_000022_0&filter=stderr12/08/17
14:49:46 INFO mapred.JobClient: Task Id : attempt_201208171447_0001_r_000007_0, Status : FAILEDjava.io.IOException:
Task process exit with nonzero status of 1.        at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:418)
12/08/17 14:49:46 WARN mapred.JobClient: Error reading task outputhttp://hadoop10-196-132-158:50060/tasklog?plaintext=true&taskid=attempt_201208171447_0001_r_000007_0&filter=stdout12/08/17
14:49:46 WARN mapred.JobClient: Error reading task outputhttp://hadoop10-196-132-158:50060/tasklog?plaintext=true&taskid=attempt_201208171447_0001_r_000007_0&filter=stderr12/08/17
14:49:55 INFO mapred.JobClient: Task Id : attempt_201208171447_0001_m_000022_1, Status : FAILEDjava.io.IOException:
Task process exit with nonzero status of 1.        at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:418)
  ------------------------------------------attempt_201208171146_0002_m_000022_0/stderr message
----------------------------------------------------------------------------------------------
>xception in thread "main" java.lang.ExceptionInInitializerErrorCaused by: org.apache.commons.logging.LogConfigurationException:
java.lang.ExceptionInInitializerError (Caused by java.lang.ExceptionInInitializerError)  
     at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:538)
       at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
       at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
       at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)        at org.apache.hadoop.mapred.Child.<clinit>(Child.java:47)Caused
by: java.lang.ExceptionInInitializerError        at org.apache.log4j.Logger.getLogger(Logger.java:105)
       at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)    
   at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)      
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)  
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:513)        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
       ... 4 moreCaused by: java.lang.NullPointerException        at org.apache.hadoop.mapred.TaskLog.getTaskLogFile(TaskLog.java:72)
       at org.apache.hadoop.mapred.TaskLogAppender.activateOptions(TaskLogAppender.java:44)
       at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)       
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:133)        at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:97)        at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:689)
       at org.apache.log4j.PropertyConf
 igurator.parseCategory(PropertyConfigurator.java:647)        at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:544)
       at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:440)
       at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:476)
       at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:471)
       at org.apache.log4j.LogManager.<clinit>(LogManager.java:125)        ... 12 moreCould
not find the main class: org.apache.hadoop.mapred.Child.  Program will exit.

-------------------------------------------------------------------------------------------------------------------------



 		 	   		  
Mime
View raw message