GitHub user benstopford opened a pull request:
https://github.com/apache/kafka/pull/2734
KAFKA-4948: Failure in kafka.admin.DescribeConsumerGroupTest...
This test fails regularly when run on OSX (on my machine anyway). The fix
decreases the number of partitions in the consumer offsets topic allows it to
complete within the timeout.
As an aside I wondered why it was taking so long (regression??). This is
why:
- It takes 6 seconds to create the offsets topic (on OSX)
- It takes ~200ms to create each log
- It takes ~ 100ms to create each index file (time index + offset index)
- This time is spent on the line
[raf.setLength()](https://github.com/apache/kafka/blob/5fc530bc483db145e0cba3b63a57d6d6a7c547f2/core/src/main/scala/kafka/log/AbstractIndex.scala#L56)
This isn't an issue in practice, but at least we know this isn't a real
regression.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/benstopford/kafka
quick-fix-desc-cons-grp-test-KAFKA-4948
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/2734.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 #2734
----
commit 95f0deaafe354d932dc31d0494116a9391a61897
Author: Ben Stopford <[email protected]>
Date: 2017-03-24T17:49:25Z
KIP-101: Merge from dev branch into this branch brining in all changes over
EOS
commit 4f96770d4f735090ea045d39404c9d44ff7f4e01
Author: Ben Stopford <[email protected]>
Date: 2017-03-24T19:11:27Z
KAFKA-4948: 5 partitions should suffice.
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---