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

Improve Openssl library finding on RedHat system

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.7.2
    • None
    • None
    • None

    Description

      The issue is related to https://issues.apache.org/jira/browse/HADOOP-11216.

      In the BUILDING.txt it's specified "Use -Drequire.openssl to fail the build if libcrypto.so is not found".

      On RedHat system (Fedora/Centos/...) the /usr/lib64/libcrypto.so is a link provided by openssl-devel RPM package which is fine on a build/development host, but devel packages are not supposed to be installed on Production servers (Hadoop Cluster) and the openssl RPM package don't include that link which is a problem.

      1. hadoop checknative -a
        ...
        openssl: false Cannot load libcrypto.so (libcrypto.so: cannot open shared object file: No such file or directory)!

      There's only /usr/lib64/libcrypto.so.10 but no /usr/lib64/libcrypto.so

      Also trying to compile with "-Drequire.openssl -Dopenssl.lib=/usr/lib64/libcrypto.so.10" failed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sbarrier Sebastien Barrier
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: