hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12366) Add login code to HBase Canary tool.
Date Tue, 11 Nov 2014 20:53:37 GMT

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

Matteo Bertozzi commented on HBASE-12366:
-----------------------------------------

to me that launchAuthChore() looks generic enough and useful enough to move it to an helper
class in hbase-common.
As we have the TableMapReduceUtil.initCredential() for the MR jobs we should have a xyzUtil.launchAuthChore()
available for who wants to write long running app as the canary.

> 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, HBASE-12366_0.98_v2.patch, HBASE-12366_master.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