Hadoop Common
  1. Hadoop Common
  2. HADOOP-9162

Add utility to check native library availability

    Details

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

      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:
              Binglin Chang
              Reporter:
              Binglin Chang
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development