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 "Ron Bodkin (JIRA)" <ji...@apache.org> on 2011/07/15 02:14:00 UTC

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

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.2
            Reporter: Ron Bodkin
            Priority: Minor


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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Matt Foley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Foley updated HADOOP-7461:
-------------------------------

    Fix Version/s:     (was: 1.1.0)

This was indeed fixed in 1.0.0, so no need to note it as fixed in 1.1.0.
                
> 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
>            Assignee: Giridharan Kesavan
>             Fix For: 1.0.0
>
>         Attachments: HADOOP-7461-1.patch, HADOOP-7461.patch
>
>
> (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

        

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

Posted by "Matt Foley (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169582#comment-13169582 ] 

Matt Foley commented on HADOOP-7461:
------------------------------------

+1.  Please commit to branch-1.0 and branch-1.  Thanks.
                
> 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
>            Assignee: Giridharan Kesavan
>         Attachments: HADOOP-7461-1.patch, HADOOP-7461.patch
>
>
> (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

        

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

Posted by "Giridharan Kesavan (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Giridharan Kesavan resolved HADOOP-7461.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.0
                   1.0.0

committed to both 1 and 1.0 branches, thanks Matt
                
> 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
>            Assignee: Giridharan Kesavan
>             Fix For: 1.0.0, 1.1.0
>
>         Attachments: HADOOP-7461-1.patch, HADOOP-7461.patch
>
>
> (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

        

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

Posted by "Giridharan Kesavan (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Giridharan Kesavan reassigned HADOOP-7461:
------------------------------------------

    Assignee: Giridharan Kesavan
    
> 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
>            Assignee: Giridharan Kesavan
>
> (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

        

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

Posted by "Giridharan Kesavan (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Giridharan Kesavan updated HADOOP-7461:
---------------------------------------

    Attachment: HADOOP-7461-1.patch

mybad , fixed the typos.

tested the patch by doing mvn-install and verified if the pom includes the jackson dependency.

steps:
ant -Dcompile.native=true -Dcompile.c++=true  mvn-install
check the mvn cache 
~/.m2/repository/org/apache/hadoop/hadoop-core/1.0.1-SNAPSHOT/hadoop-core-1.0.1-SNAPSHOT.pom
                
> 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
>            Assignee: Giridharan Kesavan
>         Attachments: HADOOP-7461-1.patch, HADOOP-7461.patch
>
>
> (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

        

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

Posted by "Giridharan Kesavan (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Giridharan Kesavan updated HADOOP-7461:
---------------------------------------

    Attachment: HADOOP-7461.patch

updated the core pom template to include the jackson dependency.
                
> 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
>            Assignee: Giridharan Kesavan
>         Attachments: HADOOP-7461.patch
>
>
> (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

        

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

Posted by "Matt Foley (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169533#comment-13169533 ] 

Matt Foley commented on HADOOP-7461:
------------------------------------

Giri, two typos:
+      <artifactId>jackson-mapper-asl</groupId>
should be 
+      <artifactId>jackson-mapper-asl</artifactId>

and the closing 
+    <dependency>
should be
+    </dependency>

                
> 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
>            Assignee: Giridharan Kesavan
>         Attachments: HADOOP-7461.patch
>
>
> (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

        

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

Posted by "Matt Foley (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Foley updated HADOOP-7461:
-------------------------------

    Target Version/s: 1.0.0

Two comments:
First, to request/propose that a bug be fixed in a given release, please add that release to the "Target Version" field in the bug report.
Second, if the fix is trivial, please construct a patch for the fix, test it, and upload it to the Jira, rather than complaining that no one (else) has fixed it in four months.
                
> 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
>            Assignee: Giridharan Kesavan
>         Attachments: HADOOP-7461.patch
>
>
> (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

        

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

Posted by "Ben Wing (Updated) (JIRA)" <ji...@apache.org>.
     [ 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