mirror of https://github.com/apache/druid.git
Fix missing format argument (#8331)
This commit is contained in:
parent
cae1361c32
commit
566dc8c719
|
@ -220,7 +220,7 @@ public class PartialSegmentMergeTask extends AbstractBatchIndexTask
|
||||||
final Map<Interval, String> intervalToVersion = new HashMap<>(locks.size());
|
final Map<Interval, String> intervalToVersion = new HashMap<>(locks.size());
|
||||||
locks.forEach(lock -> {
|
locks.forEach(lock -> {
|
||||||
if (lock.isRevoked()) {
|
if (lock.isRevoked()) {
|
||||||
throw new ISE("Lock[%s] is revoked");
|
throw new ISE("Lock[%s] is revoked", lock);
|
||||||
}
|
}
|
||||||
final String mustBeNull = intervalToVersion.put(lock.getInterval(), lock.getVersion());
|
final String mustBeNull = intervalToVersion.put(lock.getInterval(), lock.getVersion());
|
||||||
if (mustBeNull != null) {
|
if (mustBeNull != null) {
|
||||||
|
|
|
@ -485,6 +485,7 @@ public class DirectDruidClient<T> implements QueryRunner<T>
|
||||||
if (res.getStatus().getCode() >= 500) {
|
if (res.getStatus().getCode() >= 500) {
|
||||||
throw new RE(
|
throw new RE(
|
||||||
"Error cancelling query[%s]: queriable node returned status[%d] [%s].",
|
"Error cancelling query[%s]: queriable node returned status[%d] [%s].",
|
||||||
|
query,
|
||||||
res.getStatus().getCode(),
|
res.getStatus().getCode(),
|
||||||
res.getStatus().getReasonPhrase()
|
res.getStatus().getReasonPhrase()
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue