You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Ben Wing (Updated) (JIRA)" <ji...@apache.org> on 2011/11/03 04:07:34 UTC

[jira] [Updated] (HADOOP-7461) Jackson Dependency Not Declared in Hadoop POM

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

Ben Wing updated HADOOP-7461:
-----------------------------

          Description: 
(COMMENT: This bug still affects 0.20.205.0, four months after the bug was filed.  This causes total failure, and the fix is trivial for whoever manages the POM -- just add the missing dependency! --ben)

This issue was identified and the fix & workaround was documented at 

https://issues.cloudera.org/browse/DISTRO-44

The issue affects use of Hadoop 0.20.203.0 from the Maven central repo. I built a job using that maven repo and ran it, resulting in this failure:

Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/jackson/map/JsonMappingException
	at thinkbig.hadoop.inputformat.TestXmlInputFormat.run(TestXmlInputFormat.java:18)
	at thinkbig.hadoop.inputformat.TestXmlInputFormat.main(TestXmlInputFormat.java:23)
Caused by: java.lang.ClassNotFoundException: org.codehaus.jackson.map.JsonMappingException





  was:
This issue was identified and the fix & workaround was documented at 

https://issues.cloudera.org/browse/DISTRO-44

The issue affects use of Hadoop 0.20.203.0 from the Maven central repo. I built a job using that maven repo and ran it, resulting in this failure:

Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/jackson/map/JsonMappingException
	at thinkbig.hadoop.inputformat.TestXmlInputFormat.run(TestXmlInputFormat.java:18)
	at thinkbig.hadoop.inputformat.TestXmlInputFormat.main(TestXmlInputFormat.java:23)
Caused by: java.lang.ClassNotFoundException: org.codehaus.jackson.map.JsonMappingException





             Priority: Major  (was: Minor)
    Affects Version/s:     (was: 0.20.2)
                       0.20.205.0

I've upgraded this to Major in the hope that someone will pay attention.  This bug still affects 0.20.205.0, four months after the bug was filed.  It causes total failure when running in non-distributed mode. The fix is trivial for whoever manages the POM -- just add the missing dependency!  It's a bad sign that a bug like this has persisted this long.

                
> Jackson Dependency Not Declared in Hadoop POM
> ---------------------------------------------
>
>                 Key: HADOOP-7461
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7461
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.20.205.0
>            Reporter: Ron Bodkin
>
> (COMMENT: This bug still affects 0.20.205.0, four months after the bug was filed.  This causes total failure, and the fix is trivial for whoever manages the POM -- just add the missing dependency! --ben)
> This issue was identified and the fix & workaround was documented at 
> https://issues.cloudera.org/browse/DISTRO-44
> The issue affects use of Hadoop 0.20.203.0 from the Maven central repo. I built a job using that maven repo and ran it, resulting in this failure:
> Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/jackson/map/JsonMappingException
> 	at thinkbig.hadoop.inputformat.TestXmlInputFormat.run(TestXmlInputFormat.java:18)
> 	at thinkbig.hadoop.inputformat.TestXmlInputFormat.main(TestXmlInputFormat.java:23)
> Caused by: java.lang.ClassNotFoundException: org.codehaus.jackson.map.JsonMappingException

--
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