Apache Whirr (retired)
  1. Apache Whirr (retired)
  2. WHIRR-186

[HBase] Add version support configurable in properties file

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.3.0
    • Fix Version/s: 0.4.0
    • Component/s: service/hbase
    • Labels:
      None

      Description

      Add hbase.version to the property keys that allows setting the version based on the official Apache archives.

      1. WHIRR-186-v3.patch
        24 kB
        Lars George
      2. WHIRR-186-redo-after-WHIRR-206.patch
        9 kB
        Lars George
      3. WHIRR-186-full.patch
        8 kB
        Lars George
      4. WHIRR-186.patch
        1 kB
        Lars George

        Issue Links

          Activity

          Hide
          Lars George added a comment -

          I just committed this.

          Show
          Lars George added a comment - I just committed this.
          Hide
          Tom White added a comment -

          +1 looks good

          Show
          Tom White added a comment - +1 looks good
          Hide
          Lars George added a comment -

          WHIRR-186-v3.patch adds the whirr-hbase-defaults.properties.

          Show
          Lars George added a comment - WHIRR-186 -v3.patch adds the whirr-hbase-defaults.properties.
          Hide
          Lars George added a comment -

          I have this working now, just need to get a patch together.

          Show
          Lars George added a comment - I have this working now, just need to get a patch together.
          Hide
          Lars George added a comment -

          Cancelling to redo the version vs. tarball URL location.

          Show
          Lars George added a comment - Cancelling to redo the version vs. tarball URL location.
          Hide
          Lars George added a comment -

          Hmm, so Cassandra uses the full tarball URL as an override? Can do that as well. I was following the Hadoop service and how it uses the version. But I also though about why the URL is fixed and not part of the params. Let me change this once more.

          Show
          Lars George added a comment - Hmm, so Cassandra uses the full tarball URL as an override? Can do that as well. I was following the Hadoop service and how it uses the version. But I also though about why the URL is fixed and not part of the params. Let me change this once more.
          Hide
          Lars George added a comment -

          The reason is that HBase 0.20.6 does not use the postfix. I'll check what Cassandra does, but for now it is simply the missing part of

          hbase_tar_url=http://archive.apache.org/dist/hbase/hbase-$HBASE_VERSION/hbase-$

          {HBASE_VERSION}

          .tar.gz

          and since 0.89 now uses "-bin" etc. suffixes I needed to put it somewhere else.

          Show
          Lars George added a comment - The reason is that HBase 0.20.6 does not use the postfix. I'll check what Cassandra does, but for now it is simply the missing part of hbase_tar_url= http://archive.apache.org/dist/hbase/hbase-$HBASE_VERSION/hbase-$ {HBASE_VERSION} .tar.gz and since 0.89 now uses "-bin" etc. suffixes I needed to put it somewhere else.
          Hide
          Tom White added a comment -

          Why does the version number include the "-bin" suffix? E.g. "0.89.20100924-bin". Maybe separate out the version and the URL like Cassandra does?

          Otherwise +1.

          Show
          Tom White added a comment - Why does the version number include the "-bin" suffix? E.g. "0.89.20100924-bin". Maybe separate out the version and the URL like Cassandra does? Otherwise +1.
          Hide
          Lars George added a comment -

          Redo after WHIRR-206 changes.

          Show
          Lars George added a comment - Redo after WHIRR-206 changes.
          Hide
          Lars George added a comment -

          This patch includes the previous.

          Show
          Lars George added a comment - This patch includes the previous.
          Hide
          Lars George added a comment -

          This patch (unfortunately) relies on WHIRR-206 to be first applied. Sorry for the mixup.

          Show
          Lars George added a comment - This patch (unfortunately) relies on WHIRR-206 to be first applied. Sorry for the mixup.
          Hide
          Lars George added a comment -

          First part of the patch, adds setting the version in the scripts. Next is simply adding this to the handlers to hand it in.

          Show
          Lars George added a comment - First part of the patch, adds setting the version in the scripts. Next is simply adding this to the handlers to hand it in.

            People

            • Assignee:
              Lars George
              Reporter:
              Lars George
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development