You may try zeppelin which provide rest api to execute code

https://zeppelin.apache.org/docs/0.8.0-SNAPSHOT/usage/rest_api/notebook.html#create-a-new-note


kant kodali <kanth...@gmail.com>于2017年9月21日周四 上午4:09写道:

> Is there an API like SparkILoop
> <https://spark.apache.org/docs/0.8.0/api/repl/org/apache/spark/repl/SparkILoop.html>
>  for
> Python?
>
> On Wed, Sep 20, 2017 at 7:17 AM, Jean Georges Perrin <j...@jgp.net> wrote:
>
>> It all depends what you want to do :) - we've implemented some dynamic
>> interpretation of Java code through dynamic class loading, not as powerful
>> and requires some work on your end, but you can build a Java-based
>> interpreter.
>>
>> jg
>>
>>
>> On Sep 20, 2017, at 08:06, kant kodali <kanth...@gmail.com> wrote:
>>
>> Got it! Thats what I thought. Java 9 is going to release tomorrow
>> http://www.java9countdown.xyz/
>>
>> Which has the repl called Jshell.
>>
>>
>>
>> On Wed, Sep 20, 2017 at 5:45 AM, Weichen Xu <weichen...@databricks.com>
>> wrote:
>>
>>> I haven't hear that. It seems that java do not have an official REPL.
>>>
>>> On Wed, Sep 20, 2017 at 8:38 PM, kant kodali <kanth...@gmail.com> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I am wondering if there is a SparkILoop
>>>> <https://spark.apache.org/docs/0.8.0/api/repl/org/apache/spark/repl/SparkILoop.html>
>>>>  for
>>>> java so I can pass Java code as a string to repl?
>>>>
>>>> Thanks!
>>>>
>>>
>>>
>>
>

Reply via email to