[
https://issues.apache.org/jira/browse/STORM-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15206472#comment-15206472
]
ASF GitHub Bot commented on STORM-1646:
---------------------------------------
GitHub user ppoulosk opened a pull request:
https://github.com/apache/storm/pull/1245
DO NOT MERGE [STORM-1646] Fix intermittent failures in storm-kafka unit
tests
This PR is dependent on the pr 1131, for STORM-822.
https://github.com/apache/storm/pull/1131
We have run into a few issues running storm-kafka unit tests on lightly
resourced VMs, especially after moving to kafka-9.
This moves the exponential backoff manager to use simulated time in
testing. We had been seeing races when using Thread.sleep with low sleep
periods.
It also switches a config no longer used in kafka 9 to the recommended
config parameter, and bumps up the timeout.
49394 [main] WARN o.a.k.c.p.KafkaProducer - metadata.fetch.timeout.ms
config is deprecated and will be removed soon. Please use max.block.ms
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ppoulosk/storm STORM-1646
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/1245.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 #1245
----
commit afc3bdebd70faac9da6af907c18665f47604a012
Author: Hugo Louro <[email protected]>
Date: 2015-12-14T18:16:42Z
STORM-822: Kafka Spout New Consumer API
commit 1a98839e59f90c3c3b2819d5850b02f69b3a31d5
Author: Paul Poulosky <[email protected]>
Date: 2016-03-22T14:43:29Z
Adjust timeout, change define, fix error print, move to simulated time
----
> Intermittent test failures in storm-kafka unit tests
> ----------------------------------------------------
>
> Key: STORM-1646
> URL: https://issues.apache.org/jira/browse/STORM-1646
> Project: Apache Storm
> Issue Type: Bug
> Reporter: Paul Poulosky
> Assignee: Paul Poulosky
>
> We have been seeing intermittent test failures in KafkaUtilsTest on slow
> hardware and lightly resourced VMs, as well as an intermittent race condition
> when running the storm-kafka ExponentialBackoffManager unit test.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)