HDFS-8099. Change "DFSInputStream has been closed already" message to debug log level (Charles Lamb via Colin P. McCabe)

This commit is contained in:
Colin Patrick Mccabe 2015-04-09 10:50:44 -07:00
parent 63c659ddd0
commit 30acb7372a
2 changed files with 4 additions and 1 deletions

View File

@ -409,6 +409,9 @@ Release 2.8.0 - UNRELEASED
HDFS-8101. DFSClient use of non-constant DFSConfigKeys pulls in WebHDFS HDFS-8101. DFSClient use of non-constant DFSConfigKeys pulls in WebHDFS
classes at runtime. (Sean Busbey via atm) classes at runtime. (Sean Busbey via atm)
HDFS-8099. Change "DFSInputStream has been closed already" message to
debug log level (Charles Lamb via Colin P. McCabe)
OPTIMIZATIONS OPTIMIZATIONS
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than

View File

@ -666,7 +666,7 @@ private synchronized DatanodeInfo blockSeekTo(long target) throws IOException {
@Override @Override
public synchronized void close() throws IOException { public synchronized void close() throws IOException {
if (!closed.compareAndSet(false, true)) { if (!closed.compareAndSet(false, true)) {
DFSClient.LOG.warn("DFSInputStream has been closed already"); DFSClient.LOG.debug("DFSInputStream has been closed already");
return; return;
} }
dfsClient.checkOpen(); dfsClient.checkOpen();