ZeppelinContext run method runs a paragraph as anonymous user

2017-10-10 Thread Luis Angel Vicente Sanchez
This is related to ticket https://issues.apache.org/jira/browse/ZEPPELIN-2929. This is the flow of a ZeppelinContext run request, when you want to run a paragraph from a given notebook: 1. ZeppelinContext.run uses ZeppelinContext.getInterpreterContextRunner to obtain a list of Interpr

Re: ZeppelinContext run method runs a paragraph as anonymous user

2017-09-29 Thread Luis Angel Vicente Sanchez
*Deenar Toraskar *Reply-To: >> *"users@zeppelin.apache.org" *Date: >> *Wednesday, September 13, 2017 at 3:04 PM *To: >> *"users@zeppelin.apache.org" *Subject: >> *Re: ZeppelinContext run method runs a paragraph as anonymous user>> >> Hi >> >

Re: ZeppelinContext run method runs a paragraph as anonymous user

2017-09-25 Thread Deenar Toraskar
g" > Date: Wednesday, September 13, 2017 at 3:04 PM > To: "users@zeppelin.apache.org" > Subject: Re: ZeppelinContext run method runs a paragraph as anonymous user > > Hi > > I work with Luis. We have tried both options of triggering cells in the >

Re: ZeppelinContext run method runs a paragraph as anonymous user

2017-09-14 Thread Deenar Toraskar
gt; Best Regard, > Jeff Zhang > > > > *From: *Deenar Toraskar > *Reply-To: *"users@zeppelin.apache.org" > *Date: *Wednesday, September 13, 2017 at 3:04 PM > *To: *"users@zeppelin.apache.org" > *Subject: *Re: ZeppelinContext run method runs a paragraph as anonymous &

Re: ZeppelinContext run method runs a paragraph as anonymous user

2017-09-13 Thread Luis Angel Vicente Sanchez
eff Zhang > > > > *From: *Deenar Toraskar *Reply-To: > *"users@zeppelin.apache.org" *Date: > *Wednesday, September 13, 2017 at 3:04 PM *To: > *"users@zeppelin.apache.org" *Subject: > *Re: ZeppelinContext run method runs a paragraph as anonymous user&g

Re: ZeppelinContext run method runs a paragraph as anonymous user

2017-09-13 Thread Jianfeng (Jeff) Zhang
org<mailto:users@zeppelin.apache.org>" mailto:users@zeppelin.apache.org>> Date: Wednesday, September 13, 2017 at 3:04 PM To: "users@zeppelin.apache.org<mailto:users@zeppelin.apache.org>" mailto:users@zeppelin.apache.org>> Subject: Re: ZeppelinContext run method runs

Re: ZeppelinContext run method runs a paragraph as anonymous user

2017-09-13 Thread Deenar Toraskar
Hi I work with Luis. We have tried both options of triggering cells in the same notebook using z.run(paraIndex) as well as the paragraph id z.run("20170620-085926_474506193") . We are happy to patch Zeppelin. Would be grateful if you can point us to the right direction on how to propogate the cre

Re: ZeppelinContext run method runs a paragraph as anonymous user

2017-09-12 Thread Luis Angel Vicente Sanchez
I also tried with z.run(paragraphSeqNumber) -- Luis Angel Vicente Sanchez zeppelin-us...@bigcente.ch On Tue, 12 Sep 2017, at 09:22, Luis Angel Vicente Sanchez wrote: > That's quite simple actually. Zeppelin exposes the ZeppelinContext as > the variable z... you just need to do this:> > z.

Re: ZeppelinContext run method runs a paragraph as anonymous user

2017-09-12 Thread Luis Angel Vicente Sanchez
That's quite simple actually. Zeppelin exposes the ZeppelinContext as the variable z... you just need to do this: z.run(paragraphId) -- Luis Angel Vicente Sanchez zeppelin-us...@bigcente.ch On Tue, 12 Sep 2017, at 03:33, Park Hoon wrote: > Hi, could you share the paragraph to show how did

Re: ZeppelinContext run method runs a paragraph as anonymous user

2017-09-11 Thread Park Hoon
Hi, could you share the paragraph to show how did you run a paragraph in a different paragraph? > if we want to run a paragraph from another paragraph in the same notebook (to refresh it), Regard, On Mon, Sep 11, 2017 at 11:24 PM, Luis Angel Vicente Sanchez < zeppelin-us...@bigcente.ch> wrote:

Re: ZeppelinContext run method runs a paragraph as anonymous user

2017-09-11 Thread Luis Angel Vicente Sanchez
Some extra info: println(s"AUTHENTICATION INFO :: ${z.getInterpreterContext.getAuthenticationInfo.getUser} ${z.getInterpreterContext.getAuthenticationInfo.getTicket}") That line inside a Spark notebook prints both the user name and the ticket that the user gets after a successful login... so the

Re: ZeppelinContext run method runs a paragraph as anonymous user

2017-09-11 Thread Luis Angel Vicente Sanchez
And we are running the notebook using spark local, and using a whirl JdbcRealm to authenticate users is there anything we can do to make the spark interpreter impersonate the front-end user? -- Luis Angel Vicente Sanchez zeppelin-us...@bigcente.ch On Mon, 11 Sep 2017, at 11:14, Luis Angel Vi

Re: ZeppelinContext run method runs a paragraph as anonymous user

2017-09-11 Thread Luis Angel Vicente Sanchez
We are using Zeppelin 0.7.1/ -- Luis Angel Vicente Sanchez zeppelin-us...@bigcente.ch On Mon, 11 Sep 2017, at 11:12, Luis Angel Vicente Sanchez wrote: > Hi, > > We have enabled notebook permissions in our Zeppelin installation and > now we are facing the problem that if we want to run a pa

ZeppelinContext run method runs a paragraph as anonymous user

2017-09-11 Thread Luis Angel Vicente Sanchez
Hi, We have enabled notebook permissions in our Zeppelin installation and now we are facing the problem that if we want to run a paragraph from another paragraph in the same notebook (to refresh it), the user that is running that paragraph is the anonymous user and not the front-end user and, ther