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

Josh Elser commented on HBASE-17852:
------------------------------------

{noformat}
+    String coproc = conf.get(CoprocessorHost.REGION_COPROCESSOR_CONF_KEY);
+    String regionObserverClass = BackupObserver.class.getName();
+    conf.set(CoprocessorHost.REGION_COPROCESSOR_CONF_KEY, (coproc == null ? "" 
: coproc + ",") +
+        regionObserverClass);
{noformat}

Maybe {{coproc == null || coproc.isEmpty()}} instead? I'm thinking about the 
case when coproc is the empty string.

> Add Fault tolerance to HBASE-14417 (Support bulk loaded files in incremental 
> backup)
> ------------------------------------------------------------------------------------
>
>                 Key: HBASE-17852
>                 URL: https://issues.apache.org/jira/browse/HBASE-17852
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Vladimir Rodionov
>            Assignee: Vladimir Rodionov
>             Fix For: 2.0.0
>
>         Attachments: HBASE-17852-v1.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to