Examples of AHSWebApp


Examples of org.apache.hadoop.yarn.server.applicationhistoryservice.webapp.AHSWebApp

      }
    }
    String bindAddress = WebAppUtils.getAHSWebAppURLWithoutScheme(conf);
    LOG.info("Instantiating AHSWebApp at " + bindAddress);
    try {
      AHSWebApp ahsWebApp = AHSWebApp.getInstance();
      ahsWebApp.setApplicationHistoryManager(historyManager);
      ahsWebApp.setTimelineStore(timelineStore);
      ahsWebApp.setTimelineDelegationTokenSecretManagerService(secretManagerService);
      ahsWebApp.setTimelineACLsManager(timelineACLsManager);
      webApp =
          WebApps
            .$for("applicationhistory", ApplicationHistoryClientService.class,
                ahsClientService, "ws")
            .with(conf).at(bindAddress).start(ahsWebApp);
View Full Code Here

Examples of org.apache.hadoop.yarn.server.applicationhistoryservice.webapp.AHSWebApp

            .withHttpSpnegoPrincipalKey(
              YarnConfiguration.TIMELINE_SERVICE_WEBAPP_SPNEGO_USER_NAME_KEY)
            .withHttpSpnegoKeytabKey(
              YarnConfiguration.TIMELINE_SERVICE_WEBAPP_SPNEGO_KEYTAB_FILE_KEY)
            .at(bindAddress)
            .start(new AHSWebApp(historyManager, timelineStore));
    } catch (Exception e) {
      String msg = "AHSWebApp failed to start.";
      LOG.error(msg, e);
      throw new YarnRuntimeException(msg, e);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.