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

netgroup-user is not added to Groups.cache

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.4.0
    • Fix Version/s: None
    • Component/s: security

      Description

      After the optimization in HADOOP-17079, both JniBasedUnixGroupsNetgroupMapping and ShellBasedUnixGroupsNetgroupMapping do not implement getGroupSet.
      As a result, Groups.load() load the cache calling fetchGroupSet which yield to the superclass JniBasedUnixGroupsMapping / ShellBasedUnixGroupsMapping.
      In other words, the groups mapping will never fetch from NetgroupCache.

      This alters the behavior of the implementation. Is there a reason to bypass loading. CC: Xiaoyu Yao

      This jira is to add missing implementation getGroupSet to JniBasedUnixGroupsNetgroupMapping and ShellBasedUnixGroupsNetgroupMapping .

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ahussein Ahmed Hussein
                Reporter:
                ahussein Ahmed Hussein
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4.5h
                  4.5h