Hadoop Common
  1. Hadoop Common
  2. HADOOP-8417

HADOOP-6963 didn't update hadoop-core-pom-template.xml

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.3
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None

      Description

      HADOOP-6963 introduced commons-io 2.1 in ivy.xml but forgot to update the hadoop-core-pom-template.xml.

      This has caused map reduce jobs in downstream projects to fail with:

      Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.FileUtils
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      	... 15 more
      

      This caused a regression for 1.0.3 because downstream projects used to not directly depend on commons-io

      1. hadoop-8417-v2.txt
        1 kB
        Ted Yu
      2. hadoop-8417.txt
        0.6 kB
        Ted Yu

        Activity

        Ted Yu created issue -
        Ted Yu made changes -
        Field Original Value New Value
        Attachment hadoop-8417.txt [ 12528288 ]
        Ted Yu made changes -
        Attachment hadoop-8417.txt [ 12528288 ]
        Hide
        Ted Yu added a comment -

        Patch adds commons-io to hadoop-core-pom-template.xml

        Show
        Ted Yu added a comment - Patch adds commons-io to hadoop-core-pom-template.xml
        Ted Yu made changes -
        Attachment hadoop-8417.txt [ 12528290 ]
        Ted Yu made changes -
        Affects Version/s 1.0.3 [ 12320248 ]
        Ted Yu made changes -
        Assignee Zhihong Yu [ zhihyu@ebaysf.com ]
        Hide
        Ravi Prakash added a comment -

        I'm sorry I didn't know anything about the XMLs in the ivy directory.

        Thanks for the patch Zhihong! Looks good!

        Could you please add a comment in ivy.xml to update the XMLs in the ivy directory just to reduce the chances of this happening again?

        Show
        Ravi Prakash added a comment - I'm sorry I didn't know anything about the XMLs in the ivy directory. Thanks for the patch Zhihong! Looks good! Could you please add a comment in ivy.xml to update the XMLs in the ivy directory just to reduce the chances of this happening again?
        Hide
        Ted Yu added a comment -

        Just saw Ravi's comment.

        Patch v2 attached.

        Show
        Ted Yu added a comment - Just saw Ravi's comment. Patch v2 attached.
        Ted Yu made changes -
        Attachment hadoop-8417-v2.txt [ 12529819 ]
        Konstantin Boudnik made changes -
        Fix Version/s 1.1.0 [ 12316501 ]
        Hide
        Konstantin Boudnik added a comment -

        +1 patch is good.
        Will commit it shortly.

        Show
        Konstantin Boudnik added a comment - +1 patch is good. Will commit it shortly.
        Hide
        Konstantin Boudnik added a comment -

        Committed to branch-1.1. Thank you Zhihong.

        Show
        Konstantin Boudnik added a comment - Committed to branch-1.1. Thank you Zhihong.
        Konstantin Boudnik made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Matt Foley added a comment -

        Closed upon release of Hadoop-1.1.0.

        Show
        Matt Foley added a comment - Closed upon release of Hadoop-1.1.0.
        Matt Foley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Ted Yu
            Reporter:
            Ted Yu
          • Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development