Package backtype.storm.generated

Examples of backtype.storm.generated.ClusterSummary


      // generate SupervisorSummaries
      List<SupervisorSummary> supervisorSummaries = NimbusUtils
          .mkSupervisorSummaries(supervisorInfos, assignments);

      ClusterSummary ret = new ClusterSummary(supervisorSummaries, uptime,
          topologySummaries);
      // set cluster version
      ret.set_version(NimbusUtils.getNimbusVersion());
     
      return ret;

    } catch (TException e) {
      LOG.info("Failed to get ClusterSummary ", e);
View Full Code Here


        TopologyInfo info = client.getClient().getTopologyInfo(topologyId);
       
        System.out.println("Successfully get topology info \n"
            + info.toString());
      }else {
        ClusterSummary clusterSummary = client.getClient().getClusterInfo();
       

        System.out.println("Successfully get cluster info \n"
            + clusterSummary.toString());
      }

     
    } catch (Exception e) {
      System.out.println(e.getMessage());
View Full Code Here

TOP

Related Classes of backtype.storm.generated.ClusterSummary

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.