hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10161) [AccessController] Tolerate regions in recovery
Date Fri, 20 Dec 2013 17:02:15 GMT

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

Andrew Purtell commented on HBASE-10161:
----------------------------------------

One question. This part:
{code}
Index: hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessControlLists.java
===================================================================
--- hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessControlLists.java
(revision 1552489)
+++ hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessControlLists.java
(working copy)
@@ -116,6 +116,8 @@
             Compression.Algorithm.NONE.getName(), true, true, 8 * 1024,
             HConstants.FOREVER, BloomType.NONE.toString(),
             HConstants.REPLICATION_SCOPE_LOCAL));
+    ACL_TABLEDESC.setValue(Bytes.toBytes(HConstants.DISALLOW_WRITES_IN_RECOVERING),
+        Bytes.toBytes(true));
   }
{code}

For future use? 

> [AccessController] Tolerate regions in recovery
> -----------------------------------------------
>
>                 Key: HBASE-10161
>                 URL: https://issues.apache.org/jira/browse/HBASE-10161
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.96.0
>            Reporter: Andrew Purtell
>            Assignee: Anoop Sam John
>            Priority: Blocker
>             Fix For: 0.98.0, 0.96.2, 0.99.0
>
>         Attachments: HBASE-10161.patch, HBASE-10161_V2.patch
>
>
> AccessController fixes for the issue also affecting VisibilityController described on
HBASE-10148. Coprocessors that initialize in postOpen upcalls must check if the region is
still in recovery and defer initialization until recovery is complete. We need to add a new
CP hook for post recovery upcalls and modify existing CPs to defer initialization until this
new hook as needed.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message