Package backtype.storm.generated

Examples of backtype.storm.generated.ExecutorSummary


        // print more about each task
        final Iterator<ExecutorSummary> execIter = topologyInfo.get_executors_iterator();
        boolean globalFailed = false;
        while (execIter.hasNext()) {
          final ExecutorSummary execSummary = execIter.next();
          final String componentId = execSummary.get_component_id();
          sb.append("component_id:").append(componentId).append(", ");
          final ExecutorInfo execInfo = execSummary.get_executor_info();
          final int taskStart = execInfo.get_task_start();
          final int taskEnd = execInfo.get_task_end();
          sb.append("task_id(s) for this executor:").append(taskStart).append("-")
              .append(taskEnd).append(", ");
          final String host = execSummary.get_host();
          sb.append("host:").append(host).append(", ");
          final int port = execSummary.get_port();
          sb.append("port:").append(port).append(", ");
          final int uptime = execSummary.get_uptime_secs();
          sb.append("uptime:").append(uptime).append("\n");
          sb.append("\n");

          // printing failing statistics, if there are failed tuples
          final ExecutorStats es = execSummary.get_stats();
          if (es == null)
            sb.append("No info about failed tuples\n");
          else {
            final ExecutorSpecificStats stats = es.get_specific();
            boolean isEmpty;
View Full Code Here


                //print more about each task
                Iterator<ExecutorSummary> execIter = topologyInfo.get_executors_iterator();
                boolean globalFailed = false;
                while(execIter.hasNext()){
                    ExecutorSummary execSummary = execIter.next();
                    String componentId = execSummary.get_component_id();
                    sb.append("component_id:").append(componentId).append(", ");
                    ExecutorInfo execInfo = execSummary.get_executor_info();
                    int taskStart = execInfo.get_task_start();
                    int taskEnd = execInfo.get_task_end();
                    sb.append("task_id(s) for this executor:").append(taskStart).append("-").append(taskEnd).append(", ");
                    String host = execSummary.get_host();
                    sb.append("host:").append(host).append(", ");
                    int port = execSummary.get_port();
                    sb.append("port:").append(port).append(", ");
                    int uptime = execSummary.get_uptime_secs();
                    sb.append("uptime:").append(uptime).append("\n");
                    sb.append("\n");
                   
                    //printing failing statistics, if there are failed tuples
                    ExecutorStats es = execSummary.get_stats();
            if(es == null){
              sb.append("No info about failed tuples\n");
            }else{
              ExecutorSpecificStats stats = es.get_specific();
              boolean isEmpty;
View Full Code Here

                       
        //more about each executor/task
        Iterator<ExecutorSummary> execIter = topologyInfo.get_executors_iterator();             
        sb.append("\n\n").append("Raw data:\n");
        while(execIter.hasNext()){
            ExecutorSummary execSummary = execIter.next();                                   
            String componentId = execSummary.get_component_id();
                   
            ExecutorSpecificStats stats = execSummary.get_stats().get_specific();
            if(stats.is_set_spout()){
                //ACKED_TUPLES
                //Map<TimeWindow, <Stream, NumTuplesAcked>>,
                //  TimeWindow takes one of the following: ":all-time", "600" (10mins), "10800" (3h), "86400" (1d)
                Map<String, Map<String, Long>> ackedMap = getNumTuplesSpout(execSummary, withAckers);
View Full Code Here

                       
        //more about each executor/task
        Iterator<ExecutorSummary> execIter = topologyInfo.get_executors_iterator();             
        sb.append("\n\n").append("BOLT LATENCIES:\n");
        while(execIter.hasNext()){
            ExecutorSummary execSummary = execIter.next();                                   
            String componentId = execSummary.get_component_id();
                   
            ExecutorSpecificStats stats = execSummary.get_stats().get_specific();
            if(stats.is_set_bolt()){
                //EXECUTED_TUPLES
                //Map<TimeWindow, <GlobalStreamId, NumTuplesExecuted>>,
                //  TimeWindow takes one of the following: ":all-time", "600" (10mins), "10800" (3h), "86400" (1d)
                //LATENCIES
View Full Code Here

TOP

Related Classes of backtype.storm.generated.ExecutorSummary

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.