You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@livy.apache.org by wangfei <hz...@163.com> on 2019/02/19 06:18:03 UTC
the relation between session and sparkContext
Hi guys:
I recently looked at the source code of livy about interactiveSession.
I found that each interactiveSession need start a remoteSparkContext.
So i have a question, how to share a remoteSparkContext for several interactiveSessions of the same user.
Thanks!
| |
hzfeiwang
|
|
hzfeiwang@163.com
|
签名由网易邮箱大师定制
Re: the relation between session and sparkContext
Posted by Meisam Fathi <me...@gmail.com>.
Use the session ID to submit statements to a shared Livy session.
POST /sessions/{sessionId}/statements
On Mon, Feb 18, 2019, 10:24 PM wangfei <hz...@163.com> wrote:
> Hi guys:
>
> I recently looked at the source code of livy about interactiveSession.
> I found that each interactiveSession need start a remoteSparkContext.
> So i have a question, how to share a remoteSparkContext for several
> interactiveSessions of the same user.
> Thanks!
> | |
> hzfeiwang
> |
> |
> hzfeiwang@163.com
> |
> 签名由网易邮箱大师定制
>
>