Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3018

detect-javahome script has a typo in variable name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.2.1
    • 1.3.0
    • Init scripts
    • None

    Description

      detect-javahome script : bigtop-packages/src/common/bigtop-utils/bigtop-detect-javahome

       

      In line 56 and line 60, $OPENJAVA8_HOME_CANDIDATES can only be empty because there was a typo in defining variable $OPENJAVA8_HOME_CANDIDATES in line 34. There are two _ between "HOME" and "CANDIDATES" in line 34. But There is only one _ between "HOME" and "CANDIDATES" when using the variable in line 56 and line 60. For other variable using one _ as the separator instead of two _ , I suggest changing variable $OPENJAVA8_HOME_CANDIDATES(with two _ between "HOME" and "CANDIDATES") in line 34 to $OPENJAVA8_HOME_CANDIDATES(with only one _ between "HOME" and "CANDIDATES")

       

      Can I create a pull request?

      Attachments

        Issue Links

          Activity

            People

              zhtisi Heting Zhang
              zhtisi Heting Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 5m
                  5m
                  Remaining:
                  Remaining Estimate - 5m
                  5m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified