This was an unrelated bug in spark-shell