Github user kishoreg commented on a diff in the pull request: https://github.com/apache/helix/pull/41#discussion_r52489589 --- Diff: helix-core/src/main/java/org/apache/helix/task/JobRebalancer.java --- @@ -206,9 +205,23 @@ private ResourceAssignment computeResourceMapping(String jobResource, TaskAssignmentCalculator taskAssignmentCal = getAssignmentCalulator(jobCfg); Set<Integer> allPartitions = taskAssignmentCal.getAllTaskPartitions(jobCfg, jobCtx, workflowConfig, workflowCtx, cache); + + if (allPartitions == null || allPartitions.isEmpty()) { + // Empty target partitions, mark the job as FAILED. + LOG.info( + "Missing task partition mapping for job " + jobResource + ", marked the job as FAILED!"); --- End diff -- should this be warn
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---