You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/11/06 22:11:34 UTC

[jira] [Commented] (HBASE-12366) Add login code to HBase Canary tool.

    [ https://issues.apache.org/jira/browse/HBASE-12366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14200938#comment-14200938 ] 

Andrew Purtell commented on HBASE-12366:
----------------------------------------

{code}
    final UserGroupInformation ugi = User.getCurrent().getUGI();
{code}

Use the instantiated UserProvider to getCurrent(). 

Otherwise, lgtm, that nit and a trunk patch and we're good to go. 

> Add login code to HBase Canary tool.
> ------------------------------------
>
>                 Key: HBASE-12366
>                 URL: https://issues.apache.org/jira/browse/HBASE-12366
>             Project: HBase
>          Issue Type: Bug
>          Components: security
>            Reporter: Srikanth Srungarapu
>            Assignee: Srikanth Srungarapu
>            Priority: Minor
>         Attachments: HBASE-12366_0.98.patch
>
>
> Currently, HBase canary tool doesn't have provision for renewing Kerberos ticket. So, if it is left running for sufficiently long periods, it would error out with the following exception messages. 
> {code}
> 2014-09-22 14:20:18,781 WARN org.apache.hadoop.security.UserGroupInformation: PriviledgedActionException as:hbase (auth:KERBEROS) cause:javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
> 2014-09-22 14:20:18,783 WARN org.apache.hadoop.ipc.RpcClient: Exception encountered while connecting to the server : javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
> 2014-09-22 14:20:18,783 FATAL org.apache.hadoop.ipc.RpcClient: SASL authentication failed. The most likely cause is missing or invalid credentials. Consider 'kinit'.
> javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)] 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)