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

Adding group mapping lookup utility without dependency on HDFS namenode

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: security, tools
    • Labels:
      None

      Description

      We have hdfs groups command to troubleshoot issues related to users' group member look up with Unix/LDAP. However, there are some limitation of this command: 1) it can only be executed when namenode is running. 2) any change in the group mapping lookup configuration needs a hdfs namenode restart, which is expensive.

      This ticket is proposed to have a simple CLI utility like HadoopKerberosName

      hadoop org.apache.hadoop.security.HadoopKerberosName nn/localhost@HDPDEV.DEV.COM
      

      The CLI utility for group member lookup will have a usage like below without namenode running or restart for configuration change.

      hadoop org.apache.hadoop.security.Groups hdfs
      hdfs : [hadoop, hdfs]
      

        Attachments

        1. HADOOP-13771.00.patch
          0.8 kB
          Xiaoyu Yao

          Activity

            People

            • Assignee:
              xyao Xiaoyu Yao
              Reporter:
              xyao Xiaoyu Yao
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated: