Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When executing a Spark parfor, the SparkParforWorker throws an exception which states that the localtmpdir could not be created. This is due to the fact that multiple executors are running multithreaded on the same worker.
The createDistributedUniqueID() method in the IDHander.java creates unique IDs only per pid and host, not per thread. This could potentially be solved by adding the threadID to the unique ID. The question is if every thread should have its own cache or if the logic should be changed so that the first creation will be successful and then the threads share one cache.
Attachments
Issue Links
- relates to
-
SYSTEMDS-1130 Parfor remote_spark misses a proper cleanup
- Closed