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/trunk@1214098 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2011-12-14 08:13:55 +00:00
parent ec4971a280
commit b9238e3bad
2 changed files with 4 additions and 1 deletions

View File

@ -218,6 +218,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

@ -218,7 +218,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;
}
if (state == State.IN_SEGMENT) {