From 26b7bc75edc7d6e99239872a0c2ddcc70514ef3c Mon Sep 17 00:00:00 2001 From: litao Date: Tue, 9 Nov 2021 16:06:28 +0800 Subject: [PATCH] HDFS-16299. Fix bug for TestDataNodeVolumeMetrics#verifyDataNodeVolumeMetrics (#3616) Reviewed-by: Inigo Goiri Reviewed-by: Ayush Saxena (cherry picked from commit cbc7fb6bcad8c959830a84521ea642cbf973ea83) --- .../hadoop/hdfs/server/datanode/TestDataNodeVolumeMetrics.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeMetrics.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeMetrics.java index 85054be630..7e026b09cc 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeMetrics.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeMetrics.java @@ -166,7 +166,7 @@ private void verifyDataNodeVolumeMetrics(final FileSystem fs, LOG.info("syncIoMean : " + metrics.getSyncIoMean()); LOG.info("syncIoStdDev : " + metrics.getSyncIoStdDev()); - LOG.info("readIoSampleCount : " + metrics.getReadIoMean()); + LOG.info("readIoSampleCount : " + metrics.getReadIoSampleCount()); LOG.info("readIoMean : " + metrics.getReadIoMean()); LOG.info("readIoStdDev : " + metrics.getReadIoStdDev());