Package com.cloudera.util

Examples of com.cloudera.util.StatusHttpServer


    ReportManager.get().add(vmInfo);
    ReportManager.get().add(sysInfo);

    if (doHttp) {
      String webPath = FlumeNode.getWebPath(cfg);
      this.http = new StatusHttpServer("flumeconfig", webPath, "0.0.0.0", cfg
          .getMasterHttpPort(), false);
      http.addServlet(jerseyMasterServlet(), "/master/*");
      http.start();
    }

View Full Code Here


    if (startHttp) {
      try {
        String webPath = getWebPath(conf);

        boolean findport = FlumeConfiguration.get().getNodeAutofindHttpPort();
        this.http = new StatusHttpServer("flumeagent", webPath, "0.0.0.0", conf
            .getNodeStatusPort(), findport);
        http.addServlet(jerseyNodeServlet(), "/node/*");
        http.start();
      } catch (IOException e) {
        LOG.error("Flume node failed: " + e.getMessage(), e);
View Full Code Here

    if (startHttp) {
      try {
        String webPath = getWebPath(conf);

        boolean findport = FlumeConfiguration.get().getNodeAutofindHttpPort();
        this.http = new StatusHttpServer("flumeagent", webPath, "0.0.0.0",
            conf.getNodeStatusPort(), findport);
        http.start();
      } catch (IOException e) {
        LOG.error("Flume node failed: " + e.getMessage(), e);
      } catch (Throwable t) {
View Full Code Here

    ReportManager.get().add(new FlumeVMInfo(this.uniqueMasterName + "."));
    ReportManager.get().add(new SystemInfo(this.uniqueMasterName + "."));

    if (doHttp) {
      String webPath = FlumeNode.getWebPath(cfg);
      this.http = new StatusHttpServer("flumeconfig", webPath, "0.0.0.0", cfg
          .getMasterHttpPort(), false);
      http.start();
    }

    controlServer = new MasterClientServer(this, FlumeConfiguration.get());
View Full Code Here

TOP

Related Classes of com.cloudera.util.StatusHttpServer

Copyright © 2018 www.massapicom. 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.