You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2014/12/22 23:29:13 UTC

[jira] [Created] (HBASE-12746) [1.0.0RC0] Distributed Log Replay is on (HBASE-12577 was insufficient)

stack created HBASE-12746:
-----------------------------

             Summary: [1.0.0RC0] Distributed Log Replay is on (HBASE-12577 was insufficient)
                 Key: HBASE-12746
                 URL: https://issues.apache.org/jira/browse/HBASE-12746
             Project: HBase
          Issue Type: Bug
          Components: wal
    Affects Versions: 1.0.0
            Reporter: stack
            Assignee: stack
            Priority: Critical


Testing the 1.0.0RC0 candidate, I noticed DLR was on (because I was bumping into HBASE-12743)  I thought it my environment but apparently not.

If I add this to HMaster....

diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
index a85c2e7..d745f94 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
@@ -416,6 +416,10 @@ public class HMaster extends HRegionServer implements MasterServices, Server {
       throw new IOException("Failed to start redirecting jetty server", e);
     }
     masterInfoPort = connector.getPort();
+     boolean dlr =
+     conf.getBoolean(HConstants.DISTRIBUTED_LOG_REPLAY_KEY,
+      HConstants.DEFAULT_DISTRIBUTED_LOG_REPLAY_CONFIG);
+      LOG.info("Distributed log replay=" + dlr);
   }

It says DLR is on.  HBASE-12577 was not enough it seems.  The hbase-default.xml still has DLR as true.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)