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

          Binglin Chang created issue -
          Binglin Chang made changes -
          Field Original Value New Value
          Status Open [ 1 ] Patch Available [ 10002 ]
          Binglin Chang made changes -
          Attachment HADOOP-9162.patch [ 12561917 ]
          Binglin Chang made changes -
          Affects Version/s 3.0.0 [ 12320357 ]
          Affects Version/s 2.0.3-alpha [ 12323273 ]
          Target Version/s 2.0.3-alpha [ 12323273 ]
          Component/s native [ 12312070 ]
          Binglin Chang made changes -
          Attachment HADOOP-9162.v2.patch [ 12562050 ]
          Binglin Chang made changes -
          Attachment HADOOP-9162.v3.patch [ 12562104 ]
          Binglin Chang made changes -
          Target Version/s 2.0.3-alpha [ 12323273 ] 3.0.0, 2.0.3-alpha [ 12320357, 12323273 ]
          Binglin Chang made changes -
          Attachment HADOOP-9162.v4.patch [ 12562192 ]
          Suresh Srinivas made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Target Version/s 3.0.0, 2.0.3-alpha [ 12320357, 12323273 ] 2.0.3-alpha [ 12323273 ]
          Fix Version/s 2.0.3-alpha [ 12323273 ]
          Resolution Fixed [ 1 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Chris Nauroth made changes -
          Link This issue is related to HADOOP-9831 [ HADOOP-9831 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development