Dag.Node node = Dag.Node.fromJson(json);
Set<String> parentIds = node.getParentIds();
ResourceId resourceId = message.getResourceId();
int numPartitions = node.getNumPartitions();
Task task =
_taskFactory.createTask(resourceId.stringify(), parentIds, manager, _taskResultStore);
manager.addExternalViewChangeListener(task);
LOG.debug("Starting task for " + _partition + "...");
int partitionNum = Integer.parseInt(_partition.split("_")[1]);
task.execute(resourceId.stringify(), numPartitions, partitionNum);