HDFS-17406. Suppress UnresolvedPathException in hdfs router log (#6603)
This commit is contained in:
parent
15af52954f
commit
34bb28649c
@ -57,6 +57,7 @@
|
||||
|
||||
import org.apache.hadoop.fs.Path;
|
||||
import org.apache.hadoop.hdfs.HAUtil;
|
||||
import org.apache.hadoop.hdfs.protocol.UnresolvedPathException;
|
||||
import org.apache.hadoop.thirdparty.com.google.common.cache.CacheBuilder;
|
||||
import org.apache.hadoop.thirdparty.com.google.common.cache.CacheLoader;
|
||||
import org.apache.hadoop.thirdparty.com.google.common.cache.LoadingCache;
|
||||
@ -369,7 +370,7 @@ public RouterRpcServer(Configuration conf, Router router,
|
||||
RetriableException.class);
|
||||
|
||||
this.rpcServer.addSuppressedLoggingExceptions(
|
||||
StandbyException.class);
|
||||
StandbyException.class, UnresolvedPathException.class);
|
||||
|
||||
// The RPC-server port can be ephemeral... ensure we have the correct info
|
||||
InetSocketAddress listenAddress = this.rpcServer.getListenerAddress();
|
||||
|
Loading…
Reference in New Issue
Block a user