HDFS-5047. Supress logging of full stack trace of quota and lease exceptions. Contributed by Robert Parker.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1512057 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f702e1c8e5
commit
81f9786ae6
|
@ -291,6 +291,9 @@ Release 2.1.1-beta - UNRELEASED
|
|||
HDFS-4926. Namenode webserver's page has a tooltip that is inconsistent
|
||||
with the datanode HTML link. (Vivek Ganesan via jing9)
|
||||
|
||||
HDFS-5047. Supress logging of full stack trace of quota and lease
|
||||
exceptions. (Robert Parker via kihwal)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
BUG FIXES
|
||||
|
|
|
@ -70,6 +70,8 @@ import org.apache.hadoop.hdfs.protocol.HdfsConstants.SafeModeAction;
|
|||
import org.apache.hadoop.hdfs.protocol.HdfsFileStatus;
|
||||
import org.apache.hadoop.hdfs.protocol.LocatedBlock;
|
||||
import org.apache.hadoop.hdfs.protocol.LocatedBlocks;
|
||||
import org.apache.hadoop.hdfs.protocol.DSQuotaExceededException;
|
||||
import org.apache.hadoop.hdfs.protocol.NSQuotaExceededException;
|
||||
import org.apache.hadoop.hdfs.protocol.QuotaExceededException;
|
||||
import org.apache.hadoop.hdfs.protocol.RecoveryInProgressException;
|
||||
import org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus;
|
||||
|
@ -307,7 +309,10 @@ class NameNodeRpcServer implements NamenodeProtocols {
|
|||
QuotaExceededException.class,
|
||||
RecoveryInProgressException.class,
|
||||
AccessControlException.class,
|
||||
InvalidToken.class);
|
||||
InvalidToken.class,
|
||||
LeaseExpiredException.class,
|
||||
NSQuotaExceededException.class,
|
||||
DSQuotaExceededException.class);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue