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

checknative should display a nicer error message when openssl support is not compiled in

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.7.0
    • Component/s: build, native
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      checknative should display a nicer error message when openssl support is not compiled in. Currently, it displays this:

      [cmccabe@keter hadoop]$ hadoop checknative
      14/12/12 14:08:43 INFO bzip2.Bzip2Factory: Successfully loaded & initialized native-bzip2 library system-native
      14/12/12 14:08:43 INFO zlib.ZlibFactory: Successfully loaded & initialized native-zlib library
      Native library checking:
      hadoop:  true /usr/lib/hadoop/lib/native/libhadoop.so.1.0.0
      zlib:    true /lib64/libz.so.1
      snappy:  true /usr/lib64/libsnappy.so.1
      lz4:     true revision:99
      bzip2:   true /lib64/libbz2.so.1
      openssl: false org.apache.hadoop.crypto.OpensslCipher.initIDs()V
      

      Instead, we should display something like this, if openssl is not supported by the current build:

      openssl: false Hadoop was built without openssl support.
      

        Attachments

        1. HDFS-7520.001.patch
          1 kB
          Anu Engineer

          Activity

            People

            • Assignee:
              aengineer Anu Engineer
              Reporter:
              cmccabe Colin McCabe
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: