public int getHttpPort() { return webApp.port(); } }
/** * Get HTTP Port which web server listens on * * @return http port */ public int getHttpPort() { return wa.port(); }
@Override public int getHttpPort() { return webApp.port(); }
@Override public int getHttpPort() { return webApp.port(); }
@Override public int getHttpPort() { return webApp.port(); }
static String baseUrl(WebApp app) { return "http://localhost:"+ app.port() +"/"; }
static String baseUrl(WebApp app) { return "http://localhost:"+ app.port() +"/"; }
static String baseUrl(WebApp app) { return "http://localhost:"+ app.port() +"/"; }
@Override protected void serviceStart() throws Exception { if (this.rmContext.isHAEnabled()) { transitionToStandby(true); } else { transitionToActive(); } startWepApp(); if (getConfig().getBoolean(YarnConfiguration.IS_MINI_YARN_CLUSTER, false)) { int port = webApp.port(); WebAppUtils.setRMWebAppPort(conf, port); } super.serviceStart(); }
@Override protected void serviceStart() throws Exception { if (this.rmContext.isHAEnabled()) { transitionToStandby(true); } else { transitionToActive(); } startWepApp(); if (getConfig().getBoolean(YarnConfiguration.IS_MINI_YARN_CLUSTER, false)) { int port = webApp.port(); WebAppUtils.setRMWebAppPort(conf, port); } super.serviceStart(); }
Configuration config = SecurityUtils.configureWebAppSecurity(getConfig(), dag.getValue(Context.DAGContext.SSL_CONFIG)); WebApp webApp = WebApps.$for("stram", StramAppContext.class, appContext, "ws").with(config).start(new StramWebApp(this.dnmgr)); LOG.info("Started web service at port: " + webApp.port()); appMasterTrackingUrl = hostname + ":" + webApp.port(); if (ConfigUtils.isSSLEnabled(config)) { appMasterTrackingUrl = "https://" + appMasterTrackingUrl;
@Override protected void serviceStart() throws Exception { if (this.rmContext.isHAEnabled()) { transitionToStandby(false); } startWepApp(); if (getConfig().getBoolean(YarnConfiguration.IS_MINI_YARN_CLUSTER, false)) { int port = webApp.port(); WebAppUtils.setRMWebAppPort(conf, port); } super.serviceStart(); // Non HA case, start after RM services are started. if (!this.rmContext.isHAEnabled()) { transitionToActive(); } }