Hi, Please take a look at the patch added as part of HBASE-12366 <https://issues.apache.org/jira/browse/HBASE-12366>. There will be a new AuthUtil. launchAuthChore() which should help in your case. And also, the documentation patch is here HBASE-12528 <https://issues.apache.org/jira/browse/HBASE-12528> just in case. Hope this helps. Thanks, Srikanth.
On Tue, Dec 9, 2014 at 10:11 PM, AnandaVelMurugan Chandra Mohan < [email protected]> wrote: > Hi All, > > My Hbase admin has set up kerberos authentication in our cluster. Now all > the HBase Java client API calls hang indefinitely. > I could scan/get in HBase shell, but when I do the same through the java > api,it hangs in the scan statement. > > This is code which was working earlier, but not now. Earlier I was running > this code outside of the cluster without any impersonation. > > Configuration config = HBaseConfiguration.create(); > HTable table = new HTable(config, "Assets"); > Scan Scan = new Scan(); > ResultScanner results = table.getScanner(Scan); > > Do I need to impersonate as any super user to make this work now? How do I > pass the kerberos credentials? Any pointers would be greatly appreciated. > -- > Regards, > Anand >
