Skip to content

Commit 65ccb96

Browse files
committed
change compile issue
1 parent 279e2bd commit 65ccb96

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/StorageNotChosenReason.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,20 @@ public static void start(){
4646
debugLoggingBuilder.get().setLength(0);
4747
}
4848

49+
public static void logStorageIsNotChooseForReplication(DatanodeStorageInfo storage,
50+
StorageNotChosenReason reason) {
51+
if(LOG.isDebugEnabled()){
52+
genStorageIsNotChooseForReplication(storage, reason, null);
53+
}
54+
}
55+
4956
public static void logStorageIsNotChooseForReplication(DatanodeStorageInfo storage,
5057
StorageNotChosenReason reason, String reasonDetails) {
5158
if(LOG.isDebugEnabled()){
5259
genStorageIsNotChooseForReplication(storage, reason, reasonDetails);
5360
}
5461
}
5562

56-
5763
@VisibleForTesting
5864
static void genStorageIsNotChooseForReplication(DatanodeStorageInfo storage,
5965
StorageNotChosenReason reason, String reasonDetails){

0 commit comments

Comments
 (0)