Amending your existing script as follows will probably do the trick. spark-shell << EOF val sqlContext = new org.apache.spark.sql.SQLContext(sc) ...
確定! 回上一頁