attilapiros commented on issue #24499: [SPARK-25888][Core] Serve local disk 
persisted blocks by the external service after releasing executor by dynamic 
allocation
URL: https://github.com/apache/spark/pull/24499#issuecomment-489123722
 
 
   The last commit is tested manually (in standalone mode):
   
   ~~~
   $ grep "ExternalShuffleBlockResolver: Clean" 
/Users/attilapiros/github/spark/logs/spark-attilapiros-org.apache.spark.deploy.worker.Worker-1-apiros-MBP.local.out
   19/05/03 16:34:05 INFO ExternalShuffleBlockResolver: Clean up non-shuffle 
and non-RDD files associated with the finished executor 0
   19/05/03 16:34:05 INFO ExternalShuffleBlockResolver: Cleaning up non-shuffle 
and non-RDD files in executor AppExecId{appId=app-20190503163259-0000, 
execId=0}'s 1 local dirs
   19/05/03 16:34:07 INFO ExternalShuffleBlockResolver: Clean up non-shuffle 
and non-RDD files associated with the finished executor 1
   19/05/03 16:34:07 INFO ExternalShuffleBlockResolver: Cleaning up non-shuffle 
and non-RDD files in executor AppExecId{appId=app-20190503163259-0000, 
execId=1}'s 1 local dirs
   19/05/03 16:34:07 INFO ExternalShuffleBlockResolver: Clean up non-shuffle 
and non-RDD files associated with the finished executor 2
   19/05/03 16:34:07 INFO ExternalShuffleBlockResolver: Cleaning up non-shuffle 
and non-RDD files in executor AppExecId{appId=app-20190503163259-0000, 
execId=2}'s 1 local dirs
   19/05/03 16:34:09 INFO ExternalShuffleBlockResolver: Clean up non-shuffle 
and non-RDD files associated with the finished executor 5
   19/05/03 16:34:09 INFO ExternalShuffleBlockResolver: Cleaning up non-shuffle 
and non-RDD files in executor AppExecId{appId=app-20190503163259-0000, 
execId=5}'s 1 local dirs
   19/05/03 16:34:09 INFO ExternalShuffleBlockResolver: Clean up non-shuffle 
and non-RDD files associated with the finished executor 4
   19/05/03 16:34:09 INFO ExternalShuffleBlockResolver: Cleaning up non-shuffle 
and non-RDD files in executor AppExecId{appId=app-20190503163259-0000, 
execId=4}'s 1 local dirs
   19/05/03 16:34:10 INFO ExternalShuffleBlockResolver: Clean up non-shuffle 
and non-RDD files associated with the finished executor 3
   19/05/03 16:34:10 INFO ExternalShuffleBlockResolver: Cleaning up non-shuffle 
and non-RDD files in executor AppExecId{appId=app-20190503163259-0000, 
execId=3}'s 1 local dirs
   19/05/03 16:34:10 INFO ExternalShuffleBlockResolver: Clean up non-shuffle 
and non-RDD files associated with the finished executor 6
   19/05/03 16:34:10 INFO ExternalShuffleBlockResolver: Cleaning up non-shuffle 
and non-RDD files in executor AppExecId{appId=app-20190503163259-0000, 
execId=6}'s 1 local dirs
   19/05/03 16:35:00 INFO ExternalShuffleBlockResolver: Clean up non-shuffle 
and non-RDD files associated with the finished executor 7
   19/05/03 16:35:00 INFO ExternalShuffleBlockResolver: Cleaning up non-shuffle 
and non-RDD files in executor AppExecId{appId=app-20190503163259-0000, 
execId=7}'s 1 local dirs
   19/05/03 16:35:00 INFO ExternalShuffleBlockResolver: Cleaning up executor 
AppExecId{appId=app-20190503163259-0000, execId=0}'s 1 local dirs
   19/05/03 16:35:00 INFO ExternalShuffleBlockResolver: Cleaning up executor 
AppExecId{appId=app-20190503163259-0000, execId=1}'s 1 local dirs
   19/05/03 16:35:00 INFO ExternalShuffleBlockResolver: Cleaning up executor 
AppExecId{appId=app-20190503163259-0000, execId=6}'s 1 local dirs
   19/05/03 16:35:00 INFO ExternalShuffleBlockResolver: Cleaning up executor 
AppExecId{appId=app-20190503163259-0000, execId=7}'s 1 local dirs
   19/05/03 16:35:00 INFO ExternalShuffleBlockResolver: Cleaning up executor 
AppExecId{appId=app-20190503163259-0000, execId=4}'s 1 local dirs
   19/05/03 16:35:00 INFO ExternalShuffleBlockResolver: Cleaning up executor 
AppExecId{appId=app-20190503163259-0000, execId=5}'s 1 local dirs
   19/05/03 16:35:00 INFO ExternalShuffleBlockResolver: Cleaning up executor 
AppExecId{appId=app-20190503163259-0000, execId=2}'s 1 local dirs
   19/05/03 16:35:00 INFO ExternalShuffleBlockResolver: Cleaning up executor 
AppExecId{appId=app-20190503163259-0000, execId=3}'s 1 local dirs
   ~~~
   
   And there were no block recalculation:
   
   ~~~
   $ grep "Attila: calculate" work/app-20190503163259-0000/*/stdout | wc -l
        100
   ~~~

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to