> val s3 = // connection to s3 using aws-java-sdk

Turns out:

@transient val s3 = ...

Works. I suppose I should have thought of this (...although I really
think this did work before :-), but I stumbled across:

  @transient val sc =
  org.apache.spark.repl.Main.interp.createSparkContext();

In the SparkILoopInit source, which gave me the right hint. So, I'll do
this for now.

- Stephen

Reply via email to