You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Matt Foley (Updated) (JIRA)" <ji...@apache.org> on 2011/10/19 09:47:10 UTC

[jira] [Updated] (MAPREDUCE-3080) dfs calls from streaming fails with ExceptionInInitializerError

     [ https://issues.apache.org/jira/browse/MAPREDUCE-3080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Foley updated MAPREDUCE-3080:
----------------------------------

    Target Version/s: 0.20.206.0
       Fix Version/s:     (was: 0.20.205.0)
    
> 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
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira