From 76057aab6288ee1baf2094135ad542e216c59459 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Fri, 15 Dec 2017 20:45:29 +0800 Subject: [PATCH] HBASE-15536 Make AsyncFSWAL as our default WAL Signed-off-by: zhangduo --- .../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(-) 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 08b27651da7..f8355e0e870 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 { 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; 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 efb8e2d0346..5855419683a 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);