Re: user_permission output

2017-07-25 Thread Lars George
OK, found that no parameter is treated as asking for the ACLs table. Maybe the 
shell command should say so? Just a minor nit though, there are bigger tofu 
blocks to fry. 

Sent from my iPhone

> On 21. Jul 2017, at 13:33, Lars George  wrote:
> 
> 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


user_permission output

2017-07-21 Thread Lars George
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