[
https://issues.apache.org/jira/browse/HBASE-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13208098#comment-13208098
]
Enis Soztutar commented on HBASE-5371:
--------------------------------------
test results:
{code}
...
Running org.apache.hadoop.hbase.security.access.TestAccessControlFilter
2012-02-14 14:14:34.390 java[67005:1903] Unable to load realm info from
SCDynamicStore
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.002 sec
Running org.apache.hadoop.hbase.security.access.TestAccessController
2012-02-14 14:15:06.963 java[67014:1903] Unable to load realm info from
SCDynamicStore
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 50.355 sec
Running org.apache.hadoop.hbase.security.access.TestTablePermissions
2012-02-14 14:15:58.028 java[67023:1903] Unable to load realm info from
SCDynamicStore
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.739 sec
Running org.apache.hadoop.hbase.security.access.TestZKPermissionsWatcher
2012-02-14 14:16:35.517 java[67032:1903] Unable to load realm info from
SCDynamicStore
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.579 sec
Running org.apache.hadoop.hbase.security.TestUser
2012-02-14 14:17:00.817 java[67041:1903] Unable to load realm info from
SCDynamicStore
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.445 sec
Running org.apache.hadoop.hbase.security.token.TestTokenAuthentication
2012-02-14 14:17:01.835 java[67043:1903] Unable to load realm info from
SCDynamicStore
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.099 sec
Running org.apache.hadoop.hbase.security.token.TestZKSecretWatcher
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.46 sec
...
Results :
Failed tests:
testCyclicReplication(org.apache.hadoop.hbase.replication.TestMasterReplication):
Waited too much time for put replication
testSimplePutDelete(org.apache.hadoop.hbase.replication.TestMasterReplication):
Waited too much time for put replication
testMultiSlaveReplication(org.apache.hadoop.hbase.replication.TestMultiSlaveReplication):
Waited too much time for put replication
testClientSessionExpired(org.apache.hadoop.hbase.TestZooKeeper)
testLeaderSelection(org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager):
New leader should exist
Tests in error:
testTralingGarbageCorruptionFileSkipErrorsPasses(org.apache.hadoop.hbase.regionserver.wal.TestHLogSplit):
All datanodes 127.0.0.1:58462 are bad. Aborting...
Tests run: 1429, Failures: 5, Errors: 1, Skipped: 10
{code}
All the failing tests seem to be not related to this patch. It seems they are
timing out due to running slow.
> Introduce AccessControllerProtocol.checkPermissions(Permission[] permissons)
> API
> --------------------------------------------------------------------------------
>
> Key: HBASE-5371
> URL: https://issues.apache.org/jira/browse/HBASE-5371
> Project: HBase
> Issue Type: Sub-task
> Components: security
> Affects Versions: 0.94.0, 0.92.1
> Reporter: Enis Soztutar
> Assignee: Enis Soztutar
> Attachments: HBASE-5371_v2.patch, HBASE-5371_v3.patch
>
>
> We need to introduce something like
> AccessControllerProtocol.checkPermissions(Permission[] permissions) API, so
> that clients can check access rights before carrying out the operations. We
> need this kind of operation for HCATALOG-245, which introduces authorization
> providers for hbase over hcat. We cannot use getUserPermissions() since it
> requires ADMIN permissions on the global/table level.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira