-
Type:
Bug
-
Status: Resolved
-
Priority:
Trivial
-
Resolution: Duplicate
-
Affects Version/s: 2.7.1
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Target Version/s:
It's is better to catch the ApplicationNotFoundException rather than the parent YarnException and rethrow it when it's not ApplicationNotFoundExcepton
catch (YarnException e) { if (!historyServiceEnabled) { // Just throw it as usual if historyService is not enabled. throw e; } // Even if history-service is enabled, treat all exceptions still the same // except the following if (!(e.getClass() == ApplicationNotFoundException.class)) { throw e; }
- duplicates
-
YARN-3975 WebAppProxyServlet should not redirect to RM page if AHS is enabled
-
- Closed
-