hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hema Kumar Sunapu <hemakumar.sunn...@gmail.com>
Subject Problem in Running Pig on Secure Hadoop cluster
Date Thu, 26 Feb 2015 12:54:08 GMT

Scenario: Read data from hbase table and store as csv in hdfs.

Problem: I have hdfs and hbase secured with kerberos. Both secured with
different keytab files and with different user name.
If I do *kinit* with hdfs keytab its launching mappers and but not able to
read from hbase table.
Error:  Insufficient permissions for user 'hdfs user' for scanner open on
table 'tableX'

If I do kinit with hbase keytab and run the scpipt. Its not even launching
Error: You don't have permission to perform the operation. Error from the
server: Permission denied: user=hbaseuser, access=EXECUTE,

Possible solution can be: If I give permission to /user folder in hdfs and
kinit with Hbase and run the pig script. It may work (I'm not sure).  I
don't want do this.

HBaseStorage class checks for kerbros credentioals. if hasKerberosCredentials
passing it to Job to execute properly. This one failing in my case.

Is there any possibility to login to hbase from pig  using

Is there any other possible solution?

-Hema Kumar

View raw message