hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11452) add userPermission feature in AccessControlClient as client API
Date Fri, 04 Jul 2014 06:54:34 GMT

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

Hadoop QA commented on HBASE-11452:
-----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12654042/HBASE-11452-master-v2.patch
  against trunk revision .
  ATTACHMENT ID: 12654042

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 3 new or modified
tests.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 javadoc{color}.  The javadoc tool did not generate any warning messages.

    {color:red}-1 findbugs{color}.  The patch appears to introduce 4 new Findbugs (version
1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 lineLengths{color}.  The patch does not introduce lines longer than 100

  {color:green}+1 site{color}.  The mvn site goal succeeds with this patch.

     {color:red}-1 core tests{color}.  The patch failed these unit tests:
                       org.apache.hadoop.hbase.regionserver.wal.TestLogRolling

     {color:red}-1 core zombie tests{color}.  There are 1 zombie test(s): 	at org.apache.hadoop.hbase.regionserver.TestHRegion.testWritesWhileGetting(TestHRegion.java:3500)

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/9967//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9967//artifact/patchprocess/newPatchFindbugsWarningshbase-examples.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9967//artifact/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9967//artifact/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9967//artifact/patchprocess/newPatchFindbugsWarningshbase-thrift.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9967//artifact/patchprocess/newPatchFindbugsWarningshbase-server.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9967//artifact/patchprocess/newPatchFindbugsWarningshbase-client.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9967//artifact/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9967//artifact/patchprocess/newPatchFindbugsWarningshbase-common.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9967//artifact/patchprocess/newPatchFindbugsWarningshbase-protocol.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/9967//console

This message is automatically generated.

> add userPermission feature in AccessControlClient as client API 
> ----------------------------------------------------------------
>
>                 Key: HBASE-11452
>                 URL: https://issues.apache.org/jira/browse/HBASE-11452
>             Project: HBase
>          Issue Type: Improvement
>          Components: Client, security
>    Affects Versions: 0.98.0
>            Reporter: Demai Ni
>            Assignee: Demai Ni
>             Fix For: 0.99.0, 0.98.4, 2.0.0
>
>         Attachments: HBASE-11452-master-v0.patch, HBASE-11452-master-v1.patch, HBASE-11452-master-v1.patch,
HBASE-11452-master-v2.patch
>
>
> Currently user can 'grant','revoke' and show 'user_permission' through hbase shell. And
there are client api implemented in AccessControlClient.java for 'grant' and 'revoke'. This
jira is to add the 'user_permission' feature. 
> To keep interface consistant, this jira will also update user_permission.rb to use this
API directly. The test result is 
> {code}
> hbase(main):001:0> user_permission
> User                                                Table,Family,Qualifier:Permission
                                                                                         
                           
>  hbase                                              dn:t1,,: [Permission: actions=READ,WRITE,EXEC,CREATE,ADMIN]
                                                                                         
 
>  biadmin                                            etest,,: [Permission: actions=READ,WRITE,EXEC,CREATE,ADMIN]
                                                                                         
 
>  hive                                               t1_dn,,: [Permission: actions=READ,WRITE]
                                                                                         
                   
>  biadmin                                            table1,,: [Permission: actions=READ,WRITE,EXEC,CREATE,ADMIN]
                                                                                         

>  biadmin                                            table2,,: [Permission: actions=READ,WRITE,EXEC,CREATE,ADMIN]
                                                                                         

>  biadmin                                            test_dn,,: [Permission: actions=READ,WRITE,EXEC,CREATE,ADMIN]
                                                                                         
> 6 row(s) in 1.6220 seconds
> hbase(main):002:0> user_permission 't.*'
> User                                                Table,Family,Qualifier:Permission
                                                                                         
                           
>  hive                                               t1_dn,,: [Permission: actions=READ,WRITE]
                                                                                         
                   
>  biadmin                                            table1,,: [Permission: actions=READ,WRITE,EXEC,CREATE,ADMIN]
                                                                                         

>  biadmin                                            table2,,: [Permission: actions=READ,WRITE,EXEC,CREATE,ADMIN]
                                                                                         

>  biadmin                                            test_dn,,: [Permission: actions=READ,WRITE,EXEC,CREATE,ADMIN]
                                                                                         
> 4 row(s) in 0.2130 seconds
> hbase(main):003:0> user_permission 'dn:t1'
> User                                                Table,Family,Qualifier:Permission
                                                                                         
                           
>  hbase                                              dn:t1,,: [Permission: actions=READ,WRITE,EXEC,CREATE,ADMIN]
                                                                                         
 
> 1 row(s) in 0.0790 seconds
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message