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

Improve Openssl library finding

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.6.0
    • security
    • None
    • Reviewed

    Description

      When we compile Openssl 1.0.0(x) or 1.0.1(x) using default options, there will be libcrypto.so.1.0.0 in output lib dir, so we expect this version suffix in cmake build file

      SET(STORED_CMAKE_FIND_LIBRARY_SUFFIXES CMAKE_FIND_LIBRARY_SUFFIXES)
      set_find_shared_library_version("1.0.0")
      SET(OPENSSL_NAME "crypto")
      ....
      

      If we don't bundle the crypto shared library in Hadoop distribution, then Hadoop will try to find crypto library in system path when running.
      But in real linux distribution, there may be no libcrypto.so.1.0.0 or libcrypto.so even the system embedded openssl is 1.0.1(x). Then we need to make symbolic link.

      This JIRA is to improve the Openssl library finding.

      Attachments

        1. HADOOP-11216.005.patch
          8 kB
          Colin McCabe
        2. HADOOP-11216.004.patch
          7 kB
          Colin McCabe
        3. HADOOP-11216.003.patch
          6 kB
          Colin McCabe

        Issue Links

          Activity

            People

              cmccabe Colin McCabe
              hitliuyi Yi Liu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: