Accumulo
  1. Accumulo
  2. ACCUMULO-2617

locationByProgram incorrectly computes JAVA_HOME

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.2, 1.6.0
    • Component/s: scripts
    • Labels:
      None
    • Environment:

      Centos 6.5

      Description

      Ran on a centos host, forgot to set JAVA_HOME in the config files. Accumulo tried to compute it but threw in an extra bin/ in the path and ultimately set the wrong path.

        Activity

        Hide
        Josh Elser added a comment -

        Same thing also happens to me on OSX fwiw.

        Show
        Josh Elser added a comment - Same thing also happens to me on OSX fwiw.
        Hide
        Josh Elser added a comment -

        Looks like ZOOKEEPER_HOME and HADOOP_HOME is also subject to this, but it didn't matter because we never found the java executable correctly.

        Patch fixes it for me on centos host and locally.

        Show
        Josh Elser added a comment - Looks like ZOOKEEPER_HOME and HADOOP_HOME is also subject to this, but it didn't matter because we never found the java executable correctly. Patch fixes it for me on centos host and locally.
        Hide
        Josh Elser added a comment -

        Will leave the fix sit here for a little to see if it doesn't work for others, and if we can make it more robust in some other way.

        Show
        Josh Elser added a comment - Will leave the fix sit here for a little to see if it doesn't work for others, and if we can make it more robust in some other way.
        Hide
        Sean Busbey added a comment -

        lgtm

        Show
        Sean Busbey added a comment - lgtm
        Hide
        ASF subversion and git services added a comment -

        Commit e3e03be8d1c90d54d58e11c8ea30e479c624d23c in accumulo's branch refs/heads/1.5.2-SNAPSHOT from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=e3e03be ]

        ACCUMULO-2617 Fix the locationByProgram to account for the extra 'bin' directory

        Show
        ASF subversion and git services added a comment - Commit e3e03be8d1c90d54d58e11c8ea30e479c624d23c in accumulo's branch refs/heads/1.5.2-SNAPSHOT from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=e3e03be ] ACCUMULO-2617 Fix the locationByProgram to account for the extra 'bin' directory
        Hide
        ASF subversion and git services added a comment -

        Commit e3e03be8d1c90d54d58e11c8ea30e479c624d23c in accumulo's branch refs/heads/1.6.0-SNAPSHOT from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=e3e03be ]

        ACCUMULO-2617 Fix the locationByProgram to account for the extra 'bin' directory

        Show
        ASF subversion and git services added a comment - Commit e3e03be8d1c90d54d58e11c8ea30e479c624d23c in accumulo's branch refs/heads/1.6.0-SNAPSHOT from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=e3e03be ] ACCUMULO-2617 Fix the locationByProgram to account for the extra 'bin' directory
        Hide
        ASF subversion and git services added a comment -

        Commit e3e03be8d1c90d54d58e11c8ea30e479c624d23c in accumulo's branch refs/heads/master from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=e3e03be ]

        ACCUMULO-2617 Fix the locationByProgram to account for the extra 'bin' directory

        Show
        ASF subversion and git services added a comment - Commit e3e03be8d1c90d54d58e11c8ea30e479c624d23c in accumulo's branch refs/heads/master from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=e3e03be ] ACCUMULO-2617 Fix the locationByProgram to account for the extra 'bin' directory

          People

          • Assignee:
            Josh Elser
            Reporter:
            Josh Elser
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development