hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramya Sunil (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-3080) dfs calls from streaming fails with ExceptionInInitializerError
Date Fri, 23 Sep 2011 19:53:26 GMT
dfs calls from streaming fails with ExceptionInInitializerError
---------------------------------------------------------------

                 Key: MAPREDUCE-3080
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3080
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: contrib/streaming
    Affects Versions: 0.20.205.0
            Reporter: Ramya Sunil
             Fix For: 0.20.205.0


Dfs calls from streaming seem to fail with the following error:

{noformat}
Exception in thread "main" java.lang.ExceptionInInitializerError
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:57)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
	at org.apache.hadoop.fs.FsShell.main(FsShell.java:1895)
Caused by: org.apache.commons.logging.LogConfigurationException: User-specified log class
'org.apache.commons.logging.impl.Log4JLogger' cannot be found or is not useable.
	at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:874)
	at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604)
	at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)
	at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:310)
	at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
	at org.apache.hadoop.conf.Configuration.<clinit>(Configuration.java:142)
	... 3 more
{noformat}

commons-logging-1.1.1.jar is in the classpath. An easy way to reproduce this is, on a secure
deploy, "hadoop --config $HADOOP_CONF_DIR jar hadoop-streaming.jar -input <UserInput>
-output Out -mapper "hadoop --config $HADOOP_CONF_DIR dfs -help" -reducer NONE"


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message