[ https://issues.apache.org/jira/browse/HBASE-17672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15879665#comment-15879665 ]
Zheng Hu commented on HBASE-17672: ---------------------------------- Upload patch v2 , [~ted_yu] The original purpose of the UT: 1. grant permission like W action. 2. assert action exists; 3. grant other permissions like RXCA. 4. assert that whether RXCA will override previous actions. (after HBASE-17472, assert merge behavior) The original test use table owner for testing, so we can skip step.1 because RWXCA are granted for owner, but now we use a new created user (test_grant_revoke_user), so we must grant some actions (we choose WRITE) first for step.1 . > "Grant should set access rights appropriately" test fails > --------------------------------------------------------- > > Key: HBASE-17672 > URL: https://issues.apache.org/jira/browse/HBASE-17672 > Project: HBase > Issue Type: Test > Affects Versions: 2.0.0 > Reporter: Ted Yu > Assignee: Zheng Hu > Fix For: 2.0.0 > > Attachments: HBASE-17672.patch, HBASE-17672.v1.patch, > HBASE-17672.v2.patch > > > The following test failure is reproducible after HBASE-17472 went in: > {code} > 1) Failure: > test_Grant_should_set_access_rights_appropriately(Hbase::SecureAdminMethodsTest) > [./src/test/ruby/hbase/security_admin_test.rb:66:in > `test_Grant_should_set_access_rights_appropriately' > /Users/tyu/trunk/hbase-shell/src/main/ruby/hbase/security.rb:154:in > `user_permission' > > file:/Users/tyu/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/builtin/java/java.util.rb:7:in > `each' > /Users/tyu/trunk/hbase-shell/src/main/ruby/hbase/security.rb:136:in > `user_permission' > ./src/test/ruby/hbase/security_admin_test.rb:65:in > `test_Grant_should_set_access_rights_appropriately' > org/jruby/RubyProc.java:270:in `call' > org/jruby/RubyKernel.java:2105:in `send' > org/jruby/RubyArray.java:1620:in `each' > org/jruby/RubyArray.java:1620:in `each']: > {code} > [~openinx]: > Can you take a look ? -- This message was sent by Atlassian JIRA (v6.3.15#6346)