Well, there is
SparkContext.getExecutorMemoryStatus and SparkContext.getExecutorStorageStatus. Calling them periodically would get you some of the way there..Read full article from scala - Monitor different blocks of memory usage in Spark and know what is running out on OOM? - Stack Overflow
No comments:
Post a Comment