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

Gary Helmling commented on HBASE-7814:
--------------------------------------

bq. IS_SECURE_HADOOP is set only when we can call the isSecurityEnabled() 
method (it is not security enabled, but rather whether we are using a Hadoop 
version which has security API). My understanding is that if underlying hadoop 
does not support security, we will default to using HadoopUser.

Yes, the User class was added to abstract out the UserGroupInformation API 
changes between 0.20.x Hadoop (pre-security) and 0.20.203+ (with security).  It 
should be used in cases like this.
                
> Port HBASE-6963 'unable to run hbck on a secure cluster' to 0.94
> ----------------------------------------------------------------
>
>                 Key: HBASE-7814
>                 URL: https://issues.apache.org/jira/browse/HBASE-7814
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>             Fix For: 0.94.6
>
>         Attachments: 7814-v2.txt, 7814-v3.txt, 7814-v4.txt, 
> HBASE-7814-v0.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to