mirror of https://github.com/apache/druid.git
1) Fix NPE in DeterminePartitionsJob when it fails
This commit is contained in:
parent
ec2b906fad
commit
9ac5eeebb3
|
@ -146,7 +146,7 @@ public class DeterminePartitionsJob implements Jobby
|
||||||
log.info("Job %s submitted, status available at: %s", groupByJob.getJobName(), groupByJob.getTrackingURL());
|
log.info("Job %s submitted, status available at: %s", groupByJob.getJobName(), groupByJob.getTrackingURL());
|
||||||
|
|
||||||
if(!groupByJob.waitForCompletion(true)) {
|
if(!groupByJob.waitForCompletion(true)) {
|
||||||
log.error("Job failed: %s", groupByJob.getJobID().toString());
|
log.error("Job failed: %s", groupByJob.getJobID());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue