YARN-8201. Skip stacktrace of few exception from ClientRMService. Contributed by Bilwa S T.
This commit is contained in:
parent
914b98a713
commit
cc0310a526
|
@ -265,6 +265,10 @@ public class ClientRMService extends AbstractService implements
|
|||
conf.getInt(YarnConfiguration.RM_CLIENT_THREAD_COUNT,
|
||||
YarnConfiguration.DEFAULT_RM_CLIENT_THREAD_COUNT));
|
||||
|
||||
this.server.addTerseExceptions(ApplicationNotFoundException.class,
|
||||
ApplicationAttemptNotFoundException.class,
|
||||
ContainerNotFoundException.class);
|
||||
|
||||
// Enable service authorization?
|
||||
if (conf.getBoolean(
|
||||
CommonConfigurationKeysPublic.HADOOP_SECURITY_AUTHORIZATION,
|
||||
|
|
Loading…
Reference in New Issue