hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhang...@apache.org
Subject hbase git commit: HBASE-15536 Make AsyncFSWAL as our default WAL
Date Fri, 15 Dec 2017 12:46:05 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 018a65b94 -> 11e82de8a


HBASE-15536 Make AsyncFSWAL as our default WAL

Signed-off-by: zhangduo <zhangduo@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/11e82de8
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/11e82de8
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/11e82de8

Branch: refs/heads/master
Commit: 11e82de8a1d782be85a776ec08e8cd6a071185bf
Parents: 018a65b
Author: Michael Stack <stack@apache.org>
Authored: Fri Dec 15 20:45:29 2017 +0800
Committer: zhangduo <zhangduo@apache.org>
Committed: Fri Dec 15 20:45:29 2017 +0800

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java  | 2 +-
 .../src/main/java/org/apache/hadoop/hbase/wal/WALFactory.java      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/11e82de8/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java
index 08b2765..f8355e0 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java
@@ -146,7 +146,7 @@ public class AsyncFSWAL extends AbstractFSWAL<AsyncWriter> {
 
   public static final String ASYNC_WAL_USE_SHARED_EVENT_LOOP =
     "hbase.wal.async.use-shared-event-loop";
-  public static final boolean DEFAULT_ASYNC_WAL_USE_SHARED_EVENT_LOOP = true;
+  public static final boolean DEFAULT_ASYNC_WAL_USE_SHARED_EVENT_LOOP = false;
 
   private final EventLoopGroup eventLoopGroup;
 

http://git-wip-us.apache.org/repos/asf/hbase/blob/11e82de8/hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALFactory.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALFactory.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALFactory.java
index efb8e2d..5855419 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALFactory.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALFactory.java
@@ -73,7 +73,7 @@ public class WALFactory implements WALFileLengthProvider {
    * Maps between configuration names for providers and implementation classes.
    */
   static enum Providers {
-    defaultProvider(FSHLogProvider.class),
+    defaultProvider(AsyncFSWALProvider.class),
     filesystem(FSHLogProvider.class),
     multiwal(RegionGroupingProvider.class),
     asyncfs(AsyncFSWALProvider.class);


Mime
View raw message