REST API

2016-02-24 Thread vincent gromakowski
Is there any way to run a paragraph and retrieve results in the response ? I have done some tests and cannot achieve it. It always send back "status : OK" even if it fails

Re: REST API

2016-02-24 Thread DuyHai Doan
There is a REST API for Notebook : http://zeppelin.incubator.apache.org/docs/0.6.0-incubating-SNAPSHOT/rest-api/rest-notebook.html On Wed, Feb 24, 2016 at 4:22 PM, vincent gromakowski < vincent.gromakow...@gmail.com> wrote: > Is there any way to run a paragraph and retrieve results in the respo

Re: REST API

2016-02-24 Thread vincent gromakowski
I understand I can run a paragraph and it's asynchronous but I cannot get a paragraph result. The only solution I see is to get a notebook and parse result to get the concerned paragraph result. Am I right? 2016-02-24 16:25 GMT+01:00 DuyHai Doan : > There is a REST API for Notebook : > http://zep

Re: REST API

2016-02-24 Thread DuyHai Doan
Did you try the Run Paragraph Job API ? http:// [zeppelin-server]:[zeppelin-port]/api/notebook/job/[notebookId]/[paragraphId] On Wed, Feb 24, 2016 at 4:48 PM, vincent gromakowski < vincent.gromakow...@gmail.com> wrote: > I understand I can run a paragraph and it's asynchronous but I cannot get

Re: REST API

2016-02-24 Thread Corneau Damien
Are you talking about Websocket or Rest Api? Websocket won't send you the result in the response, it will send you another websocket message. 'NOTE' or 'PARAGRAPH' or 'PARAGRAPH_APPEND_OUTPUT' or PARAGRAPH_UPDATE_OUTPUT' depending on the case On Wed, Feb 24, 2016 at 7:48 AM, vincent gromakowski <

Re: REST API

2016-02-24 Thread DuyHai Doan
Ok, I just checked the source code for http:// [zeppelin-server]:[zeppelin-port]/api/notebook/job/[notebookId]/[paragraphId] Indeed, it always return OK: https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/rest/NotebookRestApi.java#L477 Ju

Re: sharing angular variable to scala interpreter in zepelin

2016-02-24 Thread moon soo Lee
Hi, Once an AngularObject is created, updated value from front-end side (angular interpreter) automatically propagated to the back-end side. So SparkInterpreter can read it using z.angular(). However, creation of new AngularObject is possible only from the backend side at the moment. So, you'll

Re: sharing angular variable to scala interpreter in zepelin

2016-02-24 Thread DuyHai Doan
Creation of AngularObject from front-end will be possible once those PR are tested and merged: https://github.com/apache/incubator-zeppelin/pull/740 https://github.com/apache/incubator-zeppelin/pull/741 https://github.com/apache/incubator-zeppelin/pull/742 https://github.com/apache/incubator-ze

Re: REST API

2016-02-24 Thread DuyHai Doan
Done Vincent, here is the pull request: https://github.com/apache/incubator-zeppelin/pull/746 Please follow the test procedure to see if it is working for you as expected. On Wed, Feb 24, 2016 at 5:01 PM, DuyHai Doan wrote: > Ok, I just checked the source code for > > http:// > [zeppelin-serve

Error while Running the Spark Streaming example from Tutorial

2016-02-24 Thread Vinayak Agrawal
Hi All, I am trying the tutorial for spark-streaming following the link Tutorial with Streaming Data https://zeppelin.incubator.apache.org/docs/0.5.5-incubating/tutorial/tutorial.html But I keep getting this error while importing twitter class: import org.apache.spark.streaming._ :39: error: objec

Re: Error while Running the Spark Streaming example from Tutorial

2016-02-24 Thread Felipe Almeida
There's z.load("maven-package") but I myself have had no luck with it (I get weird errors). I generally add the extra packages I need in the following file: /usr/lib/zeppelin/conf/zeppelin-env.sh I change the last line (that begins with export SPARK_SUBMIT_OPTIONS... ) to this: export SPARK_SUBM

