diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 6af9e71ba47..b3357b7bba8 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -13,6 +13,9 @@ Release 2.7.2 - UNRELEASED HADOOP-5323. Trash documentation should describe its directory structure and configurations. (Weiwei Yang via ozawa) + HDFS-8099. Change "DFSInputStream has been closed already" message to + debug log level (Charles Lamb via Colin P. McCabe) + OPTIMIZATIONS HDFS-8722. Optimize datanode writes for small writes and flushes (kihwal) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java index cf8015f0493..9f7b15c096c 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java @@ -666,7 +666,7 @@ implements ByteBufferReadable, CanSetDropBehind, CanSetReadahead, @Override public synchronized void close() throws IOException { if (!closed.compareAndSet(false, true)) { - DFSClient.LOG.warn("DFSInputStream has been closed already"); + DFSClient.LOG.debug("DFSInputStream has been closed already"); return; } dfsClient.checkOpen();