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. HDFS-4640.002.patch
        32 kB
        Colin Patrick McCabe
      2. HADOOP-9439.008.patch
        36 kB
        Chris Nauroth
      3. HADOOP-9439.007.patch
        34 kB
        Colin Patrick McCabe
      4. HADOOP-9439.006.patch
        34 kB
        Colin Patrick McCabe
      5. HADOOP-9439.005.patch
        34 kB
        Colin Patrick McCabe
      6. HADOOP-9439.003.patch
        37 kB
        Colin Patrick McCabe
      7. HADOOP-9439.001.patch
        35 kB
        Colin Patrick McCabe

        Issue Links

          Activity

          Colin Patrick McCabe created issue -
          Colin Patrick McCabe made changes -
          Field Original Value New Value
          Attachment HDFS-4640.001.patch [ 12575604 ]
          Colin Patrick McCabe made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Colin Patrick McCabe made changes -
          Attachment HDFS-4640.002.patch [ 12575606 ]
          Colin Patrick McCabe made changes -
          Attachment HDFS-4640.001.patch [ 12575604 ]
          Aaron T. Myers made changes -
          Affects Version/s 2.0.4-alpha [ 12324136 ]
          Affects Version/s 2.0.5-beta [ 12324031 ]
          Target Version/s 2.0.5-beta [ 12324031 ]
          Colin Patrick McCabe made changes -
          Project Hadoop HDFS [ 12310942 ] Hadoop Common [ 12310240 ]
          Key HDFS-4640 HADOOP-9439
          Affects Version/s 2.0.4-alpha [ 12324135 ]
          Affects Version/s 2.0.4-alpha [ 12324136 ]
          Target Version/s 2.0.5-beta [ 12324031 ]
          Component/s native [ 12312070 ]
          Component/s security [ 12313400 ]
          Colin Patrick McCabe made changes -
          Attachment HADOOP-9439.001.patch [ 12575742 ]
          Chris Nauroth made changes -
          Link This issue is related to HADOOP-9312 [ HADOOP-9312 ]
          Colin Patrick McCabe made changes -
          Attachment HADOOP-9439.003.patch [ 12583352 ]
          Colin Patrick McCabe made changes -
          Attachment HADOOP-9439.005.patch [ 12586769 ]
          Colin Patrick McCabe made changes -
          Attachment HADOOP-9439.006.patch [ 12588505 ]
          Colin Patrick McCabe made changes -
          Attachment HADOOP-9439.007.patch [ 12588656 ]
          Chris Nauroth made changes -
          Attachment HADOOP-9439.008.patch [ 12588669 ]
          Colin Patrick McCabe made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Harsh J made changes -
          Fix Version/s 3.0.0 [ 12320357 ]
          Fix Version/s 2.1.0-beta [ 12324030 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Allen Wittenauer made changes -
          Fix Version/s 3.0.0 [ 12320357 ]

            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