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

netgroup-user is not added to Groups.cache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 3.4.0
    • None
    • 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: xyao

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

      Attachments

        Issue Links

          Activity

            People

              ahussein Ahmed Hussein
              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