You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/08/04 08:03:00 UTC
[jira] [Commented] (FLINK-7369) Add more information for `Key group
index out of range of key group range` exception
[ https://issues.apache.org/jira/browse/FLINK-7369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16114093#comment-16114093 ]
ASF GitHub Bot commented on FLINK-7369:
---------------------------------------
GitHub user asdf2014 opened a pull request:
https://github.com/apache/flink/pull/4474
FLINK-7369: Add more information for `Key group index out of range of key group range` exception
When i got the following exception log, it make me confused that the index is more than `32` or less than `16`. So, we should add more information for it.
```java
java.lang.IllegalArgumentException: Key group index out of range of key group range [16, 32).
at org.apache.flink.runtime.state.heap.NestedMapsStateTable.setMapForKeyGroup(NestedMapsStateTable.java:104)
at org.apache.flink.runtime.state.heap.NestedMapsStateTable.putAndGetOld(NestedMapsStateTable.java:218)
at org.apache.flink.runtime.state.heap.NestedMapsStateTable.put(NestedMapsStateTable.java:207)
at org.apache.flink.runtime.state.heap.NestedMapsStateTable.put(NestedMapsStateTable.java:145)
at org.apache.flink.runtime.state.heap.HeapValueState.update(HeapValueState.java:72)
at org.apache.flink.cep.operator.AbstractKeyedCEPPatternOperator.updateNFA(AbstractKeyedCEPPatternOperator.java:276)
at org.apache.flink.cep.operator.AbstractKeyedCEPPatternOperator.processElement(AbstractKeyedCEPPatternOperator.java:171)
at org.apache.flink.streaming.runtime.io.StreamInputProcessor.processInput(StreamInputProcessor.java:206)
at org.apache.flink.streaming.runtime.tasks.OneInputStreamTask.run(OneInputStreamTask.java:69)
at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:263)
at org.apache.flink.runtime.taskmanager.Task.run(Task.java:702)
at java.lang.Thread.run(Thread.java:745)
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/asdf2014/flink FLINK-7369
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/4474.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4474
----
commit 930e042939a65fb1539aa29f514084e0570ed49d
Author: asdf2014 <15...@qq.com>
Date: 2017-08-04T07:59:48Z
FLINK-7369: Add more information for `Key group index out of range of key group range` exception
----
> Add more information for `Key group index out of range of key group range` exception
> ------------------------------------------------------------------------------------
>
> Key: FLINK-7369
> URL: https://issues.apache.org/jira/browse/FLINK-7369
> Project: Flink
> Issue Type: Improvement
> Components: Local Runtime
> Reporter: Benedict Jin
> Assignee: Benedict Jin
>
> When i got the following exception log, it make me confused that the index is more than `32` or less than `16`. So, we should add more information for it.
> ```java
> java.lang.IllegalArgumentException: Key group index out of range of key group range [16, 32).
> at org.apache.flink.runtime.state.heap.NestedMapsStateTable.setMapForKeyGroup(NestedMapsStateTable.java:104)
> at org.apache.flink.runtime.state.heap.NestedMapsStateTable.putAndGetOld(NestedMapsStateTable.java:218)
> at org.apache.flink.runtime.state.heap.NestedMapsStateTable.put(NestedMapsStateTable.java:207)
> at org.apache.flink.runtime.state.heap.NestedMapsStateTable.put(NestedMapsStateTable.java:145)
> at org.apache.flink.runtime.state.heap.HeapValueState.update(HeapValueState.java:72)
> at org.apache.flink.cep.operator.AbstractKeyedCEPPatternOperator.updateNFA(AbstractKeyedCEPPatternOperator.java:276)
> at org.apache.flink.cep.operator.AbstractKeyedCEPPatternOperator.processElement(AbstractKeyedCEPPatternOperator.java:171)
> at org.apache.flink.streaming.runtime.io.StreamInputProcessor.processInput(StreamInputProcessor.java:206)
> at org.apache.flink.streaming.runtime.tasks.OneInputStreamTask.run(OneInputStreamTask.java:69)
> at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:263)
> at org.apache.flink.runtime.taskmanager.Task.run(Task.java:702)
> at java.lang.Thread.run(Thread.java:745)
> ```
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)