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:23 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-2 a2dbb4228 -> 76057aab6


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/76057aab
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/76057aab
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/76057aab

Branch: refs/heads/branch-2
Commit: 76057aab6288ee1baf2094135ad542e216c59459
Parents: a2dbb42
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:46 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/76057aab/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/76057aab/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