|
|
-
Re: When I use secure hbase client create table, throws accessDeniedException 'user is null'Andrew Purtell 2012-08-21, 16:33
What version of HBase?
You have this in your client and configurations? <property> <name>hbase.rpc.engine</name> <value>org.apache.hadoop.hbase.ipc.SecureRpcEngine</value> </property> <property> <name>hadoop.security.authentication</name> <value>kerberos</value> </property> <property> <name>hbase.security.authentication</name> <value>kerberos</value> </property> Because "user null" usually means you haven't configured use of the SecureRpcEngine. An example working secure configuration: https://github.com/apurtell/tm-ec2-demo On Tue, Aug 21, 2012 at 4:43 AM, Pan,Jinyu <[EMAIL PROTECTED]> wrote: > When I use access secure hbase, the client throws AccessDeniedException > 'Insufficient permissions for user 'null' (global, action=CREATE)' > > Why? How to avoid it? > > -- Best regards, - Andy Problems worthy of attack prove their worth by hitting back. - Piet Hein (via Tom White) |