Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-14057

HBase shell user_permission should list super users defined on hbase-site.xml

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.1
    • 0.98.14, 1.3.0, 2.0.0
    • shell
    • None
    • Reviewed

    Description

      On HBase Shell, user_permission command without specifying any user lists all users granted global permissions (grant 'user', 'RWXCA'):

      hbase(main):008:0* user_permission
      User                                                   Namespace,Table,Family,Qualifier:Permission                                                                                                                  
       @hbase-admin                                          hbase,hbase:acl,,: [Permission: actions=READ,WRITE,EXEC,CREATE,ADMIN]                                                                                        
      1 row(s) in 3.1710 seconds
      

      Users defined as super users on hbase-site.xml configuration file are not listed by this same command, even though a super user has the same permissions/privileges as those defined through "grant 'user', 'RWXCA' command on the shell:

      <property>
          <name>hbase.superuser</name>
          <value>hbase-user</value>
      </property>
      

      Attachments

        1. HBASE-14057-branch-1.patch
          10 kB
          Srikanth Srungarapu
        2. HBASE-14057.patch
          9 kB
          Srikanth Srungarapu

        Activity

          People

            srikanth235 Srikanth Srungarapu
            wchevreuil Wellington Chevreuil
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: