Open metasim opened 6 years ago
@jaroslaw-osmanski Do you have any assessment of this? We keep having problems with the system becoming unstable when "Abort" is used, and I'm wondering if this ticket could be the problem. Here's somewhat of a test script from one of our data scientists (we can't submit the full thing here).
I was running df.count()
in Python notebook and df.show()
and Seahorse seems to just hang. If I look at Spark Resource Manager, job is showing as complete. This also happens when I try to run a k-means node twice in a row. The first time will run fine. Second time will hang.
Here's an example workflow of when this happens with k-means and steps to repeat.
cc: @courtney-whalen
Logging this in case it helps someone else. Cause not yet known...
We were running "K-Means" through "Fit + Transform" (in local mode), and when the "fit" stage finished, the Spark job would hang, and the workflow would never progress. Clicking "Abort" wouldn't kill the job either, but "Stop editing" did.
Through the Spark UI we were able to do a thread dump and get the backtrace (below) of the thread that was blocked.
Unfortunately, haven't figured out the direct cause, but when we added the following to the "Custom settings" it the job was able to complete.
I do wonder if this is a red herring (an accidental fix that just delays the real cause), and could imagine this being related to #43 if the
OutputInterceptorFactory
isn't doing its job and keeping output buffers cleared/processed.Blocked Thread