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

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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.98.0, 0.95.2
    • None
    • None
    • Reviewed
    • 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. 8224-adding.classifiers.txt
          2 kB
          Michael Stack
        2. hbase-8224-proto1.patch
          2 kB
          Enis Soztutar
        3. 8224.gen.script.txt
          28 kB
          Michael Stack
        4. 8224.gen.scriptv3.txt
          53 kB
          Michael Stack
        5. 8224.gen.scriptv3.txt
          52 kB
          Michael Stack
        6. 8224v5.txt
          53 kB
          Michael Stack

        Issue Links

          Activity

            People

              stack Michael Stack
              stack Michael Stack
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: