Apache9 commented on a change in pull request #1437: HBASE-24055 Make
AsyncFSWAL can run on EC cluster
URL: https://github.com/apache/hbase/pull/1437#discussion_r404489295
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/io/asyncfs/FanOutOneBlockAsyncDFSOutputHelper.java
##########
@@ -272,6 +272,15 @@ private static FileCreator createFileCreator() throws
NoSuchMethodException {
return createFileCreator2();
}
+ private static CreateFlag loadShouldReplicateFlag() {
+ try {
+ return CreateFlag.valueOf("SHOULD_REPLICATE");
+ } catch (IllegalArgumentException e) {
+ LOG.debug("can not find SHOULD_REPLICATE flag, should be hadoop 2.x", e);
Review comment:
Only once when loading.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services