svn merge -c 1512057 merging from trunk to branch-2 to fix HDFS-5047. Supress logging of full stack trace of quota and lease exceptions.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1512058 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
16810177c9
commit
22743ed74b
|
@ -68,6 +68,9 @@ Release 2.1.1-beta - UNRELEASED
|
||||||
HDFS-4926. Namenode webserver's page has a tooltip that is inconsistent
|
HDFS-4926. Namenode webserver's page has a tooltip that is inconsistent
|
||||||
with the datanode HTML link. (Vivek Ganesan via jing9)
|
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
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -71,6 +71,8 @@ import org.apache.hadoop.hdfs.protocol.HdfsConstants.SafeModeAction;
|
||||||
import org.apache.hadoop.hdfs.protocol.HdfsFileStatus;
|
import org.apache.hadoop.hdfs.protocol.HdfsFileStatus;
|
||||||
import org.apache.hadoop.hdfs.protocol.LocatedBlock;
|
import org.apache.hadoop.hdfs.protocol.LocatedBlock;
|
||||||
import org.apache.hadoop.hdfs.protocol.LocatedBlocks;
|
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.QuotaExceededException;
|
||||||
import org.apache.hadoop.hdfs.protocol.RecoveryInProgressException;
|
import org.apache.hadoop.hdfs.protocol.RecoveryInProgressException;
|
||||||
import org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus;
|
import org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus;
|
||||||
|
@ -303,7 +305,10 @@ class NameNodeRpcServer implements NamenodeProtocols {
|
||||||
QuotaExceededException.class,
|
QuotaExceededException.class,
|
||||||
RecoveryInProgressException.class,
|
RecoveryInProgressException.class,
|
||||||
AccessControlException.class,
|
AccessControlException.class,
|
||||||
InvalidToken.class);
|
InvalidToken.class,
|
||||||
|
LeaseExpiredException.class,
|
||||||
|
NSQuotaExceededException.class,
|
||||||
|
DSQuotaExceededException.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue