Hadoop Common
  1. Hadoop Common
  2. HADOOP-9232

JniBasedUnixGroupsMappingWithFallback fails on Windows with UnsatisfiedLinkError

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: trunk-win
    • Fix Version/s: trunk-win
    • Component/s: native, security
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      JniBasedUnixGroupsMapping calls native code which isn't implemented properly for Windows, causing UnsatisfiedLinkError. The fallback logic in JniBasedUnixGroupsMappingWithFallback works by checking if the native code is loaded during startup. In this case, hadoop.dll is present and loaded, but it doesn't contain the right code. There will be no attempt to fallback to ShellBasedUnixGroupsMapping.

      1. HADOOP-9232.branch-trunk-win.jnigroups.patch
        6 kB
        Ivan Mitic
      2. HADOOP-9232.branch-trunk-win.jnigroups.2.patch
        6 kB
        Ivan Mitic
      3. HADOOP-9232.branch-trunk-win.jnigroups.3.patch
        6 kB
        Ivan Mitic
      4. HADOOP-9232.patch
        6 kB
        Suresh Srinivas

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Ivan Mitic
              Reporter:
              Chris Nauroth
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development