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:
parent
ec4971a280
commit
b9238e3bad
|
@ -218,6 +218,9 @@ Release 0.23.1 - UNRELEASED
|
||||||
|
|
||||||
HDFS-2654. Make BlockReaderLocal not extend RemoteBlockReader2. (eli)
|
HDFS-2654. Make BlockReaderLocal not extend RemoteBlockReader2. (eli)
|
||||||
|
|
||||||
|
HDFS-2675. Reduce warning verbosity when double-closing edit logs
|
||||||
|
(todd)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HDFS-2130. Switch default checksum to CRC32C. (todd)
|
HDFS-2130. Switch default checksum to CRC32C. (todd)
|
||||||
|
|
|
@ -218,7 +218,7 @@ public class FSEditLog {
|
||||||
*/
|
*/
|
||||||
synchronized void close() {
|
synchronized void close() {
|
||||||
if (state == State.CLOSED) {
|
if (state == State.CLOSED) {
|
||||||
LOG.warn("Closing log when already closed", new Exception());
|
LOG.debug("Closing log when already closed");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (state == State.IN_SEGMENT) {
|
if (state == State.IN_SEGMENT) {
|
||||||
|
|
Loading…
Reference in New Issue