Hadoop Common
  1. Hadoop Common
  2. HADOOP-9439

JniBasedUnixGroupsMapping: fix some crash bugs

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.4-alpha
    • Fix Version/s: 2.1.0-beta
    • Component/s: native
    • Labels:
      None

      Description

      JniBasedUnixGroupsMapping has some issues.

      • sometimes on error paths variables are freed prior to being initialized
      • re-allocate buffers less frequently (can reuse the same buffer for multiple calls to getgrnam)
      • allow non-reentrant functions to be used, to work around client bugs
      • don't throw IOException from JNI functions if the JNI functions do not declare this checked exception.
      • don't bail out if only one group name among all the ones associated with a user can't be looked up.
      1. HADOOP-9439.008.patch
        36 kB
        Chris Nauroth
      2. HADOOP-9439.007.patch
        34 kB
        Colin Patrick McCabe
      3. HADOOP-9439.006.patch
        34 kB
        Colin Patrick McCabe
      4. HADOOP-9439.005.patch
        34 kB
        Colin Patrick McCabe
      5. HADOOP-9439.003.patch
        37 kB
        Colin Patrick McCabe
      6. HADOOP-9439.001.patch
        35 kB
        Colin Patrick McCabe
      7. HDFS-4640.002.patch
        32 kB
        Colin Patrick McCabe

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Colin Patrick McCabe
              Reporter:
              Colin Patrick McCabe
            • Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development