[ https://issues.apache.org/jira/browse/KAFKA-2857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15362788#comment-15362788 ]
ASF GitHub Bot commented on KAFKA-2857: --------------------------------------- GitHub user imandhan reopened a pull request: https://github.com/apache/kafka/pull/1548 KAFKA-2857 ConsumerGroupCommand throws GroupCoordinatorNotAvailableException when describing a non-existent group before the offset topic is created Added a check to make sure different cases when offset topic hasn't been created and consumer group describe command is run, are handled appropriately. You can merge this pull request into a Git repository by running: $ git pull https://github.com/imandhan/kafka KAFKA-2857 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/1548.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 #1548 ---- commit c27df5a17a6bbb34a6118bb7b74d6f3e80239612 Author: Ishita Mandhan <iman...@us.ibm.com> Date: 2016-06-23T23:46:07Z KAFKA-2857 ConsumerGroupCommand throws GroupCoordinatorNotAvailableException when describing a non-existent group before the offset topic is created Added a check to make sure different cases when offset topic hasn't been created and consumer group describe command is run, are handled appropriately. commit 9da78fa08688b691a954da164e6c8d28abc90500 Author: Ishita Mandhan <iman...@us.ibm.com> Date: 2016-06-24T00:41:12Z KAFKA-2857 ConsumerGroupCommand throws GroupCoordinatorNotAvailableException when describing a non-existent group before the offset topic is created Added a check to make sure different cases when offset topic hasn't been created and consumer group describe command is run, are handled appropriately. commit 8d157546152fc063a2aff92a3fade1b6947b5ffb Author: Ishita Mandhan <iman...@us.ibm.com> Date: 2016-06-24T00:51:20Z KAFKA-2857 ConsumerGroupCommand throws GroupCoordinatorNotAvailableException when describing a non-existent group before the offset topic is created commit f50c8dce19018e7f689d318795eb797a7d0d0f2d Author: Ishita Mandhan <iman...@us.ibm.com> Date: 2016-06-28T00:53:33Z KAFKA-2857 ConsumerGroupCommand throws GroupCoordinatorNotAvailableException when describing a non-existent group before the offset topic is created commit 7815008eeb4c2dabaf96707652f50425ac4d5923 Author: Ishita Mandhan <iman...@us.ibm.com> Date: 2016-06-28T20:13:51Z KAFKA-2857 ConsumerGroupCommand throws GroupCoordinatorNotAvailableException when describing a non-existent group before the offset topic is created ---- > ConsumerGroupCommand throws GroupCoordinatorNotAvailableException when > describing a non-existent group before the offset topic is created > ----------------------------------------------------------------------------------------------------------------------------------------- > > Key: KAFKA-2857 > URL: https://issues.apache.org/jira/browse/KAFKA-2857 > Project: Kafka > Issue Type: Bug > Components: tools > Reporter: Ismael Juma > Assignee: Ishita Mandhan > Priority: Minor > > If we describe a non-existing group before the offset topic is created, like > the following: > {code} > bin/kafka-consumer-groups.sh --bootstrap-server localhost:9092 --new-consumer > --describe --group gggg > {code} > We get the following error: > {code} > Error while executing consumer group command The group coordinator is not > available. > org.apache.kafka.common.errors.GroupCoordinatorNotAvailableException: The > group coordinator is not available. > {code} > The exception is thrown in the `adminClient.describeConsumerGroup` call. We > can't interpret this exception as meaning that the group doesn't exist > because it could also be thrown f all replicas for a offset topic partition > are down (as explained by Jun). > Jun also suggested that we should distinguish if a coordinator is not > available from the case where a coordinator doesn't exist. -- This message was sent by Atlassian JIRA (v6.3.4#6332)