YARN-8201. Skip stacktrace of few exception from ClientRMService. Contributed by Bilwa S T.

This commit is contained in:
bibinchundatt 2018-05-10 09:15:46 +05:30
parent 914b98a713
commit cc0310a526
1 changed files with 4 additions and 0 deletions

View File

@ -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,