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

native libs should be under lib/native/ dir

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.1
    • 0.23.2
    • build
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: