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

Add utility to check native library availability

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.3-alpha, 3.0.0-alpha1
    • 2.0.3-alpha
    • native
    • None

    Description

      Many times, after deploy hadoop or when trouble shooting, we need to check whether native library(along with native compression libraries) can work properly, and I just want to use one command to check that, like this:

      hadoop org.apache.hadoop.util.NativeCodeLoader

      and it shows:

      Native library loading test:
      hadoop: false
      zlib: false
      snappy: false
      lz4: false

      Attachments

        1. HADOOP-9162.patch
          2 kB
          Binglin Chang
        2. HADOOP-9162.v2.patch
          4 kB
          Binglin Chang
        3. HADOOP-9162.v3.patch
          6 kB
          Binglin Chang
        4. HADOOP-9162.v4.patch
          7 kB
          Binglin Chang

        Issue Links

          Activity

            People

              decster Binglin Chang
              decster Binglin Chang
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: