Re: How to submit some code segment to existing SparkContext

2018-04-11 Thread Saisai Shao
Maybe you can try Livy (http://livy.incubator.apache.org/). Thanks Jerry 2018-04-11 15:46 GMT+08:00 杜斌 : > 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 t

How to submit some code segment to existing SparkContext

2018-04-11 Thread 杜斌
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