You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2019/05/09 07:06:00 UTC
[flink] branch master updated: [hotfix][state] Add error message to
precondition in HeapPriorityQueueSet
This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 98239a3 [hotfix][state] Add error message to precondition in HeapPriorityQueueSet
98239a3 is described below
commit 98239a3d325ccdbbc600a623c40892722188a3ee
Author: Seth Wiesman <sj...@gmail.com>
AuthorDate: Thu May 9 03:05:51 2019 -0400
[hotfix][state] Add error message to precondition in HeapPriorityQueueSet
---
.../java/org/apache/flink/runtime/state/heap/HeapPriorityQueueSet.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/state/heap/HeapPriorityQueueSet.java b/flink-runtime/src/main/java/org/apache/flink/runtime/state/heap/HeapPriorityQueueSet.java
index c0215ac..a51a0c1 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/state/heap/HeapPriorityQueueSet.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/state/heap/HeapPriorityQueueSet.java
@@ -155,7 +155,7 @@ public class HeapPriorityQueueSet<T extends HeapPriorityQueueElement>
}
private int globalKeyGroupToLocalIndex(int keyGroup) {
- checkArgument(keyGroupRange.contains(keyGroup));
+ checkArgument(keyGroupRange.contains(keyGroup), "%s does not contain key group %s", keyGroupRange, keyGroup);
return keyGroup - keyGroupRange.getStartKeyGroup();
}