You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by abhishekagarwal87 <gi...@git.apache.org> on 2016/07/07 06:25:04 UTC
[GitHub] storm pull request #1544: ConcurrentModificationExceptions in WindowedBoltEx...
GitHub user abhishekagarwal87 opened a pull request:
https://github.com/apache/storm/pull/1544
ConcurrentModificationExceptions in WindowedBoltExecutorTest
Printing testWindowedBolt.tupleWindows results in tupleWindows being iterated while being modified at same time.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/abhishekagarwal87/storm patch-2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/1544.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 #1544
----
commit abfba30823a06de25edc1f0cfa2c520ec637fbf7
Author: abhishekagarwal87 <ab...@gmail.com>
Date: 2016-07-07T06:24:42Z
ConcurrentModificationExceptions in WindowedBoltExecutorTest
Printing testWindowedBolt.tupleWindows results in tupleWindows being iterated while being modified at same time.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] storm pull request #1544: ConcurrentModificationExceptions in WindowedBoltEx...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/storm/pull/1544
---
[GitHub] storm issue #1544: ConcurrentModificationExceptions in WindowedBoltExecutorT...
Posted by abhishekagarwal87 <gi...@git.apache.org>.
Github user abhishekagarwal87 commented on the issue:
https://github.com/apache/storm/pull/1544
No there was another error in the same test
```
classname: org.apache.storm.topology.WindowedBoltExecutorTest / testname: testExecuteWithLateTupleStream
java.util.ConcurrentModificationException: null
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:859)
at java.util.ArrayList$Itr.next(ArrayList.java:831)
at java.util.AbstractCollection.toString(AbstractCollection.java:457)
at java.lang.String.valueOf(String.java:2849)
at java.io.PrintStream.println(PrintStream.java:821)
at org.apache.storm.topology.WindowedBoltExecutorTest.testExecuteWithLateTupleStream(WindowedBoltExecutorTest.java:223)
```
I see now that this fix itself may not suffice. Let me dig deeper and try to find a solution.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] storm issue #1544: ConcurrentModificationExceptions in WindowedBoltExecutorT...
Posted by HeartSaVioR <gi...@git.apache.org>.
Github user HeartSaVioR commented on the issue:
https://github.com/apache/storm/pull/1544
Got it. Thanks. :)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] storm issue #1544: ConcurrentModificationExceptions in WindowedBoltExecutorT...
Posted by HeartSaVioR <gi...@git.apache.org>.
Github user HeartSaVioR commented on the issue:
https://github.com/apache/storm/pull/1544
@abhishekagarwal87
Is it a fix for this random failure?
```
classname: org.apache.storm.topology.WindowedBoltExecutorTest / testname: testExecuteWithLateTupleStream
org.mockito.exceptions.verification.WantedButNotInvoked:
Wanted but not invoked:
outputCollector.emit(
"$late",
[source: null:1, stream: s1, id: {}, [600]],
[source: null:1, stream: s1, id: {}, [600]]
);
-> at org.apache.storm.topology.WindowedBoltExecutorTest.testExecuteWithLateTupleStream(WindowedBoltExecutorTest.java:225)
Actually, there were zero interactions with this mock.
at org.apache.storm.topology.WindowedBoltExecutorTest.testExecuteWithLateTupleStream(WindowedBoltExecutorTest.java:225)
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---