Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-8224

Publish hbase build against h1 and h2 adding '-hadoop1' or '-hadoop2' to version string

    Details

    • Type: Task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.98.0, 0.95.2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      When we publish artifacts, we add a -hadoop1 or -hadoop2 to the version to distingush hbase compiled against hadoop1 from that compiled against hadoop2. This issue adds a script that runs against checked out poms to derive poms that have the -hadoop1 or -hadoop2 modification made and they add/remove to the poms the appropriate set of modules to bundle. See refguide for final doc on how to make use of this script building (TODO); refguide will replace the notes here.
      Show
      When we publish artifacts, we add a -hadoop1 or -hadoop2 to the version to distingush hbase compiled against hadoop1 from that compiled against hadoop2. This issue adds a script that runs against checked out poms to derive poms that have the -hadoop1 or -hadoop2 modification made and they add/remove to the poms the appropriate set of modules to bundle. See refguide for final doc on how to make use of this script building (TODO); refguide will replace the notes here.

      Description

      So we can publish both the hadoop1 and the hadoop2 jars to a maven repository, and so we can publish two packages, one for hadoop1 and one for hadoop2, given how maven works, our only alternative (to the best of my knowledge and after consulting others) is by amending the version string to include hadoop1 or hadoop2.

        Attachments

        1. hbase-8224-proto1.patch
          2 kB
          Enis Soztutar
        2. 8224v5.txt
          53 kB
          stack
        3. 8224-adding.classifiers.txt
          2 kB
          stack
        4. 8224.gen.scriptv3.txt
          53 kB
          stack
        5. 8224.gen.scriptv3.txt
          52 kB
          stack
        6. 8224.gen.script.txt
          28 kB
          stack

          Issue Links

            Activity

              People

              • Assignee:
                stack stack
                Reporter:
                stack stack
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: