HDFS-6069. Quash stack traces when ACLs are disabled. Contributed by Chris Nauroth.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1575184 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris Nauroth 2014-03-07 06:06:12 +00:00
parent 12711177d3
commit b55c1aab7b
2 changed files with 5 additions and 1 deletions

View File

@ -866,6 +866,8 @@ Release 2.4.0 - UNRELEASED
HDFS-6063. TestAclCLI fails intermittently when running test 24: HDFS-6063. TestAclCLI fails intermittently when running test 24:
copyFromLocal. (cnauroth) copyFromLocal. (cnauroth)
HDFS-6069. Quash stack traces when ACLs are disabled. (cnauroth)
Release 2.3.1 - UNRELEASED Release 2.3.1 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -62,6 +62,7 @@ import org.apache.hadoop.ha.protocolPB.HAServiceProtocolServerSideTranslatorPB;
import org.apache.hadoop.hdfs.DFSConfigKeys; import org.apache.hadoop.hdfs.DFSConfigKeys;
import org.apache.hadoop.hdfs.DFSUtil; import org.apache.hadoop.hdfs.DFSUtil;
import org.apache.hadoop.hdfs.HDFSPolicyProvider; import org.apache.hadoop.hdfs.HDFSPolicyProvider;
import org.apache.hadoop.hdfs.protocol.AclException;
import org.apache.hadoop.hdfs.protocol.AlreadyBeingCreatedException; import org.apache.hadoop.hdfs.protocol.AlreadyBeingCreatedException;
import org.apache.hadoop.hdfs.protocol.BlockListAsLongs; import org.apache.hadoop.hdfs.protocol.BlockListAsLongs;
import org.apache.hadoop.hdfs.protocol.CacheDirectiveEntry; import org.apache.hadoop.hdfs.protocol.CacheDirectiveEntry;
@ -356,7 +357,8 @@ class NameNodeRpcServer implements NamenodeProtocols {
InvalidToken.class, InvalidToken.class,
LeaseExpiredException.class, LeaseExpiredException.class,
NSQuotaExceededException.class, NSQuotaExceededException.class,
DSQuotaExceededException.class); DSQuotaExceededException.class,
AclException.class);
} }
/** Allow access to the client RPC server for testing */ /** Allow access to the client RPC server for testing */