[ 
https://issues.apache.org/jira/browse/HBASE-6314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Himanshu Vashishtha updated HBASE-6314:
---------------------------------------

    Attachment: 6314-v1.patch

Throwing a runtime exception requires minimal changes. Attached is a patch to 
do so. In case when there is no credentials (user didn't do a kinit, we throw a 
runtime exception to avoid the re-trying logic kicking in)
                
> In secure hbase, we should have a fail fast behavoir for unauthenticated user
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-6314
>                 URL: https://issues.apache.org/jira/browse/HBASE-6314
>             Project: HBase
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Himanshu Vashishtha
>            Priority: Minor
>         Attachments: 6314-v1.patch
>
>
> In case of unauthenticated users in secure hbase, hbase shell does a 
> connection retry at two levels:
> a) HConnection: It retries hbase.client.retries.number times in the 
> getMaster()
> b) HBaseAdmin: it again retries hbase.client.retries.number times in its ctr
> So, hbase shell retries square number of times of the configured setting. We 
> can make it failfast (no retries) in case the user is not authenticated (no 
> valid kerberos credentials).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to