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

JniBasedUnixGroupsMapping: fix some crash bugs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.4-alpha
    • 2.1.0-beta
    • native
    • 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.

      Attachments

        1. HADOOP-9439.001.patch
          35 kB
          Colin McCabe
        2. HADOOP-9439.003.patch
          37 kB
          Colin McCabe
        3. HADOOP-9439.005.patch
          34 kB
          Colin McCabe
        4. HADOOP-9439.006.patch
          34 kB
          Colin McCabe
        5. HADOOP-9439.007.patch
          34 kB
          Colin McCabe
        6. HADOOP-9439.008.patch
          36 kB
          Chris Nauroth
        7. HDFS-4640.002.patch
          32 kB
          Colin McCabe

        Issue Links

          Activity

            People

              cmccabe Colin McCabe
              cmccabe Colin McCabe
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: