YARN-9488. Skip YARNFeatureNotEnabledException from ClientRMService. Contributed by Prabhu Joseph
(cherry picked from commit 1845a83cec
)
This commit is contained in:
parent
a3fb032010
commit
94114378ce
|
@ -144,6 +144,7 @@ import org.apache.hadoop.yarn.exceptions.ApplicationAttemptNotFoundException;
|
|||
import org.apache.hadoop.yarn.exceptions.ApplicationNotFoundException;
|
||||
import org.apache.hadoop.yarn.exceptions.ContainerNotFoundException;
|
||||
import org.apache.hadoop.yarn.exceptions.YarnException;
|
||||
import org.apache.hadoop.yarn.exceptions.YARNFeatureNotEnabledException;
|
||||
import org.apache.hadoop.yarn.factories.RecordFactory;
|
||||
import org.apache.hadoop.yarn.factory.providers.RecordFactoryProvider;
|
||||
import org.apache.hadoop.yarn.ipc.RPCUtil;
|
||||
|
@ -268,7 +269,8 @@ public class ClientRMService extends AbstractService implements
|
|||
|
||||
this.server.addTerseExceptions(ApplicationNotFoundException.class,
|
||||
ApplicationAttemptNotFoundException.class,
|
||||
ContainerNotFoundException.class);
|
||||
ContainerNotFoundException.class,
|
||||
YARNFeatureNotEnabledException.class);
|
||||
|
||||
// Enable service authorization?
|
||||
if (conf.getBoolean(
|
||||
|
|
Loading…
Reference in New Issue