[jira] [Updated] (HBASE-13246) Correct the assertion for namespace permissions in tearDown method of TestAccessController
[ https://issues.apache.org/jira/browse/HBASE-13246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-13246: --- Resolution: Fixed Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Thanks for the patch, Ashish. Correct the assertion for namespace permissions in tearDown method of TestAccessController -- Key: HBASE-13246 URL: https://issues.apache.org/jira/browse/HBASE-13246 Project: HBase Issue Type: Bug Components: security, test Affects Versions: 1.0.0 Reporter: Ashish Singhi Assignee: Ashish Singhi Priority: Minor Fix For: 2.0.0, 1.0.1, 1.1.0 Attachments: HBASE-13246-branch-1.patch, HBASE-13246.patch In *TestAcessController#tearDown* we should use {{TEST_TABLE.getNamespaceAsString()}} instead of {{TEST_TABLE.getNameAsString()}} as the assertion is for namespace. {code} assertEquals(0, AccessControlLists.getNamespacePermissions(conf, TEST_TABLE.getTableName().getNamespaceAsString()).size()); {code} Some credit goes to [~srikanth235] to indirectly point this out [here|https://issues.apache.org/jira/browse/HBASE-13241?focusedCommentId=14361995page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14361995] -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-13246) Correct the assertion for namespace permissions in tearDown method of TestAccessController
[ https://issues.apache.org/jira/browse/HBASE-13246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Singhi updated HBASE-13246: -- Attachment: HBASE-13246-branch-1.patch Correct the assertion for namespace permissions in tearDown method of TestAccessController -- Key: HBASE-13246 URL: https://issues.apache.org/jira/browse/HBASE-13246 Project: HBase Issue Type: Bug Components: security, test Affects Versions: 0.98.11 Reporter: Ashish Singhi Assignee: Ashish Singhi Priority: Minor Fix For: 2.0.0, 1.0.1, 1.1.0, 0.98.12 Attachments: HBASE-13246-branch-1.patch, HBASE-13246.patch In *TestAcessController#tearDown* we should use {{TEST_TABLE.getNamespaceAsString()}} instead of {{TEST_TABLE.getNameAsString()}} as the assertion is for namespace. {code} assertEquals(0, AccessControlLists.getNamespacePermissions(conf, TEST_TABLE.getTableName().getNamespaceAsString()).size()); {code} Some credit goes to [~srikanth235] to indirectly point this out [here|https://issues.apache.org/jira/browse/HBASE-13241?focusedCommentId=14361995page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14361995] -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-13246) Correct the assertion for namespace permissions in tearDown method of TestAccessController
[ https://issues.apache.org/jira/browse/HBASE-13246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Singhi updated HBASE-13246: -- Affects Version/s: (was: 0.98.11) 1.0.0 Fix Version/s: (was: 0.98.12) Correct the assertion for namespace permissions in tearDown method of TestAccessController -- Key: HBASE-13246 URL: https://issues.apache.org/jira/browse/HBASE-13246 Project: HBase Issue Type: Bug Components: security, test Affects Versions: 1.0.0 Reporter: Ashish Singhi Assignee: Ashish Singhi Priority: Minor Fix For: 2.0.0, 1.0.1, 1.1.0 Attachments: HBASE-13246-branch-1.patch, HBASE-13246.patch In *TestAcessController#tearDown* we should use {{TEST_TABLE.getNamespaceAsString()}} instead of {{TEST_TABLE.getNameAsString()}} as the assertion is for namespace. {code} assertEquals(0, AccessControlLists.getNamespacePermissions(conf, TEST_TABLE.getTableName().getNamespaceAsString()).size()); {code} Some credit goes to [~srikanth235] to indirectly point this out [here|https://issues.apache.org/jira/browse/HBASE-13241?focusedCommentId=14361995page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14361995] -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-13246) Correct the assertion for namespace permissions in tearDown method of TestAccessController
[ https://issues.apache.org/jira/browse/HBASE-13246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Singhi updated HBASE-13246: -- Fix Version/s: 0.98.12 1.1.0 1.0.1 2.0.0 Status: Patch Available (was: Open) Correct the assertion for namespace permissions in tearDown method of TestAccessController -- Key: HBASE-13246 URL: https://issues.apache.org/jira/browse/HBASE-13246 Project: HBase Issue Type: Bug Components: security, test Affects Versions: 0.98.11 Reporter: Ashish Singhi Assignee: Ashish Singhi Priority: Minor Fix For: 2.0.0, 1.0.1, 1.1.0, 0.98.12 Attachments: HBASE-13246.patch In *TestAcessController#tearDown* we should use {{TEST_TABLE.getNamespaceAsString()}} instead of {{TEST_TABLE.getNameAsString()}} as the assertion is for namespace. {code} assertEquals(0, AccessControlLists.getNamespacePermissions(conf, TEST_TABLE.getTableName().getNamespaceAsString()).size()); {code} Some credit goes to [~srikanth235] to indirectly point this out [here|https://issues.apache.org/jira/browse/HBASE-13241?focusedCommentId=14361995page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14361995] -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-13246) Correct the assertion for namespace permissions in tearDown method of TestAccessController
[ https://issues.apache.org/jira/browse/HBASE-13246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Singhi updated HBASE-13246: -- Attachment: HBASE-13246.patch Correct the assertion for namespace permissions in tearDown method of TestAccessController -- Key: HBASE-13246 URL: https://issues.apache.org/jira/browse/HBASE-13246 Project: HBase Issue Type: Bug Components: security, test Affects Versions: 0.98.11 Reporter: Ashish Singhi Assignee: Ashish Singhi Priority: Minor Fix For: 2.0.0, 1.0.1, 1.1.0, 0.98.12 Attachments: HBASE-13246.patch In *TestAcessController#tearDown* we should use {{TEST_TABLE.getNamespaceAsString()}} instead of {{TEST_TABLE.getNameAsString()}} as the assertion is for namespace. {code} assertEquals(0, AccessControlLists.getNamespacePermissions(conf, TEST_TABLE.getTableName().getNamespaceAsString()).size()); {code} Some credit goes to [~srikanth235] to indirectly point this out [here|https://issues.apache.org/jira/browse/HBASE-13241?focusedCommentId=14361995page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14361995] -- This message was sent by Atlassian JIRA (v6.3.4#6332)