[ https://issues.apache.org/jira/browse/ATLAS-803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hemanth Yamijala resolved ATLAS-803. ------------------------------------ Resolution: Duplicate I fixed this as part of ATLAS-912. Since commit, I have seen that build reports are reporting the NotificationHookConsumerKafkaTest as passing. E.g. https://builds.apache.org/job/apache-atlas-nightly/326/console. I am closing this bug as fixed. [~nixonrodrigues], if you see it still failing in your environments, can you please reopen this? > NotificationHookConsumerKafkaTest fails sometimes while running mvn clean > install > --------------------------------------------------------------------------------- > > Key: ATLAS-803 > URL: https://issues.apache.org/jira/browse/ATLAS-803 > Project: Atlas > Issue Type: Bug > Reporter: Nixon Rodrigues > Assignee: Hemanth Yamijala > > Sometimes, while running mvn clean install exception comes: > {noformat} > NotificationHookConsumerKafkaTest.testConsumerConsumesNewMessageWithAutoCommitDisabled > and > NotificationHookConsumerKafkaTest.testConsumerRemainsAtSameMessageWithAutoCommitEnabled > tests fail, The exception seen is > kafka.consumer.ConsumerTimeoutException: null > at kafka.consumer.ConsumerIterator.makeNext(ConsumerIterator.scala:69) > at kafka.consumer.ConsumerIterator.makeNext(ConsumerIterator.scala:33) > at > kafka.utils.IteratorTemplate.maybeComputeNext(IteratorTemplate.scala:66) > at kafka.utils.IteratorTemplate.hasNext(IteratorTemplate.scala:58) > at org.apache.atlas.kafka.KafkaConsumer.hasNext(KafkaConsumer.java:69) > at > org.apache.atlas.notification.NotificationHookConsumerKafkaTest.consumeOneMessage(NotificationHookConsumerKafkaTest.java:114) > at > org.apache.atlas.notification.NotificationHookConsumerKafkaTest.testConsumerConsumesNewMessageWithAutoCommitDisabled(NotificationHookConsumerKafkaTest.java:68) > {noformat} > After adding Thread.sleep(10000) in the > NotificationHookConsumerKafkaTest.setup method after starting Kafka server, > it passes. -- This message was sent by Atlassian JIRA (v6.3.4#6332)