Re: Restful API Spark Application

2017-05-16 Thread Debasish Das
You can run l
On May 15, 2017 3:29 PM, "Nipun Arora"  wrote:

> Thanks all for your response. I will have a look at them.
>
> Nipun
>
> On Sat, May 13, 2017 at 2:38 AM vincent gromakowski <
> vincent.gromakow...@gmail.com> wrote:
>
>> It's in scala but it should be portable in java
>> https://github.com/vgkowski/akka-spark-experiments
>>
>>
>> Le 12 mai 2017 10:54 PM, "Василец Дмитрий"  a
>> écrit :
>>
>> and livy https://hortonworks.com/blog/livy-a-rest-interface-for-
>> apache-spark/
>>
>> On Fri, May 12, 2017 at 10:51 PM, Sam Elamin 
>> wrote:
>> > Hi Nipun
>> >
>> > Have you checked out the job servwr
>> >
>> > https://github.com/spark-jobserver/spark-jobserver
>> >
>> > Regards
>> > Sam
>> > On Fri, 12 May 2017 at 21:00, Nipun Arora 
>> wrote:
>> >>
>> >> Hi,
>> >>
>> >> We have written a java spark application (primarily uses spark sql). We
>> >> want to expand this to provide our application "as a service". For
>> this, we
>> >> are trying to write a REST API. While a simple REST API can be easily
>> made,
>> >> and I can get Spark to run through the launcher. I wonder, how the
>> spark
>> >> context can be used by service requests, to process data.
>> >>
>> >> Are there any simple JAVA examples to illustrate this use-case? I am
>> sure
>> >> people have faced this before.
>> >>
>> >>
>> >> Thanks
>> >> Nipun
>>
>> -
>> To unsubscribe e-mail: user-unsubscr...@spark.apache.org
>>
>>
>>


Re: Restful API Spark Application

2017-05-15 Thread Nipun Arora
Thanks all for your response. I will have a look at them.

Nipun

On Sat, May 13, 2017 at 2:38 AM vincent gromakowski <
vincent.gromakow...@gmail.com> wrote:

> It's in scala but it should be portable in java
> https://github.com/vgkowski/akka-spark-experiments
>
>
> Le 12 mai 2017 10:54 PM, "Василец Дмитрий"  a
> écrit :
>
> and livy
> https://hortonworks.com/blog/livy-a-rest-interface-for-apache-spark/
>
> On Fri, May 12, 2017 at 10:51 PM, Sam Elamin 
> wrote:
> > Hi Nipun
> >
> > Have you checked out the job servwr
> >
> > https://github.com/spark-jobserver/spark-jobserver
> >
> > Regards
> > Sam
> > On Fri, 12 May 2017 at 21:00, Nipun Arora 
> wrote:
> >>
> >> Hi,
> >>
> >> We have written a java spark application (primarily uses spark sql). We
> >> want to expand this to provide our application "as a service". For
> this, we
> >> are trying to write a REST API. While a simple REST API can be easily
> made,
> >> and I can get Spark to run through the launcher. I wonder, how the spark
> >> context can be used by service requests, to process data.
> >>
> >> Are there any simple JAVA examples to illustrate this use-case? I am
> sure
> >> people have faced this before.
> >>
> >>
> >> Thanks
> >> Nipun
>
> -
> To unsubscribe e-mail: user-unsubscr...@spark.apache.org
>
>
>


Re: Restful API Spark Application

2017-05-13 Thread vincent gromakowski
It's in scala but it should be portable in java
https://github.com/vgkowski/akka-spark-experiments


Le 12 mai 2017 10:54 PM, "Василец Дмитрий"  a
écrit :

and livy https://hortonworks.com/blog/livy-a-rest-interface-for-
apache-spark/

On Fri, May 12, 2017 at 10:51 PM, Sam Elamin 
wrote:
> Hi Nipun
>
> Have you checked out the job servwr
>
> https://github.com/spark-jobserver/spark-jobserver
>
> Regards
> Sam
> On Fri, 12 May 2017 at 21:00, Nipun Arora 
wrote:
>>
>> Hi,
>>
>> We have written a java spark application (primarily uses spark sql). We
>> want to expand this to provide our application "as a service". For this,
we
>> are trying to write a REST API. While a simple REST API can be easily
made,
>> and I can get Spark to run through the launcher. I wonder, how the spark
>> context can be used by service requests, to process data.
>>
>> Are there any simple JAVA examples to illustrate this use-case? I am sure
>> people have faced this before.
>>
>>
>> Thanks
>> Nipun

-
To unsubscribe e-mail: user-unsubscr...@spark.apache.org


Re: Restful API Spark Application

2017-05-12 Thread Василец Дмитрий
and livy https://hortonworks.com/blog/livy-a-rest-interface-for-apache-spark/

On Fri, May 12, 2017 at 10:51 PM, Sam Elamin  wrote:
> Hi Nipun
>
> Have you checked out the job servwr
>
> https://github.com/spark-jobserver/spark-jobserver
>
> Regards
> Sam
> On Fri, 12 May 2017 at 21:00, Nipun Arora  wrote:
>>
>> Hi,
>>
>> We have written a java spark application (primarily uses spark sql). We
>> want to expand this to provide our application "as a service". For this, we
>> are trying to write a REST API. While a simple REST API can be easily made,
>> and I can get Spark to run through the launcher. I wonder, how the spark
>> context can be used by service requests, to process data.
>>
>> Are there any simple JAVA examples to illustrate this use-case? I am sure
>> people have faced this before.
>>
>>
>> Thanks
>> Nipun

-
To unsubscribe e-mail: user-unsubscr...@spark.apache.org



Re: Restful API Spark Application

2017-05-12 Thread Sam Elamin
Hi Nipun

Have you checked out the job servwr

https://github.com/spark-jobserver/spark-jobserver

Regards
Sam
On Fri, 12 May 2017 at 21:00, Nipun Arora  wrote:

> Hi,
>
> We have written a java spark application (primarily uses spark sql). We
> want to expand this to provide our application "as a service". For this, we
> are trying to write a REST API. While a simple REST API can be easily made,
> and I can get Spark to run through the launcher. I wonder, how the spark
> context can be used by service requests, to process data.
>
> Are there any simple JAVA examples to illustrate this use-case? I am sure
> people have faced this before.
>
>
> Thanks
> Nipun
>


Restful API Spark Application

2017-05-12 Thread Nipun Arora
Hi,

We have written a java spark application (primarily uses spark sql). We
want to expand this to provide our application "as a service". For this, we
are trying to write a REST API. While a simple REST API can be easily made,
and I can get Spark to run through the launcher. I wonder, how the spark
context can be used by service requests, to process data.

Are there any simple JAVA examples to illustrate this use-case? I am sure
people have faced this before.


Thanks
Nipun