Examples of report_task_error()


Examples of com.alibaba.jstorm.cluster.StormClusterState.report_task_error()

              String nowStr = TimeFormat.getSecond(now);
              String errorInfo = "Task-" + task + " is dead on "
                  + resource.getHostname() + ":"
                  + resource.getPort() + ", " + nowStr;
              LOG.info(errorInfo);
                clusterState.report_task_error(topologyid, task, errorInfo);
            }
            needReassign = true;
          }
        }
        if (needReassign == true) {
View Full Code Here

Examples of com.alibaba.jstorm.cluster.StormClusterState.report_task_error()

              }
             
              List<String> errors = taskMetricInfo.anyQueueFull();
              if (errors.size() > 0) {
                for (String error : errors)
                      clusterState.report_task_error(topologyId, Integer.valueOf(taskId), error);
              }
             
            clusterState.update_task_metric(topologyId, taskId, taskMetricInfo);
        } catch(Exception e) {
          logger.error(marker, "Failed to update metrics data in ZK for topo-{} task-{}.",
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.