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] [Commented] (HBASE-7910) Dont use reflection for security
Date Sat, 19 Jul 2014 00:10:38 GMT

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

Andrew Purtell commented on HBASE-7910:
---------------------------------------

+1

Let's see what HadooQA says for a build against Hadoop 2. 

Tested with 0.98 and -Dhadoop.profile=1.0.

Compile:
{noformat}
$ mvn -DskipTests -Dhadoop.profile=1.0 clean install
[...]
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 54.032 s
[INFO] Finished at: 2014-07-18T16:55:59-08:00
[INFO] Final Memory: 94M/768M
{noformat}

Unit tests:
{noformat}
$ mvn test -Dhadoop.profile=1.0 -Dtest=...
Running org.apache.hadoop.hbase.security.TestUsersOperationsWithSecureHadoop
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.803 sec
Running org.apache.hadoop.hbase.security.TestSecureRPC
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.423 sec
Running org.apache.hadoop.hbase.security.TestUser
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.191 sec
Running org.apache.hadoop.hbase.security.TestHBaseSaslRpcClient
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.055 sec
Running org.apache.hadoop.hbase.security.token.TestZKSecretWatcher
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.176 sec
Running org.apache.hadoop.hbase.security.token.TestTokenAuthentication
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.786 sec
Running org.apache.hadoop.hbase.security.access.TestCellACLWithMultipleVersions
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.298 sec
Running org.apache.hadoop.hbase.security.access.TestTablePermissions
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.905 sec
Running org.apache.hadoop.hbase.security.access.TestAccessControlFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.284 sec
Running org.apache.hadoop.hbase.security.access.TestAccessController
Tests run: 43, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 129.83 sec
Running org.apache.hadoop.hbase.security.access.TestScanEarlyTermination
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.179 sec
Running org.apache.hadoop.hbase.security.access.TestCellACLs
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.835 sec
Running org.apache.hadoop.hbase.security.access.TestZKPermissionsWatcher
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.838 sec
Running org.apache.hadoop.hbase.security.access.TestNamespaceCommands
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.764 sec
Running org.apache.hadoop.hbase.security.visibility.TestEnforcingScanLabelGenerator
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.303 sec
Running org.apache.hadoop.hbase.security.visibility.TestExpressionParser
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.496 sec
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithACL
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.295 sec
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDistributedLogReplay
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.425 sec
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabels
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.431 sec
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsOpWithDifferentUsersNoACL
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.943 sec
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDeletes
Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 83.408 sec
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithSLGStack
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.407 sec
Running org.apache.hadoop.hbase.security.visibility.TestExpressionExpander
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.531 sec
{noformat}


> 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.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