@Override protected void serviceStop() throws Exception { if(proxyServer != null) { try { proxyServer.stop(); } catch (Exception e) { LOG.error("Error stopping proxy web server", e); throw new YarnRuntimeException("Error stopping proxy web server",e); } } if(this.fetcher != null) { this.fetcher.stop(); } super.serviceStop(); }
@Override protected void serviceStop() throws Exception { if(proxyServer != null) { try { proxyServer.stop(); } catch (Exception e) { LOG.error("Error stopping proxy web server", e); throw new YarnRuntimeException("Error stopping proxy web server",e); } } if(this.fetcher != null) { this.fetcher.stop(); } super.serviceStop(); }
@Override protected void serviceStop() throws Exception { if(proxyServer != null) { try { proxyServer.stop(); } catch (Exception e) { LOG.error("Error stopping proxy web server", e); throw new YarnRuntimeException("Error stopping proxy web server",e); } } if(this.fetcher != null) { this.fetcher.stop(); } super.serviceStop(); }
@Override protected void serviceStop() throws Exception { if(proxyServer != null) { try { proxyServer.stop(); } catch (Exception e) { LOG.error("Error stopping proxy web server", e); throw new YarnRuntimeException("Error stopping proxy web server",e); } } if(this.fetcher != null) { this.fetcher.stop(); } super.serviceStop(); }
@Override protected void serviceStop() throws Exception { if (webApp != null) { webApp.stop(); } if (fetcher != null) { fetcher.stop(); } if (configurationProvider != null) { configurationProvider.close(); } super.serviceStop(); transitionToStandby(false); rmContext.setHAServiceState(HAServiceState.STOPPING); }
@Override protected void serviceStop() throws Exception { if (webApp != null) { webApp.stop(); } if (fetcher != null) { fetcher.stop(); } if (configurationProvider != null) { configurationProvider.close(); } super.serviceStop(); transitionToStandby(false); rmContext.setHAServiceState(HAServiceState.STOPPING); }
@Override protected void serviceStop() throws Exception { if (webApp != null) { webApp.stop(); } if (fetcher != null) { fetcher.stop(); } if (configurationProvider != null) { configurationProvider.close(); } super.serviceStop(); if (zkManager != null) { zkManager.close(); } transitionToStandby(false); rmContext.setHAServiceState(HAServiceState.STOPPING); }