Hadoop Common
  1. Hadoop Common
  2. HADOOP-8611

Allow fall-back to the shell-based implementation when JNI-based users-group mapping fails

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.3, 0.23.0, 2.0.0-alpha
    • Fix Version/s: 1.2.0, 0.23.3, 2.0.2-alpha
    • Component/s: security
    • Labels:
      None

      Description

      When the JNI-based users-group mapping is enabled, the process/command will fail if the native library, libhadoop.so, cannot be found. This mostly happens at client-side where users may use hadoop programatically. Instead of failing, falling back to the shell-based implementation will be desirable. Depending on how cluster is configured, use of the native netgroup mapping cannot be subsituted by the shell-based default. For this reason, this behavior must be configurable with the default being "disabled".

      1. HADOOP-8611.patch
        9 kB
        Robert Parker
      2. HADOOP-8611.patch
        9 kB
        Robert Parker
      3. HADOOP-8611.patch
        7 kB
        Robert Parker
      4. HADOOP-8611-branch1.patch
        9 kB
        Robert Parker
      5. HADOOP-8611-branch1.patch
        9 kB
        Robert Parker

        Activity

        Kihwal Lee created issue -
        Robert Parker made changes -
        Field Original Value New Value
        Assignee Kihwal Lee [ kihwal ] Robert Parker [ robsparker ]
        Robert Parker made changes -
        Attachment HADOOP-8611.patch [ 12541046 ]
        Robert Parker made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Target Version/s 0.23.3, 2.1.0-alpha [ 12320059, 12321441 ]
        Robert Parker made changes -
        Attachment HADOOP-8611.patch [ 12541230 ]
        Robert Parker made changes -
        Attachment HADOOP-8611-branch1.patch [ 12541277 ]
        Robert Parker made changes -
        Attachment HADOOP-8611-branch1.patch [ 12541643 ]
        Robert Parker made changes -
        Attachment HADOOP-8611.patch [ 12541645 ]
        Robert Joseph Evans made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 1.2.0 [ 12321659 ]
        Fix Version/s 2.1.0-alpha [ 12321441 ]
        Fix Version/s 1.1.1 [ 12321658 ]
        Resolution Fixed [ 1 ]
        Arun C Murthy made changes -
        Fix Version/s 3.0.0 [ 12320357 ]
        Fix Version/s 2.1.0-alpha [ 12321441 ]
        Fix Version/s 1.2.0 [ 12321659 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Matt Foley made changes -
        Fix Version/s 1.2.0 [ 12321659 ]

          People

          • Assignee:
            Robert Parker
            Reporter:
            Kihwal Lee
          • Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development