Hadoop Common
  1. Hadoop Common
  2. HADOOP-10401

ShellBasedUnixGroupsMapping#getGroups does not always return primary group first

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.5.0
    • Component/s: util
    • Labels:
      None
    • Target Version/s:

      Description

      ShellBasedUnixGroupsMapping#getGroups does not always return the primary group first. It should do this so that clients who expect it don't get the wrong result. We should also document that the primary group is returned first in the API. Note that JniBasedUnixGroupsMapping does return the primary group first.

      1. HADOOP-10401.2.patch
        3 kB
        Akira AJISAKA
      2. HADOOP-10401.patch
        3 kB
        Akira AJISAKA

        Issue Links

          Activity

          Karthik Kambatla (Inactive) made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Colin Patrick McCabe made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Target Version/s 2.5.0 [ 12326263 ]
          Fix Version/s 2.5.0 [ 12326263 ]
          Resolution Fixed [ 1 ]
          Akira AJISAKA made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Akira AJISAKA made changes -
          Attachment HADOOP-10401.2.patch [ 12635370 ]
          Akira AJISAKA made changes -
          Attachment HADOOP-10401.patch [ 12635226 ]
          Akira AJISAKA made changes -
          Assignee Akira AJISAKA [ ajisakaa ]
          Colin Patrick McCabe made changes -
          Field Original Value New Value
          Link This issue is related to HADOOP-10087 [ HADOOP-10087 ]
          Colin Patrick McCabe created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development