Bigtop
  1. Bigtop
  2. BIGTOP-373

bigtop-detect-javahome not customizable

    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

        Philip Zeyliger created issue -
        James Page made changes -
        Field Original Value New Value
        Assignee James Page [ javacruft ]
        James Page made changes -
        Attachment BIGTOP-373.patch [ 12512098 ]
        James Page made changes -
        Attachment BIGTOP-373.patch [ 12512099 ]
        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.
        James Page made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        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.
        James Page made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Roman Shaposhnik made changes -
        Fix Version/s 0.3.0 [ 12317841 ]
        Fix Version/s 0.4.0 [ 12318889 ]
        Gavin made changes -
        Workflow no-reopen-closed, patch-avail [ 12650723 ] patch-available, re-open possible [ 12665772 ]
        Roman Shaposhnik made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        2h 13m 1 James Page 27/Jan/12 10:20
        Patch Available Patch Available Resolved Resolved
        3d 4h 22m 1 James Page 30/Jan/12 14:42
        Resolved Resolved Closed Closed
        148d 1h 16m 1 Roman Shaposhnik 26/Jun/12 16:58

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development