While running multiple msearch API through Java clients, I found one of the tasks took abnormally long.
So I executed Task Cancel API, but it doesn't seem cleanup properly.
When I check the task via Task API, it shows cancelled: true, cancellable: true, completed: false and running time is still increasing.
I know it doesn't work right away, however, it has been almost a day.
Now, I need to figure it out what should I do in this situation.
My question is:
Why cancelled task (cancelled: true) is still on the list? Do I need to keep waiting?
What could be the solution for this situation? delete the task forcibly? reboot server? force merge? etc
I don't think that there is much that you can do, I would suggest that you try to restart the node where the task is running to see if this solve this issue.
I think this is a bug. Possibly it's been fixed already in the couple of years since 7.10 was released, but if you can reproduce it in a supported version then I would like to investigate further.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.