Apache9 commented on a change in pull request #3851:
URL: https://github.com/apache/hbase/pull/3851#discussion_r769314742



##########
File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/storefiletracker/StoreFileTrackerFactory.java
##########
@@ -92,7 +92,7 @@ static String getStoreFileTrackerName(Class<? extends 
StoreFileTracker> clazz) {
     return name != null ? name.name() : clazz.getName();
   }
 
-  private static Class<? extends StoreFileTracker> 
getTrackerClass(Configuration conf) {
+  public static Class<? extends StoreFileTracker> 
getTrackerClass(Configuration conf) {

Review comment:
       We need to load at least the implementation classes so we need to use 
some internal methods in StoreFileTrackerFactory. Anyway, not a blocker here, 
maybe we could introduce a special SFTChecker class, put it in the same package 
with SFTFactory, so we do not need to make these methods public while do not 
need to put the check methods in SFTFactory.




-- 
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]


Reply via email to