You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2018/08/10 00:14:41 UTC

[GitHub] jihoonson opened a new issue #6139: Race in KafkaSupervisorTest.testCheckpointForUnknownTaskGroup()

jihoonson opened a new issue #6139: Race in KafkaSupervisorTest.testCheckpointForUnknownTaskGroup()
URL: https://github.com/apache/incubator-druid/issues/6139
 
 
   The stacktrace is:
   
   ```
   2018-08-10T00:03:11,557 ERROR [KafkaSupervisor-testDS] io.druid.indexing.kafka.supervisor.KafkaSupervisor - KafkaSupervisor[testDS] failed to handle notice: {class=io.druid.indexing.kafka.supervisor.KafkaSupervisor, exceptionType=class io.druid.java.util.common.ISE, exceptionMessage=WTH?! cannot find taskGroup [0] among all taskGroups [{}], noticeClass=CheckpointNotice}
   io.druid.java.util.common.ISE: WTH?! cannot find taskGroup [0] among all taskGroups [{}]
   	at io.druid.indexing.kafka.supervisor.KafkaSupervisor$CheckpointNotice.isValidTaskGroup(KafkaSupervisor.java:686) ~[classes/:?]
   	at io.druid.indexing.kafka.supervisor.KafkaSupervisor$CheckpointNotice.handle(KafkaSupervisor.java:638) ~[classes/:?]
   	at io.druid.indexing.kafka.supervisor.KafkaSupervisor$2.run(KafkaSupervisor.java:363) [classes/:?]
   	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_161]
   	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_161]
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_161]
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_161]
   	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
   ```
   
   The corresponding code is:
   
   ```java
   Assert.assertNotNull(serviceEmitter.getStackTrace());
   ```
   
   So, the issue is, `serviceEmitter.getStackTrace()` can return null when this check is called, so the test should wait for the stacktrace to be set.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org