HDFS-2675. Reduce warning verbosity when double-closing edit logs. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1214096 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2011-12-14 08:13:01 +00:00
parent b3dc6a9b92
commit 377c62a873
2 changed files with 4 additions and 1 deletions

View File

@ -55,6 +55,9 @@ Release 0.23.1 - UNRELEASED
HDFS-2654. Make BlockReaderLocal not extend RemoteBlockReader2. (eli)
HDFS-2675. Reduce warning verbosity when double-closing edit logs
(todd)
OPTIMIZATIONS
HDFS-2130. Switch default checksum to CRC32C. (todd)

View File

@ -166,7 +166,7 @@ public class FSEditLog {
*/
synchronized void close() {
if (state == State.CLOSED) {
LOG.warn("Closing log when already closed", new Exception());
LOG.debug("Closing log when already closed");
return;
}