|
@@ -257,6 +257,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,
|