Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2826

User-Group mappings not updated by RM when a user is removed from a group.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.6.0
    • None
    • None
    • Reviewed

    Description

      Removing a user from a group isn't reflected in getGroups even after a refresh. The following sequence fails in step 7.

      1) add test_user to a machine with group1
      2) add test_user to group2 on the machine
      3) yarn rmadmin -refreshUserToGroupsMappings (expected to refresh user to group mappings)
      4) yarn rmadmin -getGroups test_user (and ensure that user is in group2)
      5) remove user from group2 on the machine
      6) yarn rmadmin -refreshUserToGroupsMappings (expected to refresh user to group mappings)
      7) yarn rmadmin -getGroups test_user (and ensure that user NOT in group2)

      Attachments

        1. YARN-2826-1.patch
          2 kB
          Wangda Tan

        Issue Links

          Activity

            People

              leftnoteasy Wangda Tan
              sidharta-s Sidharta Seethana
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: