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 2014/05/28 18:29:01 UTC
[jira] [Created] (HBASE-11264) Improve VisibilityController
initialization sanity checks
Andrew Purtell created HBASE-11264:
--------------------------------------
Summary: Improve VisibilityController initialization sanity checks
Key: HBASE-11264
URL: https://issues.apache.org/jira/browse/HBASE-11264
Project: HBase
Issue Type: Improvement
Reporter: Andrew Purtell
Priority: Minor
Fix For: 0.99.0, 0.98.4
When using the AccessController and VisibilityController together, it is important that the AC is placed first in the system coprocessor list. Otherwise the VisibilityController will fail to initialize in a completely opaque way:
{noformat}
2014-05-28 15:04:34,656 ERROR [master:server-1200:60000] master.HMaster: Coprocessor postStartMaster() hook failed
org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException: Failed 1 action: hbase:acl: 1 time,
at org.apache.hadoop.hbase.client.AsyncProcess$BatchErrors.makeException(AsyncProcess.java:191)
at org.apache.hadoop.hbase.client.AsyncProcess$BatchErrors.access$500(AsyncProcess.java:175)
at org.apache.hadoop.hbase.client.AsyncProcess.getErrors(AsyncProcess.java:908)
at org.apache.hadoop.hbase.client.HTable.backgroundFlushCommits(HTable.java:984)
at org.apache.hadoop.hbase.client.HTable.flushCommits(HTable.java:1252)
at org.apache.hadoop.hbase.client.HTable.put(HTable.java:910)
at org.apache.hadoop.hbase.security.access.AccessControlLists.addUserPermission(AccessControlLists.java:176)
at org.apache.hadoop.hbase.security.access.AccessController.postCreateTable(AccessController.java:848)
at org.apache.hadoop.hbase.master.MasterCoprocessorHost.postCreateTable(MasterCoprocessorHost.java:258)
at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:1756)
at org.apache.hadoop.hbase.security.visibility.VisibilityController.postStartMaster(VisibilityController.java:231)
at org.apache.hadoop.hbase.master.MasterCoprocessorHost.postStartMaster(MasterCoprocessorHost.java:1326)
at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:948)
at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:615)
at java.lang.Thread.run(Thread.java:744)
{noformat}
When initializing the VisibilityController, test for impending failure and issue an informative message at ERROR log level.
--
This message was sent by Atlassian JIRA
(v6.2#6252)