[
https://issues.apache.org/jira/browse/HBASE-7910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13605335#comment-13605335
]
Gary Helmling commented on HBASE-7910:
--------------------------------------
[~asanjar] This issue does not imply any changes to {{UserGroupInformation}},
nor could it. That is a Hadoop class and would be a Hadoop issue.
HBase has its own {{User}} class as a wrapper around {{UserGroupInformation}}.
This class uses reflection to ride over backwards incompatible API changes to
{{UserGroupInformation}} between pre-secure Hadoop and secure Hadoop. Since
HBase 0.95 requires a version of Hadoop already supporting security, we can
eliminate reflection in the {{User}} class that was previously used to check
for the API changes.
> Dont use reflection for security
> --------------------------------
>
> Key: HBASE-7910
> URL: https://issues.apache.org/jira/browse/HBASE-7910
> Project: HBase
> Issue Type: Improvement
> Reporter: Enis Soztutar
> Assignee: Enis Soztutar
> Fix For: 0.95.0
>
>
> security.User class uses reflection so that HBase can work with older
> Hadoop's not having security. Now that we require 1.x, or 0.23 or 2.x, all
> Hadoop versions have security code. We can get rid of most of the User class.
--
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