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

JniBasedUnixGroupsMappingWithFallback fails on Windows with UnsatisfiedLinkError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk-win
    • trunk-win
    • native, security
    • None
    • 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.

      Attachments

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

        Issue Links

          Activity

            People

              ivanmi Ivan Mitic
              cnauroth Chris Nauroth
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: