javadba javadba - 1 year ago 138
Scala Question

Run startup commands in spark-shell


option for
repl does not work with
: it silently ignores the option. Specifically:

spark-shell -i ~/.scalarc

does not load the

Is there another means to load startup (scala) commands into the spark-repl?

Answer Source

The workaround is to use :load

:load /Users/steve/.scalarc

spark-shell does not support some command line parameters nor does it support :power mode .

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download