hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars George <lars.geo...@gmail.com>
Subject user_permission output
Date Fri, 21 Jul 2017 11:33:14 GMT
Hi,

I am running the shell's "user_permission" command without any
parameter, and with a ".*" wildcard epxression and get two different
results back:

hbase(main):003:0> user_permission
User
Namespace,Table,Family,Qualifier:Permission
 hbasebook                                  hbase,hbase:acl,,:
[Permission: actions=READ,WRITE,EXEC,CREATE,ADMIN]
 hbase                                      hbase,hbase:acl,,:
[Permission: actions=READ,WRITE,EXEC,CREATE,ADMIN]
2 row(s) in 0.5110 seconds

hbase(main):005:0> user_permission ".*"
User
Namespace,Table,Family,Qualifier:Permission
 hbasebook                                  hbase,hbase:acl,,:
[Permission: actions=READ,WRITE,EXEC,CREATE,ADMIN]
 hbasebook                                  default,testtable,,:
[Permission: actions=READ,WRITE,EXEC,CREATE,ADMIN]
2 row(s) in 0.4880 seconds

See how the second row differs? What is the proper behaviour of each
command? Should it not give the same output?

Cheers,
Lars

Mime
View raw message