Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7874

native libs should be under lib/native/ dir

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.1
    • Fix Version/s: 0.23.2
    • Component/s: build
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      Currently common and hdfs SO files end up under lib/ dir with all JARs, they should end up under lib/native.

      In addition, the hadoop-config.sh script needs some cleanup when comes to native lib handling:

      • it is using lib/native/${JAVA_PLATFORM} for the java.library.path, when it should use lib/native.
      • it is looking for build/lib/native, this is from the old ant build, not applicable anymore.
      • it is looking for the libhdfs.a and adding to the java.librar.path, this is not correct.

        Attachments

        1. HADOOP-7874.patch
          2 kB
          Alejandro Abdelnur

          Issue Links

            Activity

              People

              • Assignee:
                tucu00 Alejandro Abdelnur
                Reporter:
                tucu00 Alejandro Abdelnur
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: