Re: Zeppelin directory structure for S3 notebook storage

2017-07-21 Thread Richard Xin
correction:I tried both "user" and  "username", 
and the S3 directory structure is actually like this:

{bucket}/username/notebook/{notebook-id}/note.json instead of advertised 
"{bucket}/{username}/{notebook-id}/note.json"
Please advise.Thanks
On Friday, July 21, 2017, 3:02:15 PM PDT, Richard Xin  
wrote:

oops, accidentally clicked "send" ...
1. enabled default security by renaming shiro.ini (default user admin, user1,2 
...)2. enabled S3 storage, and my config in zeppelin-site.xml
  
zeppelin.notebook.s3.user  username  
user name for s3 folder structure
I noticed that my s3 has following directory 
structure:{bucket}/username/{notebook-id}/  (where username didn't change for 
different users)

I was expecting {bucket}/{username}/{notebook-id}/, such 
as{bucket}/admin/{notebook-id}/  and {bucket}/user1/{notebook-id}/ 
Did I miss anything?Thanks


On Friday, July 21, 2017, 2:58:09 PM PDT, Richard Xin  
wrote:

1. enabled default security by renaming shiro.ini (default user admin, user1,2 
...)2. enabled S3 storage, and my config in 
  
zeppelin.notebook.s3.user  username  
user name for s3 folder structure


Re: Zeppelin directory structure for S3 notebook storage

2017-07-21 Thread Richard Xin
oops, accidentally clicked "send" ...
1. enabled default security by renaming shiro.ini (default user admin, user1,2 
...)2. enabled S3 storage, and my config in zeppelin-site.xml
  
zeppelin.notebook.s3.user  username  
user name for s3 folder structure
I noticed that my s3 has following directory 
structure:{bucket}/username/{notebook-id}/  (where username didn't change for 
different users)

I was expecting {bucket}/{username}/{notebook-id}/, such 
as{bucket}/admin/{notebook-id}/  and {bucket}/user1/{notebook-id}/ 
Did I miss anything?Thanks


On Friday, July 21, 2017, 2:58:09 PM PDT, Richard Xin  
wrote:

1. enabled default security by renaming shiro.ini (default user admin, user1,2 
...)2. enabled S3 storage, and my config in 
  
zeppelin.notebook.s3.user  username  
user name for s3 folder structure


Zeppelin directory structure for S3 notebook storage

2017-07-21 Thread Richard Xin
1. enabled default security by renaming shiro.ini (default user admin, user1,2 
...)2. enabled S3 storage, and my config in 
  
zeppelin.notebook.s3.user  username  
user name for s3 folder structure


Unable to use angular backend or front end API to print variables

2017-07-21 Thread Arun Natva

> Hi,
> I am trying to use zeppelin angular Interpreter to build an interactive 
> report.
> 
> Installed zeppelin 0.6.0 on HDP 2.5.2. When I bind a value using 
> z.angularBind(), the variable is not printing in the print statement.
> 
> Can anyone please shed light on what I am missing ?
> 
> Paragraph1:
> 
> %spark
> 
> z.angularBind("name", "Arun Natva")
> 
> 
> Paragraph2:
> 
> %spark
> 
> Println("%angular  Hello {{name}}")
> 
> Above code prints "Hello" instead of "Hello Arun Natva"
> 
> I tried to start with %angular but it was throwing some other connection 
> error.
> 
> I tried adding maven dependencies of angular plugin in the zeppelin 
> configuration but no luck.
> 
> org.apache.zeppelin:zeppelin-angular:0.6.0
> 
> 
> Also, what the the difference between Frontend vs Backend API for angular on 
> Zeppelin ?
> 
> 
> Appreciate your help !!
> 
> Thanks!
> 
> Sent from my iPhone


Re: Invoke notebook from REST api?

2017-07-21 Thread darren
Thank you




Get Outlook for Android







From: Park Hoon


Sent: Friday, July 21, 3:34 AM


Subject: Re: Invoke notebook from REST api?


To: users@zeppelin.apache.org








Hi, 




You can run a specific paragraph async / sync




- 
http://zeppelin.apache.org/docs/0.8.0-SNAPSHOT/usage/rest_api/notebook.html#run-a-paragraph-asynchronously




or are able to run the note (containing paragraphs)




- 
http://zeppelin.apache.org/docs/0.8.0-SNAPSHOT/usage/rest_api/notebook.html#run-all-paragraphs




Regard, 






On Thu, Jul 20, 2017 at 11:15 PM,  wrote:


Is this possible?




Thank you.




Get Outlook for Android














Re: Caused by: java.lang.NoSuchMethodError: org.apache.zeppelin.interpreter.InterpreterGroup.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;

2017-07-21 Thread Park Hoon
Hi,

Zeppelin 0.7.1 was built using JDK 8, so it requires JDK8+

Could you test it with Zeppelin 0.7.2 and JDK7? It will work.



Thanks.

On Mon, Jun 26, 2017 at 10:10 PM, Serega Sheypak 
wrote:

> Hi, what is the right way to fix it? Found: https://issues.apache.
> org/jira/browse/ZEPPELIN-2405
> But I do compile with java-7 and run on java-7...
>


Re: Invoke notebook from REST api?

2017-07-21 Thread Park Hoon
Hi,

You can run a specific paragraph async / sync

-
http://zeppelin.apache.org/docs/0.8.0-SNAPSHOT/usage/rest_api/notebook.html#run-a-paragraph-asynchronously

or are able to run the note (containing paragraphs)

-
http://zeppelin.apache.org/docs/0.8.0-SNAPSHOT/usage/rest_api/notebook.html#run-all-paragraphs

Regard,


On Thu, Jul 20, 2017 at 11:15 PM,  wrote:

> Is this possible?
>
> Thank you.
>
> Get Outlook for Android 
>
>


Re: Locking a paragraph for editing

2017-07-21 Thread Park Hoon
Hi,

AFAIK, Zeppelin doesn't distinguish the roles for running and modification.
`Writer` and `Owner` can execute and edit the paragraph.

-
https://github.com/apache/zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/socket/NotebookServer.java#L1718-L1727


Regard,

On Fri, Jul 21, 2017 at 8:19 AM, Ben Vogan  wrote:

> Hi all,
>
> Is it possible to allow someone to view and run paragraphs in a note, but
> not allow them to edit them?  If so, how do I do that?
>
> Thanks,
>
> --
> *BENJAMIN VOGAN* | Data Platform Team Lead
>
> 
>  
>  
> 
>