hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12366) Add login code to HBase Canary tool.
Date Thu, 06 Nov 2014 21:11:34 GMT

    [ 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)

Mime
View raw message