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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to