Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.3.0
    • Fix Version/s: 0.3.0, 0.4.0
    • Component/s: general
    • Labels:
      None

      Description

      The following snippet is in bigtop-packages/src/common/bigtop-utils/bigtop-detect-javahome:

      # Uncomment and set the following variable in order for the 
      # guesswork step to be skipped
      #
      # JAVA_HOME=/usr/java/latest
      

      In a packaged world, however, bigtop-detect-javahome will be overridden with every subsequent release of bigtop. Defaults and configurations like this might go into /etc/default/bigtop or perhaps /etc/bigtop/..., so that users can configure permanently to enable or disable JAVA_HOME detection.

      1. BIGTOP-373.patch
        4 kB
        James Page
      2. BIGTOP-373.patch
        4 kB
        James Page

        Activity

        Hide
        James Page added a comment -

        Patch which introduces /etc/default/bigtop-utils which allows JAVA_HOME to be overriden in a configuration file which should be maintained between upgrades.

        Show
        James Page added a comment - Patch which introduces /etc/default/bigtop-utils which allows JAVA_HOME to be overriden in a configuration file which should be maintained between upgrades.
        Hide
        Peter Linnell added a comment -

        Looks good to me. Thanks for the patch. I will defer to Bruno and Roman on accepting.

        Show
        Peter Linnell added a comment - Looks good to me. Thanks for the patch. I will defer to Bruno and Roman on accepting.
        Hide
        Bruno Mahé added a comment -

        +1.
        Note that JAVA_HOME could also be overridden through /etc/environment or bash profiles.

        Show
        Bruno Mahé added a comment - +1. Note that JAVA_HOME could also be overridden through /etc/environment or bash profiles.

          People

          • Assignee:
            James Page
            Reporter:
            Philip Zeyliger
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development