mirror of https://github.com/apache/druid.git
KafkaIndexTask remove branch with unreachable code (#5434)
This commit is contained in:
parent
b63f1c0e45
commit
f948066710
|
@ -856,9 +856,6 @@ public class KafkaIndexTask extends AbstractTask implements ChatHandler
|
||||||
}
|
}
|
||||||
|
|
||||||
for (SegmentsAndMetadata handedOff : handedOffList) {
|
for (SegmentsAndMetadata handedOff : handedOffList) {
|
||||||
if (handedOff == null) {
|
|
||||||
log.warn("Handoff failed for segments %s", handedOff.getSegments());
|
|
||||||
} else {
|
|
||||||
log.info(
|
log.info(
|
||||||
"Handoff completed for segments[%s] with metadata[%s].",
|
"Handoff completed for segments[%s] with metadata[%s].",
|
||||||
Joiner.on(", ").join(
|
Joiner.on(", ").join(
|
||||||
|
@ -868,7 +865,6 @@ public class KafkaIndexTask extends AbstractTask implements ChatHandler
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
catch (InterruptedException | RejectedExecutionException e) {
|
catch (InterruptedException | RejectedExecutionException e) {
|
||||||
appenderator.closeNow();
|
appenderator.closeNow();
|
||||||
// handle the InterruptedException that gets wrapped in a RejectedExecutionException
|
// handle the InterruptedException that gets wrapped in a RejectedExecutionException
|
||||||
|
|
Loading…
Reference in New Issue