Re: REST API for updating interpreter settings

2017-01-13 Thread Deenar Toraskar
Ahyoung Thanks for your response. It turns out I was using POST instead of PUT. I got it working. It would be useful if there was an API that just incrementally updated a single interpreter property. With the currently API, if you just want to update a single property, you still have to submit the

Re: REST API for updating interpreter settings

2017-01-11 Thread Ahyoung Ryu
Hi Deenar, The below sample input is just example. So you need to modify at lease "propname", "dependencies" and their values as well. { "name": "Markdown setting name", "group": "md", "properties": { "propname": "Otherpropvalue" }, "interpreterGroup": [ { "class": "org.apache.zeppelin.markdown.

Re: Rest API

2016-06-24 Thread moon soo Lee
getProgress() call gives status of job running in the interpreter but there're no api that gives status of the interpreter. I think some api for checking interpreter status is good to have. So interpreter menu can leverage this api as well, to show not only interpreter configuration but also statu

Re: Rest API

2016-06-24 Thread kevin giroux
Hi, I have another question for you, about interpreter, Sometime, a interpreter are ... slow or crash ? (i don't know if i can say crash but anyway), Does the exist a way for checking the status of each interpreter ? For example, my psql interpreter crash and i have to restart manually. I saw

Re: Rest API

2016-06-23 Thread moon soo Lee
Glad to hear it works. Thanks for sharing the problem and creating an issue! Best, moon On Thu, Jun 23, 2016 at 9:33 PM kevin giroux wrote: > Don't worry about that, i'm sure you have a lot of work to do, > > We found the trick, (the format of the data we send was not correct, and > the zeppeli

Re: Rest API

2016-06-23 Thread kevin giroux
Don't worry about that, i'm sure you have a lot of work to do, We found the trick, (the format of the data we send was not correct, and the zeppelin throw a Java.Null.Pointer) We have juste change it and now it works. Le ven. 24 juin 2016 à 05:15, moon soo Lee a écrit : > Apologies for late re

Re: Rest API

2016-06-23 Thread moon soo Lee
Apologies for late response. I'm not sure how your paragraphs went into the "PENDING", but if you're trying to run paragraph, "RUN_PARAGRAPH" message [1] need to be sent. And i think some additional fields (principal, ticket, roles) are required, too [2]. Thanks, moon [1] https://github.com/apach

Re: Rest API

2016-06-17 Thread kevin giroux
Hi moon soo Lee, I add the an issues about that on JIRA => https://issues.apache.org/jira/browse/ZEPPELIN-1029 i try to use websocket also for changing the configuration as you said yesterday, but my call is always in "PENDING" Here there is my websocket call, on Angular2 with a Angular2-webso

Re: Rest API

2016-06-16 Thread moon soo Lee
Yes, it's reasonable to have RestAPI for change 'config'. Please feel free to file a issue. Code contribution would be more than welcome. Thanks, moon On Thu, Jun 16, 2016 at 12:31 AM kevin giroux wrote: > Thank again for you reply. > > Do you know if it is a possible improvement for the Web Si

Re: Rest API

2016-06-16 Thread kevin giroux
Thank again for you reply. Do you know if it is a possible improvement for the Web Side and Rest API ? I think it will could be usefull to allowed user to create Notebook and paragraph with this system. Sincerely, Le jeu. 16 juin 2016 à 07:07, moon soo Lee a écrit : > Websocket server in the

Re: Rest API

2016-06-15 Thread moon soo Lee
Websocket server in the other hands, take care of 'config', as well as text and title. https://github.com/apache/zeppelin/blob/branch-0.5.6/zeppelin-server/src/main/java/org/apache/zeppelin/socket/NotebookServer.java#L464 If ZeppelinServer is running on port 8080 for example websocket URI will be,

Re: Rest API

2016-06-15 Thread kevin giroux
Thank about you response, But how does it work for setting the configuration ? I saw on the web page, you are using websocket. What kind of URI this websocket call for changing the paragraph config ? Sincerely, Le mer. 15 juin 2016 à 22:04, moon soo Lee a écrit : > Hi, > > I think 0.5.6 rest

Re: Rest API

2016-06-15 Thread moon soo Lee
Hi, I think 0.5.6 rest api (and current, too) does not take 'config'. Here's how create a paragraph rest api is implemented. https://github.com/apache/zeppelin/blob/branch-0.5.6/zeppelin-server/src/main/java/org/apache/zeppelin/rest/NotebookRestApi.java#L248 And this is the message format for cr