When using spark-shell in local mode, I've observed the following behavior on a number of nodes:
- Some operation generates an exception related to Spark SQL processing via
HiveContext
. - From that point on, nothing could be written to Hive with
saveAsTable
. - Another identically-configured version of Spark on the same machine may not exhibit the problem.
- A new identically-configured installation of the same version on the same machine would exhibit the problem.
The behavior is difficult to reproduce reliably but consistently observable with a lot of Spark SQL experimentation.