To my surprise, JavaDStream class (descendant of DStream?) has no save file method. Its, exactly as written, have DStream.
And, this approach works:
And, this approach works:
frames.dstream().saveAsTextFiles("hdfs://...
Notes on the cuff
export SPARK_EXECUTOR_INSTANCES=N