Accumulo
  1. Accumulo
  2. ACCUMULO-2004

LIB_PATH for Hadoop native libs is lacking

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.4.5, 1.5.1, 1.6.0
    • Component/s: scripts
    • Labels:
      None

      Description

      I noticed that the checks for LIB_PATH only check the existence of a given directory where the native libs might be instead of actually checking for libhadoop.so.

      At a minimum, we should verify that the directory we end up passing to java.library.path actually contains the shared objects we need.

        Activity

        Hide
        Josh Elser added a comment -

        Not necessary to alter in 1.6 as the scripts were refactored to use (DY)LD_LIBRARY_PATH instead of -Djava.library.path

        Show
        Josh Elser added a comment - Not necessary to alter in 1.6 as the scripts were refactored to use (DY)LD_LIBRARY_PATH instead of -Djava.library.path
        Hide
        ASF subversion and git services added a comment -

        Commit 53a7d518cacf2d64ccd2ab04fa84242adf8084b1 in branch refs/heads/1.5.1-SNAPSHOT from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=53a7d51 ]

        ACCUMULO-2004 Check for libhadoop.so, not the a directory we think it might be in.

        Show
        ASF subversion and git services added a comment - Commit 53a7d518cacf2d64ccd2ab04fa84242adf8084b1 in branch refs/heads/1.5.1-SNAPSHOT from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=53a7d51 ] ACCUMULO-2004 Check for libhadoop.so, not the a directory we think it might be in.
        Hide
        ASF subversion and git services added a comment -

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

        ACCUMULO-2004 Check for libhadoop.so, not the a directory we think it might be in.

        Show
        ASF subversion and git services added a comment - Commit 53a7d518cacf2d64ccd2ab04fa84242adf8084b1 in branch refs/heads/1.6.0-SNAPSHOT from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=53a7d51 ] ACCUMULO-2004 Check for libhadoop.so, not the a directory we think it might be in.
        Hide
        ASF subversion and git services added a comment -

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

        ACCUMULO-2004 Check for libhadoop.so, not the a directory we think it might be in.

        Show
        ASF subversion and git services added a comment - Commit 53a7d518cacf2d64ccd2ab04fa84242adf8084b1 in branch refs/heads/master from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=53a7d51 ] ACCUMULO-2004 Check for libhadoop.so, not the a directory we think it might be in.
        Hide
        Josh Elser added a comment -

        I did end up making a change in 1.6.0 to the conditional that detects the default Hadoop2 native library location. I overlooked this nice addition to LD_LIBRARY_PATH that keeps the user from having to set it themselves in accumulo-env.sh.

        Show
        Josh Elser added a comment - I did end up making a change in 1.6.0 to the conditional that detects the default Hadoop2 native library location. I overlooked this nice addition to LD_LIBRARY_PATH that keeps the user from having to set it themselves in accumulo-env.sh.
        Hide
        ASF subversion and git services added a comment -

        Commit 53a7d518cacf2d64ccd2ab04fa84242adf8084b1 in branch refs/heads/1.4.5-SNAPSHOT from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=53a7d51 ]

        ACCUMULO-2004 Check for libhadoop.so, not the a directory we think it might be in.

        Show
        ASF subversion and git services added a comment - Commit 53a7d518cacf2d64ccd2ab04fa84242adf8084b1 in branch refs/heads/1.4.5-SNAPSHOT from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=53a7d51 ] ACCUMULO-2004 Check for libhadoop.so, not the a directory we think it might be in.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development