Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-3219

HBase detection function in common.sh failure when HBASE_VERSION is set

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.3
    • Fix Version/s: 3.2.0
    • Component/s: Distribution
    • Labels:
      None
    • Release Notes:
      Allow specifying HBase version using HBASE_VERSION environment variable
    • Rank:
      1|hzyx4n:

      Description

      Line 91 checks for $retvalue, but that variable is only set of HBASE_VERSION is not set. The check should check for $retvalue == 0 or HBASE_VERSION being set, in which case, we should trust the given value. Also, retvalue should be set to 1 before the HBASE_VERSION check to ensure the check doesn't cause a syntax error.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chris Chris Gianelloni
                Reporter:
                chris Chris Gianelloni
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: