From 04a024b683cdaac8723fee5d606bc6da939e2fb9 Mon Sep 17 00:00:00 2001 From: Arpit Agarwal Date: Wed, 16 Nov 2016 14:47:34 -0800 Subject: [PATCH] HDFS-11147. Remove confusing log output in FsDatasetImpl#getInitialVolumeFailureInfos. Contributed by Chen Liang. --- .../hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java index 69831f45cb0..954d6ef7b69 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java @@ -364,14 +364,12 @@ class FsDatasetImpl implements FsDatasetSpi { Set failedLocationSet = Sets.newHashSetWithExpectedSize( dataLocations.size()); for (StorageLocation sl: dataLocations) { - LOG.info("Adding to failedLocationSet " + sl); failedLocationSet.add(sl); } for (Iterator it = storage.dirIterator(); it.hasNext(); ) { Storage.StorageDirectory sd = it.next(); failedLocationSet.remove(sd.getStorageLocation()); - LOG.info("Removing from failedLocationSet " + sd.getStorageLocation()); } List volumeFailureInfos = Lists.newArrayListWithCapacity( failedLocationSet.size());