Re: Error while Running the Spark Streaming example from Tutorial

2016-02-24 Thread Sourav Mazumder
Adding the jar to SPARK_SUBMIT_OPTIONS is one approach. But you can try out %dep also. Regards, Sourav On Wed, Feb 24, 2016 at 1:54 PM, Felipe Almeida wrote: > There's z.load("maven-package") but I myself have had no luck with it (I > get weird errors). > > I generally add the extra packages I

spark 1.6 with scala 2.11 support

2016-02-24 Thread Potato Farmer
Hi, Are there any plans for Zeppelin to support Spark 1.6 with Scala 2.11 Interpreter?

Re: spark 1.6 with scala 2.11 support

2016-02-24 Thread Jonathan Kelly
This was asked very recently on this same list: http://apache-zeppelin-users-incubating-mailing-list.75479.x6.nabble.com/Scala-2-11-td2394.html#none On Wed, Feb 24, 2016 at 2:35 PM Potato Farmer wrote: > Hi, > > > > Are there any plans for Zeppelin to support Spark 1.6 with Scala 2.11 > Interpre

OOM error when run all paragraphs

2016-02-24 Thread Dafeng Wang
Hi, Today when I try to run the zeppelin with a complicated notebook, if I run them one by one, it works well, however, when I click on running all paragraphs, it will throw OOM errors in a short time, I set zeppelin’s interpreter’s memory as 6G. any idea? Regards, Dafeng

Re: Cytoscape-qtip and zeppelin

2016-02-24 Thread moon soo Lee
Thanks for sharing! On Tue, Feb 23, 2016 at 8:54 PM Balachandar R.A. wrote: > Hi > > The below code snippet helped. I could see the tooltip now. > > cy2.on('mouseover', 'node', function(event) { > var node = event.cyTarget; > node.qtip({ > content: 'hello', > show: { >

RE: OOM error when run all paragraphs

2016-02-24 Thread Dafeng Wang
It turns out zeppelin server itself oom since it cache too many results, are there any methods/work arounds/fixes to get this issue done? Regards, Dafeng From: Dafeng Wang [mailto:dafe...@microsoft.com] Sent: Thursday, February 25, 2016 10:31 AM To: users@zeppelin.incubator.apache.org Subject: O

Re: Scala 2.11

2016-02-24 Thread Luciano Resende
I started putting a PR together for ZEPPELIN-605. I might not be able to spend a lot of time on this for the rest of the week, but I should be able to devote more time early next week. My initial goal is to have a default 2.10 build, and enable a 2.11 profile which would build a subset of interpre

Error while querying Df temp Tweet table

2016-02-24 Thread Vinayak Agrawal
Hi All, I am trying to run Zeppelin Streaming example from official zeppelin site. https://zeppelin.incubator.apache.org/docs/0.5.5-incubating/tutorial/tutorial.html Earlier I had problem with dependency of Twitterutil which i resolved with help of you guys by adding %dep parameter in a cell. %dep

Re: Upgrade Tachyon interpreter to Alluxio interpreter

2016-02-24 Thread moon soo Lee
Hi Mauro, Sure, upgrading would be necessary. Thanks, moon On Tue, Feb 23, 2016 at 7:07 AM Mauro Cortellazzi < mauro.cortella...@radicalbit.io> wrote: > Hi All, I have saw today that the Tachyon project is become Alluxio > project (with a new and improved version of them software). > Do you thi

Re: Error while querying Df temp Tweet table

2016-02-24 Thread Sourav Mazumder
Do u get the same error even in case you use SPARK_SUBMIT_OPTIONS to specify the jar file for the twitter instead of %dep ? Regards, Sourav On Wed, Feb 24, 2016 at 9:20 PM, Vinayak Agrawal wrote: > Hi All, > I am trying to run Zeppelin Streaming example from official zeppelin site. > > https://