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

Add utility to check native library availability

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.3-alpha, 3.0.0-alpha1
    • Fix Version/s: 2.0.3-alpha
    • Component/s: native
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: