You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2013/07/01 23:29:20 UTC

[jira] [Comment Edited] (HBASE-8799) TestAccessController#testBulkLoad failing on trunk/0.95

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

Andrew Purtell edited comment on HBASE-8799 at 7/1/13 9:28 PM:
---------------------------------------------------------------

Yes, the root cause of this issue happened at local test time and lies between the seat and keyboard. 

Bulk load is a bit different between 0.94 and 0.95+. For 0.95+, attached patch changes the privs of USER_CREATE to be more like what I think we'd see in real life and tests if USER_CREATE can do a bulk load. Once we distinguish between users that can write to a table versus those that can examine schema, bulk load falls into both areas as a special case so user perms needed for that are W+C.
                
      was (Author: apurtell):
    Yes, the root cause of this issue happened at local test time and lies between the seat and keyboard. 

Bulk load is a bit different between 0.94 and 0.95+. For 0.95+, attached patch changes the privs of USER_CREATE to be more like what I think we'd see in real life and tests if USER_CREATE can do a bulk load. Once we distinguish between users that can write to a table versus those that can examine schema, bulk load falls into both areas as a special case so user perms needed for that are RWC.
                  
> TestAccessController#testBulkLoad failing on trunk/0.95
> -------------------------------------------------------
>
>                 Key: HBASE-8799
>                 URL: https://issues.apache.org/jira/browse/HBASE-8799
>             Project: HBase
>          Issue Type: Bug
>          Components: Coprocessors, security, test
>    Affects Versions: 0.98.0, 0.95.2
>            Reporter: Andrew Purtell
>            Assignee: stack
>             Fix For: 0.95.2
>
>         Attachments: 8799disableFailingTest.txt, 8799.patch, 8799.txt
>
>
> I've observed this in Jenkins reports and also while I was working on HBASE-8692, only on trunk/0.95, not on 0.94:
> {quote}
> Failed tests:   testBulkLoad(org.apache.hadoop.hbase.security.access.TestAccessController): Expected action to pass for user 'rwuser' but was denied
> {quote}

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