Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2214

Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.22.0
    • 0.22.0
    • build
    • None
    • RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2

    • Reviewed

    Description

      The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on.
      When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar.

      When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo.
      Even during online build, it should compile against the hadoop-common that hdfs compiled against.

      When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs.

      Attachments

        1. HDFS-2214.patch
          2 kB
          Joep Rottinghuis
        2. HDFS-2214.patch
          2 kB
          Konstantin Shvachko
        3. HDFS-2214.patch
          2 kB
          Konstantin I Boudnik
        4. HDFS-2214-follow-up.patch
          0.5 kB
          Joep Rottinghuis
        5. HDFS-2214.patch
          2 kB
          Joep Rottinghuis

        Issue Links

          Activity

            People

              jrottinghuis Joep Rottinghuis
              jrottinghuis Joep Rottinghuis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: