[
https://issues.apache.org/jira/browse/HBASE-12366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Srikanth Srungarapu updated HBASE-12366:
----------------------------------------
Attachment: HBASE-12366_0.98.patch
Attaching the patch. Tested on kerberos cluster.
> 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)