Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: build, native
    • Labels:
      None
    • Environment:

      Ubuntu 10.10

    • Hadoop Flags:
      Reviewed

      Description

      My Hadoop installation is having trouble loading the native code library. It appears from the log below that java.library.path is missing the basedir in its path. The libraries are built, and present in the directory shown below (relative to hadoop-common directory). Instead of seeing:

      /build/native/Linux-amd64-64/lib

      I would expect to see:

      /path/to/hadoop-common/build/native/Linux-amd64-64/lib

      I'm working in branch-0.22.

      2011-01-10 17:09:27,695 DEBUG org.apache.hadoop.util.NativeCodeLoader: Failed to load native-hadoop with error: java.lang.UnsatisfiedLinkError: no hadoop in java.library.path
      2011-01-10 17:09:27,695 DEBUG org.apache.hadoop.util.NativeCodeLoader: java.library.path=/build/native/Linux-amd64-64/lib
      2011-01-10 17:09:27,695 WARN org.apache.hadoop.util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

      1. HADOOP-7097.patch
        0.7 kB
        Noah Watkins

        Activity

        Noah Watkins created issue -
        Noah Watkins made changes -
        Field Original Value New Value
        Fix Version/s 0.23.0 [ 12315569 ]
        Fix Version/s 0.22.0 [ 12314296 ]
        Affects Version/s 0.23.0 [ 12315569 ]
        Affects Version/s 0.22.0 [ 12314296 ]
        Noah Watkins made changes -
        Attachment HADOOP-7097.patch [ 12468111 ]
        Noah Watkins made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Todd Lipcon made changes -
        Assignee Noah Watkins [ nwatkins ]
        Todd Lipcon made changes -
        Hadoop Flags [Reviewed]
        Fix Version/s 0.22.0 [ 12314296 ]
        Fix Version/s 0.23.0 [ 12315569 ]
        Affects Version/s 0.22.0 [ 12314296 ]
        Affects Version/s 0.23.0 [ 12315569 ]
        Todd Lipcon made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Konstantin Shvachko made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Noah Watkins
            Reporter:
            Noah Watkins
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development