diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java index eda92be12c627..e67a4fa7d6183 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java @@ -2395,7 +2395,8 @@ private SnapshotDiffReport getSnapshotDiffReportInternal( } catch (RpcNoSuchMethodException e) { // In case the server doesn't support getSnapshotDiffReportListing, // fallback to getSnapshotDiffReport. - LOG.warn("Falling back to getSnapshotDiffReport {}", e.getMessage()); + DFSClient.LOG.warn( + "Falling back to getSnapshotDiffReport {}", e.getMessage()); return dfs.getSnapshotDiffReport(snapshotDir, fromSnapshot, toSnapshot); } startPath = report.getLastPath();