Re: Rest API

2016-06-15 Thread moon soo Lee
> >>> >>> Hi Zeppelin Dev >>> >>> I have a question about all the Rest API you provide in the version 0.5.6 >>> >>> I try to create a paragraph with the Rest api ( >>> http://zeppelin.apache.org/docs/0.5.6-incubating/rest-api/re

Re: Rest API

2016-06-15 Thread kevin giroux
5.6-incubating/rest-api/rest-notebook.html >> ) >> >> But the issues (or not), is, when i try to insert in my paragraph, with >> the following object. >> >> {"title":"Hello >> worl","text":"%psql.sql","config":{&q

Re: Zeppelin Integration with Livy Server

2016-06-15 Thread kishore
What I meant by reusing the code is to extract the function created with in the paragraph of a notebook which is identified as a text and create a job artifact submit it as a spark job via a livy job server batch session Thanks Kishore -- View this message in context: http://apache-zeppelin-us

Re: Zeppelin Integration with Livy Server

2016-06-15 Thread Jeff Zhang
For zeppelin, livy is only used in interactive session. And what do you mean "reuse the same code" ? You can define function in notebook and reuse it anywhere as long as it use livy interpreter. On Thu, Jun 16, 2016 at 11:09 AM, kishore wrote: > Hi > > I came across the following link about Liv

Zeppelin Integration with Livy Server

2016-06-15 Thread kishore
Hi I came across the following link about Livy Interpreter. Following is a question which falls both under Zeppelin and Livy from an integration standpoint. https://zeppelin.apache.org/docs/0.6.0-SNAPSHOT/interpreter/livy.html I am looking for something of following workflow to create, test

Re: Cron job fails to run a paragraph that runs correctly manually

2016-06-15 Thread moon soo Lee
I just created a fix. https://github.com/apache/zeppelin/pull/1019 Please try it when you have time and let me know if it does not solve your problem. Thanks, moon On Wed, Jun 15, 2016 at 4:05 PM Jose Rivera-Rubio < jose.riv...@internavenue.com> wrote: > Not at all, thank you!! > > *Jose Rivera*

Re: Cron job fails to run a paragraph that runs correctly manually

2016-06-15 Thread Jose Rivera-Rubio
Not at all, thank you!! *Jose Rivera* p.s. We're Hiring ! *Data Engineer Lead **Intern Avenue * Watch Intern Avenue on: BBC Dragons’ Den e: jose.riv...@internavenue.com | www.intern

Re: Cron job fails to run a paragraph that runs correctly manually

2016-06-15 Thread moon soo Lee
Thanks for share the problem. Let me try create a fix. Best, moon On Wed, Jun 15, 2016 at 3:56 PM Jose Rivera-Rubio < jose.riv...@internavenue.com> wrote: > Hi, thanks for the quick reply. > > I do have 'auto-restart interpreter' after the cron job is executed, as my > task is quite memory inten

Re: Cron job fails to run a paragraph that runs correctly manually

2016-06-15 Thread Jose Rivera-Rubio
Hi, thanks for the quick reply. I do have 'auto-restart interpreter' after the cron job is executed, as my task is quite memory intensive. Apart from the multiple-interpreter issue, I think there's also the case of concurrency being the instigator of the SIGTERM kill signal. Thanks, Jose *Jose

Re: Cron job fails to run a paragraph that runs correctly manually

2016-06-15 Thread moon soo Lee
Thanks for good finding. Do you use cron scheduling with 'auto-restart interpreter on cron execution' checked? 'Notebook.CronJob.execute' checks only last paragraph. Therefore if multiple type of interpreter is being used in a note and If 'auto-restart interpreter on cron execution' is checked, th

Re: Rest API

2016-06-15 Thread moon soo Lee
insert in my paragraph, with > the following object. > > {"title":"Hello > worl","text":"%psql.sql","config":{"graph":{"mode":"pieChart"},"optionOpen":false},"index":0,"id":"201606

[VIRTUAL] Meetup for Data Scientists Tuesday 6/21 - 9AM Pacific : Zeppelin meets MADlib & HAWQ

2016-06-15 Thread Greg Chase
Dear members of the Apache Zeppelin, Apache MADlib, and Apache HAWQ communities, We are hosting a cross-community virtual meeting for data science users this next Tuesday, June 21, 9AM Pacific. No sign up is necessary, just join the event here .

Re: Cron job fails to run a paragraph that runs correctly manually

2016-06-15 Thread Jose Rivera-Rubio
It seems to be working if I only have one paragraph (or one interpreter type) in the notebook (note) with the cron job. Can this be related with the `Notebook.CronJob.execute` checks on the very last paragraph of the notebook, creating erratic behaviour when running multiple paragraphs in parallel

Re: Cron job fails to run a paragraph that runs correctly manually

2016-06-15 Thread Jose Rivera-Rubio
I have tried increasing this timeout but still get the SIGTERM (kill) signal. How can I debug this? I have timed the script in the terminal, wit `time sh script.sh` , then modifying the timeouts to be well above this number and tried the cron job without success. Thank you *Jose Rivera* p.s. We

Rest API

2016-06-15 Thread kevin giroux
following object. {"title":"Hello worl","text":"%psql.sql","config":{"graph":{"mode":"pieChart"},"optionOpen":false},"index":0,"id":"20160615-163330_1387735696"} my config is not