Re: Notebook Authorization Design

2016-02-01 Thread Prasad Wagle
Thanks Moon and Eric. I created a pull request -
https://github.com/apache/incubator-zeppelin/pull/681 and am looking
forward to community feedback.

I am getting a Travis CI build error
. Is it
caused by the code in this PR? Can someone help me find the root cause?
Btw, do we have a chat room (like gitter) for discussing Zeppelin topics?

Hi Eric - Here are my responses to your questions. Sorry if I didn't
understand them correctly.

> I read you will use an external server for authentication which will
redirect to a zeppelin server url.
Yes, we need to do that in our company environment. In my PR, I use Shiro
authentication.

> I wonder if you pull request will support multiple user for a single
server or if, just like now, we need a server deployment by user (with all
the fun with the http ports...) ? (this is not defined in your document)

What do you mean by "server deployment by user"? Doesn't Shiro
authentication support multiple users on a single server?


Regards,
Prasad


On Sun, Jan 31, 2016 at 1:38 AM, Eric Charles  wrote:

> Very nice doc!
>
> I read you will use an external server for authentication which will
> redirect to a zeppelin server url.
>
> I wonder if you pull request will support multiple user for a single
> server or if, just like now, we need a server deployment by user (with all
> the fun with the http ports...) ? (this is not defined in your document)
>
> On 31/01/16 01:57, moon soo Lee wrote:
>
>> Thanks Prasad for sharing the design document.
>> I think your document really nicely defined authorization in Zeppelin
>> and I think your approach for Notebook Authorization really make sense.
>>
>> Like DuyHai mentioned, Zeppelin uses Shiro for authentication. If
>> authorization can works smoothly with Shiro, that would be great.
>>
>> Thanks again for sharing nice documentation. And looking forward to a
>> pull request.
>>
>> Best,
>> moon
>>
>> On Fri, Jan 29, 2016 at 7:57 PM DuyHai Doan > > wrote:
>>
>> Have you look at the commit done by hayssams for Apache Shiro
>> integration with Zeppelin ?
>> https://github.com/apache/incubator-zeppelin/pull/586 ?
>>
>> There is also a JIRA to implement authorization on notes:
>> https://issues.apache.org/jira/browse/ZEPPELIN-549
>>
>> On Fri, Jan 29, 2016 at 5:30 AM, Prasad Wagle > > wrote:
>>
>> Hi,
>>
>> My team has implemented Notebook authorization using the
>> approach described in the design document here
>>  and
>> would
>> like to get feedback from the community. It would be great if we
>> could reach agreement on the high-level design before we work on
>> a pull request.
>>
>> Thanks,
>> Prasad
>>
>>
>>


-- 
Prasad Wagle
408.476.6261  |  twitter.com/prasadwagle | prasadwa...@gmail.com |
www.linkedin.com/in/prasadwagle


Re: autocompletion

2016-02-01 Thread Corneau Damien
Hi Marc,
I think this example might be what you are looking for:
https://www.zeppelinhub.com/viewer/notebooks/aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL2Nvcm5lYWRvdWcvWmVwcGVsaW4tTm90ZWJvb2tzL21hc3Rlci9BdXRvLUNvbXBsZXRlLU11bHRpU2VsZWN0L25vdGUuanNvbg

On Fri, Jan 15, 2016 at 10:49 AM, Marc Warren  wrote:

