You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It turned out if the first attempt of the CachedWebCrawlerJob failed due to shuffle service connectivity issue:
2024-11-16 22:38:14,911 [shuffle-client-6-1] ERROR org.apache.spark.network.client.TransportResponseHandler - Still have 1 requests outstanding when connection from eos-m2-sn03.ocean.icm.edu.pl/10.19.65.103:7337 is closed
2024-11-16 22:38:14,912 [dispatcher-event-loop-1] ERROR org.apache.spark.storage.BlockManager - Failed to connect to external shuffle server, will retry 2 more times after waiting 5 seconds...
java.lang.RuntimeException: java.util.concurrent.TimeoutException: Timeout waiting for task.
the executor given job was run by is killed in a way the lock release operation defined in finally block code:
One viable solution is to replicate the finally block execution on the oozie workflow definition level, similarly to the metadata extraction workflow where lock management logic was handled solely within oozie workflow definition becuase of the MapReduce nature of the metadata extraction job.
CachedWebCrawlerJob in contrary is a spark job so it allowed encoding lock handling logic within the same java class but it turns out it does not guarantee the finally block to be executed due to a possible forced executor kill.
It turned out if the first attempt of the
CachedWebCrawlerJob
failed due to shuffle service connectivity issue:the executor given job was run by is killed in a way the lock release operation defined in
finally
block code:iis/iis-common/src/main/java/eu/dnetlib/iis/common/cache/DocumentTextCacheStorageUtils.java
Line 82 in a3c3c5a
is not executed. This results in a 2nd attempt being stalled while waiting to obtain the lock which was not released by the 1st attempt.
Originally described in:
https://support.openaire.eu/issues/10157#note-2
The text was updated successfully, but these errors were encountered: