YARN-8201. Skip stacktrace of few exception from ClientRMService. Contributed by Bilwa S T.
(cherry picked from commit cc0310a526
)
This commit is contained in:
parent
e3ff9e36df
commit
b29479c93a
|
@ -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