You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "tejaswini-imply (via GitHub)" <gi...@apache.org> on 2023/02/27 10:21:39 UTC

[GitHub] [druid] tejaswini-imply opened a new pull request, #13855: Fix flaky BatchIndex IT failures.

tejaswini-imply opened a new pull request, #13855:
URL: https://github.com/apache/druid/pull/13855

   Fixed the Lock for interval was revoked for kill tasks bug in BatchIndex ITs
   
   ```
   2023-02-16T06:10:14,026 INFO [main] org.apache.druid.indexing.worker.executor.ExecutorLifecycle - Attempting to lock file[/tmp/persistent/task/api-issued_kill_wikipedia_parallel_index_test_jbhgipfi_2013-08-31T00:00:00.000Z_2013-09-02T00:00:00.000Z_2023-02-16T06:10:07.749Z/lock].
   2023-02-16T06:10:14,029 INFO [main] org.apache.druid.indexing.worker.executor.ExecutorLifecycle - Acquired lock file[/tmp/persistent/task/api-issued_kill_wikipedia_parallel_index_test_jbhgipfi_2013-08-31T00:00:00.000Z_2013-09-02T00:00:00.000Z_2023-02-16T06:10:07.749Z/lock] in 2ms.
   2023-02-16T06:10:14,131 ERROR [main] org.apache.druid.cli.CliPeon - Error when starting up.  Failing.
   java.lang.reflect.InvocationTargetException: null
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_342]
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_342]
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_342]
   	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_342]
   	at org.apache.druid.java.util.common.lifecycle.Lifecycle$AnnotationBasedHandler.start(Lifecycle.java:446) ~[druid-core-2023.02.0-iap-SNAPSHOT.jar:2023.02.0-iap-SNAPSHOT]
   	at org.apache.druid.java.util.common.lifecycle.Lifecycle.start(Lifecycle.java:341) ~[druid-core-2023.02.0-iap-SNAPSHOT.jar:2023.02.0-iap-SNAPSHOT]
   	at org.apache.druid.guice.LifecycleModule$2.start(LifecycleModule.java:152) ~[druid-core-2023.02.0-iap-SNAPSHOT.jar:2023.02.0-iap-SNAPSHOT]
   	at org.apache.druid.cli.GuiceRunnable.initLifecycle(GuiceRunnable.java:136) ~[druid-services-2023.02.0-iap-SNAPSHOT.jar:2023.02.0-iap-SNAPSHOT]
   	at org.apache.druid.cli.GuiceRunnable.initLifecycle(GuiceRunnable.java:94) ~[druid-services-2023.02.0-iap-SNAPSHOT.jar:2023.02.0-iap-SNAPSHOT]
   	at org.apache.druid.cli.CliPeon.run(CliPeon.java:310) ~[druid-services-2023.02.0-iap-SNAPSHOT.jar:2023.02.0-iap-SNAPSHOT]
   	at org.apache.druid.cli.Main.main(Main.java:112) ~[druid-services-2023.02.0-iap-SNAPSHOT.jar:2023.02.0-iap-SNAPSHOT]
   Caused by: org.apache.druid.java.util.common.ISE: Failed to run task[api-issued_kill_wikipedia_parallel_index_test_jbhgipfi_2013-08-31T00:00:00.000Z_2013-09-02T00:00:00.000Z_2023-02-16T06:10:07.749Z] isReady
   	at org.apache.druid.indexing.worker.executor.ExecutorLifecycle.start(ExecutorLifecycle.java:173) ~[druid-indexing-service-2023.02.0-iap-SNAPSHOT.jar:2023.02.0-iap-SNAPSHOT]
   	... 11 more
   Caused by: org.apache.druid.java.util.common.ISE: Lock for interval [2013-08-31T00:00:00.000Z/2013-09-02T00:00:00.000Z] was revoked.
   	at org.apache.druid.indexing.common.task.AbstractFixedIntervalTask.isReady(AbstractFixedIntervalTask.java:92) ~[druid-indexing-service-2023.02.0-iap-SNAPSHOT.jar:2023.02.0-iap-SNAPSHOT]
   	at org.apache.druid.indexing.worker.executor.ExecutorLifecycle.start(ExecutorLifecycle.java:168) ~[druid-indexing-service-2023.02.0-iap-SNAPSHOT.jar:2023.02.0-iap-SNAPSHOT]
   	... 11 more
   
   ITBestEffortRollupParallelIndexTest.testIndexData:142->AbstractIndexerTest.lambda$unloader$0:71->AbstractIndexerTest.unloadAndKillData:85 ยป ISE Error while making request to indexer [404 Not Found No task reports were found for this task. The task may not exist, or it may not have completed yet.]
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [druid] paul-rogers merged pull request #13855: Fix flaky BatchIndex IT failures.

Posted by "paul-rogers (via GitHub)" <gi...@apache.org>.
paul-rogers merged PR #13855:
URL: https://github.com/apache/druid/pull/13855


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [druid] paul-rogers commented on pull request #13855: Fix flaky BatchIndex IT failures.

Posted by "paul-rogers (via GitHub)" <gi...@apache.org>.
paul-rogers commented on PR #13855:
URL: https://github.com/apache/druid/pull/13855#issuecomment-1446802383

   An IT failed waiting for one of the services to become ready. This failure seems independent of the fix in this PR. Going to try to rerun to see if we get better results. That is, there is something flaky, but not the flakiness that this PR fixes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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