hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-7910) Dont use reflection for security
Date Sun, 20 Jul 2014 16:14:39 GMT

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

Andrew Purtell updated HBASE-7910:
----------------------------------

    Attachment: HBASE-7910-0.94.patch

In http://hbase.apache.org/book.html#basic.prerequisites, the 0.94 entries for Hadoop <
1.0.3 are 'X' in the supported Hadoop version matrix. We can remove reflection for secure
0.94 as well. Attached a patch for 0.94 that is the 0.98 version of User.java after Mike's
changes are applied. Compilation using both Hadoop 1 and 2 profiles succeeds. Security unit
tests pass locally. Sources in security/ are unconditionally included in 0.94 builds these
days, we'd have compilation issues for ancient Hadoop versions there anyway. Ping [~lhofhansl]

Ping [~stack] for 0.96, change could go in there too.

Will commit to 0.94+ if I get an ack for that version. 0.98+ otherwise.

> 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: Mike Drob
>              Labels: noob
>         Attachments: HBASE-7910-0.94.patch, HBASE-7910.patch.txt
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message