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

libhadoop.so: dlopen should be better at locating libsnappy.so, etc.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.3-alpha
    • build
    • None
    • Reviewed

    Description

      libhadoop calls dlopen to load libsnappy.so and libz.so. These libraries can be bundled in the $HADOOP_ROOT/lib/native directory. For example, the -Dbundle.snappy build option copies libsnappy.so to this directory. However, snappy can't be loaded from this directory unless LD_LIBRARY_PATH is set to include this directory.

      Can we make this configuration "just work" without needing to rely on LD_LIBRARY_PATH?

      Attachments

        1. rpathtest2.tar.gz
          9 kB
          Colin McCabe
        2. rpathtest.tar.gz
          1 kB
          Andy Isaacson
        3. HADOOP-8806.003.patch
          1 kB
          Colin McCabe

        Issue Links

          Activity

            People

              cmccabe Colin McCabe
              cmccabe Colin McCabe
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: