Skip to content

Commit

Permalink
HBASE-28749 Remove the duplicate configurations named hbase.wal.batch…
Browse files Browse the repository at this point in the history
….size (apache#6111)

Signed-off-by: Pankaj <[email protected]>
Signed-off-by: Duo Zhang <[email protected]>
  • Loading branch information
ddupg authored Jul 23, 2024
1 parent 743e8d6 commit 1315871
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,6 @@ public class AsyncFSWAL extends AbstractFSWAL<AsyncWriter> {

private static final Logger LOG = LoggerFactory.getLogger(AsyncFSWAL.class);

public static final String WAL_BATCH_SIZE = "hbase.wal.batch.size";
public static final long DEFAULT_WAL_BATCH_SIZE = 64L * 1024;

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 = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public static void setUp() throws Exception {
Configuration conf = UTIL.getConfiguration();
conf.setClass(AsyncFSWALProvider.WRITER_IMPL, TestAsyncWriter.class, AsyncWriter.class);
// set a very small size so we will reach the batch size when writing out a single edit
conf.setLong(AsyncFSWAL.WAL_BATCH_SIZE, 1);
conf.setLong(AbstractFSWAL.WAL_BATCH_SIZE, 1);

TN = TableName.valueOf("test");
RI = RegionInfoBuilder.newBuilder(TN).build();
Expand Down

0 comments on commit 1315871

Please sign in to comment.