Github user vanzin commented on the pull request:
https://github.com/apache/spark/pull/4771#issuecomment-76052585
I'm a little worried that this is treating the symptom and not the problem.
`ApplicationMaster.scala` has a shutdown hook to stop the SparkContext if the
user hasn't done it, and the hook is configured to run before HDFS's (so that
things like this exception wouldn't happen). But that only applies in cluster
mode.
spark-shell (and spark-sql?) runs in client mode, so maybe they're not
properly stopping the SparkContext, or doing it in a way that's racing with
HDFS's shutdown hook?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]