Maybe you can try Livy (http://livy.incubator.apache.org/).
Thanks Jerry 2018-04-11 15:46 GMT+08:00 杜斌 <dubin...@gmail.com>: > Hi, > > Is there any way to submit some code segment to the existing SparkContext? > Just like a web backend, send some user code to the Spark to run, but the > initial SparkContext takes time, just want to execute some code or Spark > Sql, and get the result quickly. > > Thanks, > Bin >