[jira] [Commented] (KAFKA-2573) Mirror maker system test hangs and eventually fails
[ https://issues.apache.org/jira/browse/KAFKA-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14945805#comment-14945805 ] ASF GitHub Bot commented on KAFKA-2573: --- Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/234 > Mirror maker system test hangs and eventually fails > --- > > Key: KAFKA-2573 > URL: https://issues.apache.org/jira/browse/KAFKA-2573 > Project: Kafka > Issue Type: Bug >Reporter: Ashish K Singh >Assignee: Ashish K Singh > Fix For: 0.9.0.0 > > > Due to changes made in KAFKA-2015, handling of {{--consumer.config}} has > changed, more details is specified on KAFKA-2467. This leads to the exception. > {code} > Exception in thread "main" java.lang.NoSuchMethodError: > java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView; > at kafka.utils.Pool.keys(Pool.scala:77) > at > kafka.consumer.FetchRequestAndResponseStatsRegistry$.removeConsumerFetchRequestAndResponseStats(FetchRequestAndResponseStats.scala:69) > at > kafka.metrics.KafkaMetricsGroup$.removeAllConsumerMetrics(KafkaMetricsGroup.scala:189) > at > kafka.consumer.ZookeeperConsumerConnector.shutdown(ZookeeperConsumerConnector.scala:200) > at kafka.consumer.OldConsumer.stop(BaseConsumer.scala:75) > at kafka.tools.ConsoleConsumer$.process(ConsoleConsumer.scala:98) > at kafka.tools.ConsoleConsumer$.run(ConsoleConsumer.scala:57) > at kafka.tools.ConsoleConsumer$.main(ConsoleConsumer.scala:41) > at kafka.tools.ConsoleConsumer.main(ConsoleConsumer.scala) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-2573) Mirror maker system test hangs and eventually fails
[ https://issues.apache.org/jira/browse/KAFKA-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14944432#comment-14944432 ] Ewen Cheslack-Postava commented on KAFKA-2573: -- Agreed with [~lindong] that the tools itself should also be fixed, but I think it would be fine to commit this in order to handle the immediate issue with the system tests and file a follow up JIRA about ConsoleConsumer. I think this is getting lost in the shuffle since it doesn't have a reviewer. [~guozhang] I'm going to assign you as reviewer for the moment so at least one committer is keeping track of it. > Mirror maker system test hangs and eventually fails > --- > > Key: KAFKA-2573 > URL: https://issues.apache.org/jira/browse/KAFKA-2573 > Project: Kafka > Issue Type: Bug >Reporter: Ashish K Singh >Assignee: Ashish K Singh > > Due to changes made in KAFKA-2015, handling of {{--consumer.config}} has > changed, more details is specified on KAFKA-2467. This leads to the exception. > {code} > Exception in thread "main" java.lang.NoSuchMethodError: > java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView; > at kafka.utils.Pool.keys(Pool.scala:77) > at > kafka.consumer.FetchRequestAndResponseStatsRegistry$.removeConsumerFetchRequestAndResponseStats(FetchRequestAndResponseStats.scala:69) > at > kafka.metrics.KafkaMetricsGroup$.removeAllConsumerMetrics(KafkaMetricsGroup.scala:189) > at > kafka.consumer.ZookeeperConsumerConnector.shutdown(ZookeeperConsumerConnector.scala:200) > at kafka.consumer.OldConsumer.stop(BaseConsumer.scala:75) > at kafka.tools.ConsoleConsumer$.process(ConsoleConsumer.scala:98) > at kafka.tools.ConsoleConsumer$.run(ConsoleConsumer.scala:57) > at kafka.tools.ConsoleConsumer$.main(ConsoleConsumer.scala:41) > at kafka.tools.ConsoleConsumer.main(ConsoleConsumer.scala) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-2573) Mirror maker system test hangs and eventually fails
[ https://issues.apache.org/jira/browse/KAFKA-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14933633#comment-14933633 ] Dong Lin commented on KAFKA-2573: - [~ijuma] Thanks for referring me to this ticket. Yes, I think this is the same issue I described in KAFKA-2585. The solution I used in https://github.com/apache/kafka/pull/247 is different from that used by [~singhashish]. I think it would be better to fix it on the ConsoleConsumer.scala for this particular error -- because ConsoleConsumer shouldn't hang forever upon exception. I can see value for having a hardtimeout for any remove process in Ducktape test. But from my test experience I think there is already hard timeout as of Ducktape ac67e3f312d94c23ba06673c555fe557f1c9f39b, no? If we were to add a hard timeout, would it be better to enforce it as a general mechanism than having specific timeout for specific test, as is done in https://github.com/apache/kafka/pull/234? > Mirror maker system test hangs and eventually fails > --- > > Key: KAFKA-2573 > URL: https://issues.apache.org/jira/browse/KAFKA-2573 > Project: Kafka > Issue Type: Bug >Reporter: Ashish K Singh >Assignee: Ashish K Singh > > Due to changes made in KAFKA-2015, handling of {{--consumer.config}} has > changed, more details is specified on KAFKA-2467. This leads to the exception. > {code} > Exception in thread "main" java.lang.NoSuchMethodError: > java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView; > at kafka.utils.Pool.keys(Pool.scala:77) > at > kafka.consumer.FetchRequestAndResponseStatsRegistry$.removeConsumerFetchRequestAndResponseStats(FetchRequestAndResponseStats.scala:69) > at > kafka.metrics.KafkaMetricsGroup$.removeAllConsumerMetrics(KafkaMetricsGroup.scala:189) > at > kafka.consumer.ZookeeperConsumerConnector.shutdown(ZookeeperConsumerConnector.scala:200) > at kafka.consumer.OldConsumer.stop(BaseConsumer.scala:75) > at kafka.tools.ConsoleConsumer$.process(ConsoleConsumer.scala:98) > at kafka.tools.ConsoleConsumer$.run(ConsoleConsumer.scala:57) > at kafka.tools.ConsoleConsumer$.main(ConsoleConsumer.scala:41) > at kafka.tools.ConsoleConsumer.main(ConsoleConsumer.scala) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-2573) Mirror maker system test hangs and eventually fails
[ https://issues.apache.org/jira/browse/KAFKA-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14906454#comment-14906454 ] Ismael Juma commented on KAFKA-2573: I think the test should fail fast indeed. The system tests are meant to test the system working together and if one part is failing (for whatever reason), we should know about it. This is one of the main benefits of system tests when compared to the JUnit tests we have. > Mirror maker system test hangs and eventually fails > --- > > Key: KAFKA-2573 > URL: https://issues.apache.org/jira/browse/KAFKA-2573 > Project: Kafka > Issue Type: Bug >Reporter: Ashish K Singh >Assignee: Ashish K Singh > > Due to changes made in KAFKA-2015, handling of {{--consumer.config}} has > changed, more details is specified on KAFKA-2467. This leads to the exception. > {code} > Exception in thread "main" java.lang.NoSuchMethodError: > java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView; > at kafka.utils.Pool.keys(Pool.scala:77) > at > kafka.consumer.FetchRequestAndResponseStatsRegistry$.removeConsumerFetchRequestAndResponseStats(FetchRequestAndResponseStats.scala:69) > at > kafka.metrics.KafkaMetricsGroup$.removeAllConsumerMetrics(KafkaMetricsGroup.scala:189) > at > kafka.consumer.ZookeeperConsumerConnector.shutdown(ZookeeperConsumerConnector.scala:200) > at kafka.consumer.OldConsumer.stop(BaseConsumer.scala:75) > at kafka.tools.ConsoleConsumer$.process(ConsoleConsumer.scala:98) > at kafka.tools.ConsoleConsumer$.run(ConsoleConsumer.scala:57) > at kafka.tools.ConsoleConsumer$.main(ConsoleConsumer.scala:41) > at kafka.tools.ConsoleConsumer.main(ConsoleConsumer.scala) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-2573) Mirror maker system test hangs and eventually fails
[ https://issues.apache.org/jira/browse/KAFKA-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14907021#comment-14907021 ] Ashish K Singh commented on KAFKA-2573: --- OK, I have updated the PR to just make the test fail faster. > Mirror maker system test hangs and eventually fails > --- > > Key: KAFKA-2573 > URL: https://issues.apache.org/jira/browse/KAFKA-2573 > Project: Kafka > Issue Type: Bug >Reporter: Ashish K Singh >Assignee: Ashish K Singh > > Due to changes made in KAFKA-2015, handling of {{--consumer.config}} has > changed, more details is specified on KAFKA-2467. This leads to the exception. > {code} > Exception in thread "main" java.lang.NoSuchMethodError: > java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView; > at kafka.utils.Pool.keys(Pool.scala:77) > at > kafka.consumer.FetchRequestAndResponseStatsRegistry$.removeConsumerFetchRequestAndResponseStats(FetchRequestAndResponseStats.scala:69) > at > kafka.metrics.KafkaMetricsGroup$.removeAllConsumerMetrics(KafkaMetricsGroup.scala:189) > at > kafka.consumer.ZookeeperConsumerConnector.shutdown(ZookeeperConsumerConnector.scala:200) > at kafka.consumer.OldConsumer.stop(BaseConsumer.scala:75) > at kafka.tools.ConsoleConsumer$.process(ConsoleConsumer.scala:98) > at kafka.tools.ConsoleConsumer$.run(ConsoleConsumer.scala:57) > at kafka.tools.ConsoleConsumer$.main(ConsoleConsumer.scala:41) > at kafka.tools.ConsoleConsumer.main(ConsoleConsumer.scala) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-2573) Mirror maker system test hangs and eventually fails
[ https://issues.apache.org/jira/browse/KAFKA-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14905020#comment-14905020 ] Ashish K Singh commented on KAFKA-2573: --- [~ijuma] thanks for pointing it out. I was under impression that Kafka code is compiled on the vagrant hosts and never thought it could be the java version causing the issue. Yes, it was due to using java8 at compile time and java 7 at run time. I am not sure, but I think that is not something we should be worried about. Let me know your thoughts, and we can close the JIRA accordingly. > Mirror maker system test hangs and eventually fails > --- > > Key: KAFKA-2573 > URL: https://issues.apache.org/jira/browse/KAFKA-2573 > Project: Kafka > Issue Type: Bug >Reporter: Ashish K Singh >Assignee: Ashish K Singh > > Due to changes made in KAFKA-2015, handling of {{--consumer.config}} has > changed, more details is specified on KAFKA-2467. This leads to the exception. > {code} > Exception in thread "main" java.lang.NoSuchMethodError: > java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView; > at kafka.utils.Pool.keys(Pool.scala:77) > at > kafka.consumer.FetchRequestAndResponseStatsRegistry$.removeConsumerFetchRequestAndResponseStats(FetchRequestAndResponseStats.scala:69) > at > kafka.metrics.KafkaMetricsGroup$.removeAllConsumerMetrics(KafkaMetricsGroup.scala:189) > at > kafka.consumer.ZookeeperConsumerConnector.shutdown(ZookeeperConsumerConnector.scala:200) > at kafka.consumer.OldConsumer.stop(BaseConsumer.scala:75) > at kafka.tools.ConsoleConsumer$.process(ConsoleConsumer.scala:98) > at kafka.tools.ConsoleConsumer$.run(ConsoleConsumer.scala:57) > at kafka.tools.ConsoleConsumer$.main(ConsoleConsumer.scala:41) > at kafka.tools.ConsoleConsumer.main(ConsoleConsumer.scala) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-2573) Mirror maker system test hangs and eventually fails
[ https://issues.apache.org/jira/browse/KAFKA-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14905028#comment-14905028 ] Ismael Juma commented on KAFKA-2573: How does your PR handle this problem? This is a user error, but if we can provide a better error message somewhat easily, then that's a good thing. > Mirror maker system test hangs and eventually fails > --- > > Key: KAFKA-2573 > URL: https://issues.apache.org/jira/browse/KAFKA-2573 > Project: Kafka > Issue Type: Bug >Reporter: Ashish K Singh >Assignee: Ashish K Singh > > Due to changes made in KAFKA-2015, handling of {{--consumer.config}} has > changed, more details is specified on KAFKA-2467. This leads to the exception. > {code} > Exception in thread "main" java.lang.NoSuchMethodError: > java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView; > at kafka.utils.Pool.keys(Pool.scala:77) > at > kafka.consumer.FetchRequestAndResponseStatsRegistry$.removeConsumerFetchRequestAndResponseStats(FetchRequestAndResponseStats.scala:69) > at > kafka.metrics.KafkaMetricsGroup$.removeAllConsumerMetrics(KafkaMetricsGroup.scala:189) > at > kafka.consumer.ZookeeperConsumerConnector.shutdown(ZookeeperConsumerConnector.scala:200) > at kafka.consumer.OldConsumer.stop(BaseConsumer.scala:75) > at kafka.tools.ConsoleConsumer$.process(ConsoleConsumer.scala:98) > at kafka.tools.ConsoleConsumer$.run(ConsoleConsumer.scala:57) > at kafka.tools.ConsoleConsumer$.main(ConsoleConsumer.scala:41) > at kafka.tools.ConsoleConsumer.main(ConsoleConsumer.scala) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-2573) Mirror maker system test hangs and eventually fails
[ https://issues.apache.org/jira/browse/KAFKA-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14904190#comment-14904190 ] Ismael Juma commented on KAFKA-2573: The exception you pasted happens if you compile with Java 8 and run it with Java 7. Are you sure you pasted the right exception? > Mirror maker system test hangs and eventually fails > --- > > Key: KAFKA-2573 > URL: https://issues.apache.org/jira/browse/KAFKA-2573 > Project: Kafka > Issue Type: Bug >Reporter: Ashish K Singh >Assignee: Ashish K Singh > > Due to changes made in KAFKA-2015, handling of {{--consumer.config}} has > changed, more details is specified on KAFKA-2467. This leads to the exception. > {code} > Exception in thread "main" java.lang.NoSuchMethodError: > java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView; > at kafka.utils.Pool.keys(Pool.scala:77) > at > kafka.consumer.FetchRequestAndResponseStatsRegistry$.removeConsumerFetchRequestAndResponseStats(FetchRequestAndResponseStats.scala:69) > at > kafka.metrics.KafkaMetricsGroup$.removeAllConsumerMetrics(KafkaMetricsGroup.scala:189) > at > kafka.consumer.ZookeeperConsumerConnector.shutdown(ZookeeperConsumerConnector.scala:200) > at kafka.consumer.OldConsumer.stop(BaseConsumer.scala:75) > at kafka.tools.ConsoleConsumer$.process(ConsoleConsumer.scala:98) > at kafka.tools.ConsoleConsumer$.run(ConsoleConsumer.scala:57) > at kafka.tools.ConsoleConsumer$.main(ConsoleConsumer.scala:41) > at kafka.tools.ConsoleConsumer.main(ConsoleConsumer.scala) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-2573) Mirror maker system test hangs and eventually fails
[ https://issues.apache.org/jira/browse/KAFKA-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14905391#comment-14905391 ] Ashish K Singh commented on KAFKA-2573: --- I think the test is failing due to a reason it is not intending to test, or is it. I am not saying that we should not be catching such issues, my question is that should we be failing mirror-maker test due to an issue with consumer shutdown? May be we should. I am fine either ways, but just something we should agree upon. If we choose to let the test fail, I can change the PR to just make it fail fast instead of waiting for 10 minutes. > Mirror maker system test hangs and eventually fails > --- > > Key: KAFKA-2573 > URL: https://issues.apache.org/jira/browse/KAFKA-2573 > Project: Kafka > Issue Type: Bug >Reporter: Ashish K Singh >Assignee: Ashish K Singh > > Due to changes made in KAFKA-2015, handling of {{--consumer.config}} has > changed, more details is specified on KAFKA-2467. This leads to the exception. > {code} > Exception in thread "main" java.lang.NoSuchMethodError: > java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView; > at kafka.utils.Pool.keys(Pool.scala:77) > at > kafka.consumer.FetchRequestAndResponseStatsRegistry$.removeConsumerFetchRequestAndResponseStats(FetchRequestAndResponseStats.scala:69) > at > kafka.metrics.KafkaMetricsGroup$.removeAllConsumerMetrics(KafkaMetricsGroup.scala:189) > at > kafka.consumer.ZookeeperConsumerConnector.shutdown(ZookeeperConsumerConnector.scala:200) > at kafka.consumer.OldConsumer.stop(BaseConsumer.scala:75) > at kafka.tools.ConsoleConsumer$.process(ConsoleConsumer.scala:98) > at kafka.tools.ConsoleConsumer$.run(ConsoleConsumer.scala:57) > at kafka.tools.ConsoleConsumer$.main(ConsoleConsumer.scala:41) > at kafka.tools.ConsoleConsumer.main(ConsoleConsumer.scala) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-2573) Mirror maker system test hangs and eventually fails
[ https://issues.apache.org/jira/browse/KAFKA-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14905284#comment-14905284 ] Geoff Anderson commented on KAFKA-2573: --- After speaking a bit with Ashish, I think I understand the intent behind the changes better now: it seems these changes are intended to get the test to pass despite the remote console consumer process hanging during shutdown (correct me if I misunderstood, [~singhashish]). My argument is that failure of the test in this case is exactly what we want - how else would we have known an issue with conflicting java versions had caused the process to blow up during shutdown? That said, it is a very reasonable error to compile locally with java 8 (I'm 100% sure this will cause trouble for others as well), so we should at least document this in the system test README > Mirror maker system test hangs and eventually fails > --- > > Key: KAFKA-2573 > URL: https://issues.apache.org/jira/browse/KAFKA-2573 > Project: Kafka > Issue Type: Bug >Reporter: Ashish K Singh >Assignee: Ashish K Singh > > Due to changes made in KAFKA-2015, handling of {{--consumer.config}} has > changed, more details is specified on KAFKA-2467. This leads to the exception. > {code} > Exception in thread "main" java.lang.NoSuchMethodError: > java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView; > at kafka.utils.Pool.keys(Pool.scala:77) > at > kafka.consumer.FetchRequestAndResponseStatsRegistry$.removeConsumerFetchRequestAndResponseStats(FetchRequestAndResponseStats.scala:69) > at > kafka.metrics.KafkaMetricsGroup$.removeAllConsumerMetrics(KafkaMetricsGroup.scala:189) > at > kafka.consumer.ZookeeperConsumerConnector.shutdown(ZookeeperConsumerConnector.scala:200) > at kafka.consumer.OldConsumer.stop(BaseConsumer.scala:75) > at kafka.tools.ConsoleConsumer$.process(ConsoleConsumer.scala:98) > at kafka.tools.ConsoleConsumer$.run(ConsoleConsumer.scala:57) > at kafka.tools.ConsoleConsumer$.main(ConsoleConsumer.scala:41) > at kafka.tools.ConsoleConsumer.main(ConsoleConsumer.scala) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-2573) Mirror maker system test hangs and eventually fails
[ https://issues.apache.org/jira/browse/KAFKA-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14905194#comment-14905194 ] Ashish K Singh commented on KAFKA-2573: --- In my PR I removed {{consumer.wait()}} that gets blocked and eventually the test fails due to timeout while waiting for the consumer thread to finish. Instead, I am doing my asserts on a separate thread by getting consumed messages from consumer thread and then I stop the thread without waiting on it. This approach is used in console_consumer_test as well. Does that sound reasonable to you? > Mirror maker system test hangs and eventually fails > --- > > Key: KAFKA-2573 > URL: https://issues.apache.org/jira/browse/KAFKA-2573 > Project: Kafka > Issue Type: Bug >Reporter: Ashish K Singh >Assignee: Ashish K Singh > > Due to changes made in KAFKA-2015, handling of {{--consumer.config}} has > changed, more details is specified on KAFKA-2467. This leads to the exception. > {code} > Exception in thread "main" java.lang.NoSuchMethodError: > java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView; > at kafka.utils.Pool.keys(Pool.scala:77) > at > kafka.consumer.FetchRequestAndResponseStatsRegistry$.removeConsumerFetchRequestAndResponseStats(FetchRequestAndResponseStats.scala:69) > at > kafka.metrics.KafkaMetricsGroup$.removeAllConsumerMetrics(KafkaMetricsGroup.scala:189) > at > kafka.consumer.ZookeeperConsumerConnector.shutdown(ZookeeperConsumerConnector.scala:200) > at kafka.consumer.OldConsumer.stop(BaseConsumer.scala:75) > at kafka.tools.ConsoleConsumer$.process(ConsoleConsumer.scala:98) > at kafka.tools.ConsoleConsumer$.run(ConsoleConsumer.scala:57) > at kafka.tools.ConsoleConsumer$.main(ConsoleConsumer.scala:41) > at kafka.tools.ConsoleConsumer.main(ConsoleConsumer.scala) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-2573) Mirror maker system test hangs and eventually fails
[ https://issues.apache.org/jira/browse/KAFKA-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14905234#comment-14905234 ] Ashish K Singh commented on KAFKA-2573: --- [~granders] +1 on your suggested change, will incorporate that. By hang I meant it will be stuck before timing out and failing. What are your thoughts on the PR to address java incompatibility issue? > Mirror maker system test hangs and eventually fails > --- > > Key: KAFKA-2573 > URL: https://issues.apache.org/jira/browse/KAFKA-2573 > Project: Kafka > Issue Type: Bug >Reporter: Ashish K Singh >Assignee: Ashish K Singh > > Due to changes made in KAFKA-2015, handling of {{--consumer.config}} has > changed, more details is specified on KAFKA-2467. This leads to the exception. > {code} > Exception in thread "main" java.lang.NoSuchMethodError: > java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView; > at kafka.utils.Pool.keys(Pool.scala:77) > at > kafka.consumer.FetchRequestAndResponseStatsRegistry$.removeConsumerFetchRequestAndResponseStats(FetchRequestAndResponseStats.scala:69) > at > kafka.metrics.KafkaMetricsGroup$.removeAllConsumerMetrics(KafkaMetricsGroup.scala:189) > at > kafka.consumer.ZookeeperConsumerConnector.shutdown(ZookeeperConsumerConnector.scala:200) > at kafka.consumer.OldConsumer.stop(BaseConsumer.scala:75) > at kafka.tools.ConsoleConsumer$.process(ConsoleConsumer.scala:98) > at kafka.tools.ConsoleConsumer$.run(ConsoleConsumer.scala:57) > at kafka.tools.ConsoleConsumer$.main(ConsoleConsumer.scala:41) > at kafka.tools.ConsoleConsumer.main(ConsoleConsumer.scala) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-2573) Mirror maker system test hangs and eventually fails
[ https://issues.apache.org/jira/browse/KAFKA-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14905211#comment-14905211 ] Geoff Anderson commented on KAFKA-2573: --- See what you think of my comment on https://github.com/apache/kafka/pull/234 > Mirror maker system test hangs and eventually fails > --- > > Key: KAFKA-2573 > URL: https://issues.apache.org/jira/browse/KAFKA-2573 > Project: Kafka > Issue Type: Bug >Reporter: Ashish K Singh >Assignee: Ashish K Singh > > Due to changes made in KAFKA-2015, handling of {{--consumer.config}} has > changed, more details is specified on KAFKA-2467. This leads to the exception. > {code} > Exception in thread "main" java.lang.NoSuchMethodError: > java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView; > at kafka.utils.Pool.keys(Pool.scala:77) > at > kafka.consumer.FetchRequestAndResponseStatsRegistry$.removeConsumerFetchRequestAndResponseStats(FetchRequestAndResponseStats.scala:69) > at > kafka.metrics.KafkaMetricsGroup$.removeAllConsumerMetrics(KafkaMetricsGroup.scala:189) > at > kafka.consumer.ZookeeperConsumerConnector.shutdown(ZookeeperConsumerConnector.scala:200) > at kafka.consumer.OldConsumer.stop(BaseConsumer.scala:75) > at kafka.tools.ConsoleConsumer$.process(ConsoleConsumer.scala:98) > at kafka.tools.ConsoleConsumer$.run(ConsoleConsumer.scala:57) > at kafka.tools.ConsoleConsumer$.main(ConsoleConsumer.scala:41) > at kafka.tools.ConsoleConsumer.main(ConsoleConsumer.scala) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-2573) Mirror maker system test hangs and eventually fails
[ https://issues.apache.org/jira/browse/KAFKA-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14904012#comment-14904012 ] ASF GitHub Bot commented on KAFKA-2573: --- GitHub user SinghAsDev opened a pull request: https://github.com/apache/kafka/pull/234 KAFKA-2573: Mirror maker system test hangs and eventually fails You can merge this pull request into a Git repository by running: $ git pull https://github.com/SinghAsDev/kafka KAFKA-2573 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/234.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 #234 commit ab79b2857c21cfadb1ce9ce648fb13a51d576668 Author: Ashish SinghDate: 2015-09-22T23:21:27Z KAFKA-2573: Mirror maker system test hangs and eventually fails > Mirror maker system test hangs and eventually fails > --- > > Key: KAFKA-2573 > URL: https://issues.apache.org/jira/browse/KAFKA-2573 > Project: Kafka > Issue Type: Bug >Reporter: Ashish K Singh >Assignee: Ashish K Singh > > Due to changes made in KAFKA-2015, handling of {{--consumer.config}} has > changed, more details is specified on KAFKA-2467. This leads to the exception. > {code} > Exception in thread "main" java.lang.NoSuchMethodError: > java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView; > at kafka.utils.Pool.keys(Pool.scala:77) > at > kafka.consumer.FetchRequestAndResponseStatsRegistry$.removeConsumerFetchRequestAndResponseStats(FetchRequestAndResponseStats.scala:69) > at > kafka.metrics.KafkaMetricsGroup$.removeAllConsumerMetrics(KafkaMetricsGroup.scala:189) > at > kafka.consumer.ZookeeperConsumerConnector.shutdown(ZookeeperConsumerConnector.scala:200) > at kafka.consumer.OldConsumer.stop(BaseConsumer.scala:75) > at kafka.tools.ConsoleConsumer$.process(ConsoleConsumer.scala:98) > at kafka.tools.ConsoleConsumer$.run(ConsoleConsumer.scala:57) > at kafka.tools.ConsoleConsumer$.main(ConsoleConsumer.scala:41) > at kafka.tools.ConsoleConsumer.main(ConsoleConsumer.scala) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)