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

Improvement of the group information refer frequency

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.0.0-alpha1
    • None
    • security
    • None

    Description

      The node (e.g. NameNode, ResourceManager) uses UGI.getGroupNames() now to get the information of the user's group who accessed it.
      In UGI.getGroupsNames(), synchronized is declared, but UGI instance by various methods each time and the node get different lock in getGroupName().

      For example, when cache time limit in userToGroupsMap of Groups expired and the node accepts many requests at the same time, each refers for group information in id command or JNI.
      To improve the refer frequency of the group information, it should change about synchronization.

      Attachments

        1. namenode-threaddump.txt
          5 kB
          Shinichi Yamashita

        Activity

          People

            Unassigned Unassigned
            sinchii Shinichi Yamashita
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: