stoty commented on code in PR #6342:
URL: https://github.com/apache/hbase/pull/6342#discussion_r1804136707
##########
hbase-asyncfs/src/main/java/org/apache/hadoop/hbase/util/RecoverLeaseFSUtils.java:
##########
@@ -39,6 +41,36 @@ public final class RecoverLeaseFSUtils {
private static final Logger LOG =
LoggerFactory.getLogger(RecoverLeaseFSUtils.class);
+ private static Class<?> leaseRecoverableClazz = null;
+ private static Method recoverLeaseMethod = null;
+ public static final String LEASE_RECOVERABLE_CLASS_NAME =
"org.apache.hadoop.fs.LeaseRecoverable";
+ static {
+ LOG.debug("RecoverLeaseFSUtils loaded");
Review Comment:
Having this log message before the actual initialization is misleading.
Is there a specific reason for this ordering ?
Alternatively change the message to "initializing RecoverLeaseFSUtils"
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]