mirror of https://github.com/apache/druid.git
HadoopDruidIndexerJob: Correct error message when jobs fail
This commit is contained in:
parent
bec5d248f0
commit
3e3f2c2da7
|
@ -102,8 +102,6 @@ public class HadoopDruidIndexerJob implements Jobby
|
|||
}
|
||||
}
|
||||
|
||||
publishedSegments = IndexGeneratorJob.getPublishedSegments(config);
|
||||
|
||||
if (!config.isLeaveIntermediate()) {
|
||||
if (failedMessage == null || config.isCleanupOnFailure()) {
|
||||
Path workingPath = config.makeIntermediatePath();
|
||||
|
@ -121,6 +119,8 @@ public class HadoopDruidIndexerJob implements Jobby
|
|||
throw new ISE(failedMessage);
|
||||
}
|
||||
|
||||
publishedSegments = IndexGeneratorJob.getPublishedSegments(config);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue