kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-4948) Failure in kafka.admin.DescribeConsumerGroupTest.testDescribeExistingGroupWithNoMembersWithNewConsumer
Date Fri, 24 Mar 2017 19:13:42 GMT

    [ https://issues.apache.org/jira/browse/KAFKA-4948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15940968#comment-15940968
] 

ASF GitHub Bot commented on KAFKA-4948:
---------------------------------------

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 <benstopford@gmail.com>
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 <benstopford@gmail.com>
Date:   2017-03-24T19:11:27Z

    KAFKA-4948: 5 partitions should suffice.

----


> Failure in kafka.admin.DescribeConsumerGroupTest.testDescribeExistingGroupWithNoMembersWithNewConsumer
> ------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-4948
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4948
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: unit tests
>            Reporter: Guozhang Wang
>            Assignee: Ben Stopford
>
> We have seen this failure happening quite frequently in Jenkins.
> {code}
> TBD
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message