mirror of https://github.com/apache/druid.git
change summary of segment failures to one per line
This commit is contained in:
parent
dd20950f8a
commit
a39eb65edb
|
@ -314,7 +314,9 @@ public class ZkCoordinator implements DataSegmentChangeHandler
|
|||
}
|
||||
|
||||
if (!segmentFailures.isEmpty()) {
|
||||
log.error("Exception loading segments: %s", segmentFailures);
|
||||
for (String segmentFailure : segmentFailures) {
|
||||
log.error("%s failed to load", segmentFailure);
|
||||
}
|
||||
throw new SegmentLoadingException("%,d errors seen while loading segments", segmentFailures.size());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue