Hadoop Common
  1. Hadoop Common
  2. HADOOP-7461

Jackson Dependency Not Declared in Hadoop POM

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.205.0
    • Fix Version/s: 1.0.0
    • Component/s: build
    • Labels:
      None
    • Target Version/s:

      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

      1. HADOOP-7461.patch
        0.5 kB
        Giridharan Kesavan
      2. HADOOP-7461-1.patch
        0.5 kB
        Giridharan Kesavan

        Activity

          People

          • Assignee:
            Giridharan Kesavan
            Reporter:
            Ron Bodkin
          • Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development