> ​Ideally, I would like to to have a string array containing all possible
> symbols a user can enter.  Then as the user enters a symbol into either a
> dynamic form or in the angular display system, as the user types, I'd like
> to check it against the allowed list and provide an auto completion option.​
>
> On Fri, Jan 15, 2016 at 11:58 AM, moon soo Lee  wrote:
>
>> Hi Marc,
>>
>> Could you be little bit more specific?
>> Text box can be created either by dynamic form (
>> http://zeppelin.incubator.apache.org/docs/latest/manual/dynamicform.html) or
>> angular display system (
>> http://zeppelin.incubator.apache.org/docs/latest/displaysystem/angular.html
>> )
>> Which one are you referring?
>>
>> Thanks,
>> moon
>>
>> On Thu, Jan 14, 2016 at 11:21 AM Marc Warren 
>> wrote:
>>
>>> If I create a text box.  Is there anyway to implement auto completion.
>>> I recall some discussion about adding autocompletion to the wish list back
>>> in September
>>>
>>> Thanks,
>>>
>>> Marc
>>>
>>>
>>>
>


Upgrade spark to 1.6.0

2016-02-01 Thread Daniel Valdivia
Hi,

I'd like to ask if there's an easy way to upgrade spark to 1.6.0 from the 
current 1.4.x that's bundled with the current release of zepellin, would 
updating the pom.xml and compiling suffice ?

Cheers

Re: autocompletion

2016-02-01 Thread Marc Warren
Thanks I got it working 

Sent from my iPhone

> On Feb 1, 2016, at 4:19 PM, Corneau Damien  wrote:
> 
> Hi Marc,
> I think this example might be what you are looking for:
> https://www.zeppelinhub.com/viewer/notebooks/aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL2Nvcm5lYWRvdWcvWmVwcGVsaW4tTm90ZWJvb2tzL21hc3Rlci9BdXRvLUNvbXBsZXRlLU11bHRpU2VsZWN0L25vdGUuanNvbg
> 
>> On Fri, Jan 15, 2016 at 10:49 AM, Marc Warren  wrote:
>> ​Ideally, I would like to to have a string array containing all possible 
>> symbols a user can enter.  Then as the user enters a symbol into either a 
>> dynamic form or in the angular display system, as the user types, I'd like 
>> to check it against the allowed list and provide an auto completion option.​
>> 
>>> On Fri, Jan 15, 2016 at 11:58 AM, moon soo Lee  wrote:
>>> Hi Marc,
>>> 
>>> Could you be little bit more specific?
>>> Text box can be created either by dynamic form 
>>> (http://zeppelin.incubator.apache.org/docs/latest/manual/dynamicform.html) 
>>> or angular display system 
>>> (http://zeppelin.incubator.apache.org/docs/latest/displaysystem/angular.html)
>>>  
>>> Which one are you referring?
>>> 
>>> Thanks,
>>> moon
>>> 
 On Thu, Jan 14, 2016 at 11:21 AM Marc Warren  wrote:
 If I create a text box.  Is there anyway to implement auto completion.  I 
 recall some discussion about adding autocompletion to the wish list back 
 in September
 
 Thanks,
 
 Marc
> 


Re: Upgrade spark to 1.6.0

2016-02-01 Thread Felix Cheung
Hi
You can see the build command line example here for spark 1.6 profile
https://github.com/apache/incubator-zeppelin/blob/master/README.md





On Mon, Feb 1, 2016 at 3:59 PM -0800, "Daniel Valdivia" 
 wrote:





Hi,

I'd like to ask if there's an easy way to upgrade spark to 1.6.0 from the 
current 1.4.x that's bundled with the current release of zepellin, would 
updating the pom.xml and compiling suffice ?

Cheers


Re: Upgrade spark to 1.6.0

2016-02-01 Thread Benjamin Kim
Hi Felix,

After installing Spark 1.6, I built Zeppelin using:

mvn clean package -Pspark-1.6 -Dspark.version=1.6.0 
-Dhadoop.version=2.6.0-cdh5.4.8 -Phadoop-2.6 -Pyarn -Ppyspark -Pvendor-repo 
-DskipTests

This worked for me.

Cheers,
Ben


> On Feb 1, 2016, at 7:44 PM, Felix Cheung  wrote:
> 
> Hi
> 
> You can see the build command line example here for spark 1.6 profile
> 
> https://github.com/apache/incubator-zeppelin/blob/master/README.md
> 
> 
> 
> 
> 
> On Mon, Feb 1, 2016 at 3:59 PM -0800, "Daniel Valdivia" 
> > wrote:
> 
> Hi,
> 
> I'd like to ask if there's an easy way to upgrade spark to 1.6.0 from the 
> current 1.4.x that's bundled with the current release of zepellin, would 
> updating the pom.xml and compiling suffice ?
> 
> Cheers