[jira] [Commented] (KAFKA-2768) New-consumer sends invalid describeGroupResponse while restabilizing

2015-11-13 Thread ASF GitHub Bot (JIRA)

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

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

Github user asfgit closed the pull request at:

https://github.com/apache/kafka/pull/447


> New-consumer sends invalid describeGroupResponse while restabilizing
> 
>
> Key: KAFKA-2768
> URL: https://issues.apache.org/jira/browse/KAFKA-2768
> Project: Kafka
>  Issue Type: Bug
>  Components: consumer
>Reporter: Ashish K Singh
>Assignee: Ashish K Singh
> Fix For: 0.9.0.0
>
>
> While a consumer group is restabilizing, it sends describeGroupResponse with 
> no error, but empty metadata and assignments. That leads to SchemaException 
> on client.
> {code}
> Error while executing consumer group command Error reading field 'version': 
> java.nio.BufferUnderflowException
> org.apache.kafka.common.protocol.types.SchemaException: Error reading field 
> 'version': java.nio.BufferUnderflowException
>   at org.apache.kafka.common.protocol.types.Schema.read(Schema.java:73)
>   at 
> org.apache.kafka.clients.consumer.internals.ConsumerProtocol.deserializeAssignment(ConsumerProtocol.java:106)
>   at 
> kafka.admin.AdminClient$$anonfun$describeConsumerGroup$1.apply(AdminClient.scala:163)
>   at 
> kafka.admin.AdminClient$$anonfun$describeConsumerGroup$1.apply(AdminClient.scala:161)
>   at 
> scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
>   at 
> scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
>   at scala.collection.immutable.List.foreach(List.scala:318)
>   at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
>   at scala.collection.AbstractTraversable.map(Traversable.scala:105)
>   at kafka.admin.AdminClient.describeConsumerGroup(AdminClient.scala:161)
>   at 
> kafka.admin.ConsumerGroupCommand$.describe(ConsumerGroupCommand.scala:109)
>   at kafka.admin.ConsumerGroupCommand$.main(ConsumerGroupCommand.scala:63)
>   at kafka.admin.ConsumerGroupCommand.main(ConsumerGroupCommand.scala)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (KAFKA-2768) New-consumer sends invalid describeGroupResponse while restabilizing

2015-11-06 Thread ASF GitHub Bot (JIRA)

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

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

GitHub user SinghAsDev opened a pull request:

https://github.com/apache/kafka/pull/447

KAFKA-2768: New-consumer sends invalid describeGroupResponse while re…

…stabilizing

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/SinghAsDev/kafka KAFKA-2768

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/kafka/pull/447.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 #447


commit 547f1b2f1c46cc4c09bbd334bcc9e1db7fc7cbd8
Author: Ashish Singh 
Date:   2015-11-06T22:34:38Z

KAFKA-2768: New-consumer sends invalid describeGroupResponse while 
restabilizing




> New-consumer sends invalid describeGroupResponse while restabilizing
> 
>
> Key: KAFKA-2768
> URL: https://issues.apache.org/jira/browse/KAFKA-2768
> Project: Kafka
>  Issue Type: Bug
>  Components: consumer
>Reporter: Ashish K Singh
>Assignee: Ashish K Singh
>
> While a consumer group is restabilizing, it sends describeGroupResponse with 
> no error, but empty metadata and assignments. That leads to SchemaException 
> on client.
> {code}
> Error while executing consumer group command Error reading field 'version': 
> java.nio.BufferUnderflowException
> org.apache.kafka.common.protocol.types.SchemaException: Error reading field 
> 'version': java.nio.BufferUnderflowException
>   at org.apache.kafka.common.protocol.types.Schema.read(Schema.java:73)
>   at 
> org.apache.kafka.clients.consumer.internals.ConsumerProtocol.deserializeAssignment(ConsumerProtocol.java:106)
>   at 
> kafka.admin.AdminClient$$anonfun$describeConsumerGroup$1.apply(AdminClient.scala:163)
>   at 
> kafka.admin.AdminClient$$anonfun$describeConsumerGroup$1.apply(AdminClient.scala:161)
>   at 
> scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
>   at 
> scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
>   at scala.collection.immutable.List.foreach(List.scala:318)
>   at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
>   at scala.collection.AbstractTraversable.map(Traversable.scala:105)
>   at kafka.admin.AdminClient.describeConsumerGroup(AdminClient.scala:161)
>   at 
> kafka.admin.ConsumerGroupCommand$.describe(ConsumerGroupCommand.scala:109)
>   at kafka.admin.ConsumerGroupCommand$.main(ConsumerGroupCommand.scala:63)
>   at kafka.admin.ConsumerGroupCommand.main(ConsumerGroupCommand.scala)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)