Please take a look at the following JIRA: HBASE-12366 Add login code to HBase Canary tool
Cheers On Mon, Jul 27, 2015 at 1:05 PM, Rose, Joseph < [email protected]> wrote: > Folks, > > I feel like I’m missing something basic, here. I’m trying to do a > privileged action using the VisibilityClient. That class is leaning on > UserGroupInformation, from Hadoop, and it’s picking up the user who’s > currently logged into the shell, not the Kerberos service principal that > should be used for these sorts of actions. I’ve been banging my head > against this code and can’t find the missing piece in the docs. > > I’m trying to pick up the application’s service principal from a keytab, > since I don’t want to have to run kinit before starting the application in > the production environment. Besides, keytabs hold service principals. > > Can you point me to the docs that explain how to set this up? Or do you > have any pointers yourself? I’m using version 0.98.12 > > Thanks! > > > -j > >
