[GitHub] zeppelin pull request #1934: [ZEPPELIN-2001] Publish Apache Zeppelin artifac...

2017-01-22 Thread anthonycorbacho
GitHub user anthonycorbacho opened a pull request:

https://github.com/apache/zeppelin/pull/1934

[ZEPPELIN-2001] Publish Apache Zeppelin artifacts to snapshot repository

### What is this PR for?
Simple script that deploy Apache Zeppelin artifact to snapshot repository

### What type of PR is it?
[Improvement ]

### What is the Jira issue?
 * [ZEPPELIN-2001](https://issues.apache.org/jira/browse/ZEPPELIN-2001)

### How should this be tested?
Simply run `./dev/publish_release.sh 0.7.0-SNAPSHOT branch-0.7`

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? YES


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/anthonycorbacho/incubator-zeppelin 
ZEPPELIN-2001

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/zeppelin/pull/1934.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1934


commit 4b2d6aa4df3a96069e767754bf60e691eb010044
Author: Anthony Corbacho 
Date:   2017-01-23T06:52:30Z

Add flag for snapshot publishing

commit 999e4e4f86dea26121ee8bcef48398e14cd8cd8c
Author: Anthony Corbacho 
Date:   2017-01-23T07:54:08Z

Publish SNAPSHOT artifact




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin pull request #1918: Remove multple artifactId - hadoop-common

2017-01-22 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/zeppelin/pull/1918


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: [DISCUSS] Remove PostgresqlInterpreter

2017-01-22 Thread Prabhjyot Singh
+1.

Yes, agreed I too think its overhead, and all the features can be achieved
via JDBCInterpreter.

On 23 January 2017 at 10:45, Jongyoul Lee  wrote:

> Hi all,
>
> We, currently, have two kind of Interpreter supporting to connect DB which
> are PostgresqlInterpreter and JDBCInterpreter. In history, JDBCInterpreter
> is based on PostgresqlInterpeter and has the same function with it. I
> suggest to remove PostgrsqlInterpreter in Zeppelin's code base because they
> have same functions and JDBCInterpreter is now de facto standard. All new
> contribution based on JDBC function is provided and added onto
> JDBCInterpreter. In old times, I suggested same thing but it wouldn't be
> accepted because PostgresqlInterpreter was better then JDBCInterpreter at
> that time. But, now, JDBCInterpreter include all functions of
> PostgresqlInterpreter and provide better functions.
>
> How do you guys think of it? If it's accepted, 0.8.0 won't have
> PostgresqlInterpreter anymore.
>
> Regards,
> Jongyoul Lee
>
> --
> 이종열, Jongyoul Lee, 李宗烈
> http://madeng.net
>



-- 

Warm Regards,

Prabhjyot Singh


Re: [VOTE] Release Apache Zeppelin 0.7.0 (RC2)

2017-01-22 Thread Prabhjyot Singh
+1

On 23 January 2017 at 09:37, Khalid Huseynov  wrote:

> I've just tried and was running fine when changing age field in report
> mode. However didn't run on change of marital status neither in report nor
> in default mode. Hopefully more people could verify it. Also as far as i
> know mentioned log isn't related to run feature.
>
> On Sun, Jan 22, 2017 at 1:46 PM, Vinay Shukla 
> wrote:
>
>> Downloaded
>> https://dist.apache.org/repos/dist/dev/zeppelin/zeppelin-0.7.0-rc2/
>>
>> Then ran Basic Feature tutorial successfully and went to *report* mode and
>> it does not re-run the paragraph when the marital or age field value is
>> changed (even after shift +  enter)
>>
>>
>> INFO [2017-01-22 13:36:21,924] ({qtp1622006612-76}
>> NotebookServer.java[sendNote]:704) - New operation from 0:0:0:0:0:0:0:1 :
>> 62990 : anonymous : GET_NOTE : 2A94M5J1Z
>>
>>  WARN [2017-01-22 13:36:21,926] ({qtp1622006612-76}
>> GitNotebookRepo.java[revisionHistory]:157) - No Head found for 2A94M5J1Z,
>> No HEAD exists and no explicit starting revision was specified
>>
>>  INFO [2017-01-22 13:36:26,223] ({qtp1622006612-14}
>> NotebookServer.java[sendNote]:704) - New operation from 0:0:0:0:0:0:0:1 :
>> 62990 : anonymous : GET_NOTE : 2A94M5J1Z
>>
>>  WARN [2017-01-22 13:36:26,224] ({qtp1622006612-14}
>> GitNotebookRepo.java[revisionHistory]:157) - No Head found for 2A94M5J1Z,
>> No HEAD exists and no explicit starting revision was specified
>>
>> Did anyone else try this?
>>
>> On Sun, Jan 22, 2017 at 2:04 AM, Hyung Sung Shim 
>> wrote:
>>
>> > +1
>> > 2017년 1월 22일 (일) 오전 12:54, Ahyoung Ryu 님이 작성:
>> >
>> >> +1
>> >>
>> >> On Sun, Jan 22, 2017 at 5:52 PM, Jeff Zhang  wrote:
>> >>
>> >> > +1
>> >> >
>> >> >
>> >> >
>> >> > DuyHai Doan 于2017年1月22日周日 下午4:01写道:
>> >> >
>> >> >> +1
>> >> >>
>> >> >> On Sun, Jan 22, 2017 at 8:59 AM, Mina Lee 
>> wrote:
>> >> >>
>> >> >> I propose the following RC to be released for the Apache Zeppelin
>> 0.7.0
>> >> >> release.
>> >> >>
>> >> >> The commit id is d0ddf8fdff75b4229543f7ebfd5eb001f685382d which is
>> >> >> corresponds to the tag v0.7.0-rc2:
>> >> >> *https://git-wip-us.apache.org/repos/asf?p=zeppelin.git;a=commit;h=
>> >> d0ddf8fdff75b4229543f7ebfd5eb001f685382d
>> >> >> > >> d0ddf8fdff75b4229543f7ebfd5eb001f685382d>*
>> >> >>
>> >> >> The release archives (tgz), signature, and checksums are here
>> >> >> https://dist.apache.org/repos/dist/dev/zeppelin/zeppelin-0.7.0-rc2/
>> >> >>
>> >> >> The release candidate consists of the following source distribution
>> >> >> archive
>> >> >> zeppelin-0.7.0.tgz
>> >> >>
>> >> >> In addition, the following supplementary binary distributions are
>> >> provided
>> >> >> for user convenience at the same location
>> >> >> zeppelin-0.7.0-bin-all.tgz
>> >> >> zeppelin-0.7.0-bin-netinst.tgz
>> >> >>
>> >> >> The maven artifacts are here
>> >> >> https://repository.apache.org/content/repositories/
>> >> orgapachezeppelin-1023
>> >> >>
>> >> >> You can find the KEYS file here:
>> >> >> https://dist.apache.org/repos/dist/release/zeppelin/KEYS
>> >> >>
>> >> >> Release notes available at
>> >> >> https://issues.apache.org/jira/secure/ReleaseNote.jspa?
>> >> >> version=12336544=12316221
>> >> >>
>> >> >> Vote will be open for next 72 hours (close at 23:59 24/Jan PST).
>> >> >>
>> >> >> [ ] +1 approve
>> >> >> [ ] 0 no opinion
>> >> >> [ ] -1 disapprove (and reason why)
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >
>>
>
>


-- 

Warm Regards,

Prabhjyot Singh


[GitHub] zeppelin issue #1933: HOTFIX: Add the missing quotes for livy cancel

2017-01-22 Thread zjffdu
Github user zjffdu commented on the issue:

https://github.com/apache/zeppelin/pull/1933
  
@minahlee Could you merge it into 0.7 if you plan for another RC ? Very 
appreciated. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin pull request #1933: HOTFIX: Add the missing quotes for livy cancel

2017-01-22 Thread zjffdu
GitHub user zjffdu opened a pull request:

https://github.com/apache/zeppelin/pull/1933

HOTFIX: Add the missing quotes for livy cancel

### What is this PR for?
Seems I miss the quote when rebase. 


### What type of PR is it?
[Hot Fix |]

### Todos
* [ ] - Task

### What is the Jira issue?
No jira created, just minor change for hotfix

### How should this be tested?
Tested manually 

### Screenshots (if appropriate)

![image](https://cloud.githubusercontent.com/assets/164491/22193778/b8f960dc-e178-11e6-8595-b21f01ac62f9.png)

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/zjffdu/zeppelin cancel_livy

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/zeppelin/pull/1933.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1933


commit d68b6cfded936d20e6c642e9e2d3010481689799
Author: Jeff Zhang 
Date:   2017-01-23T06:30:44Z

HOTFIX: Add the missing quotes for livy cancel




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (ZEPPELIN-2001) Publish Apache Zeppelin artifacts to snapshot repository

2017-01-22 Thread Anthony Corbacho (JIRA)
Anthony Corbacho created ZEPPELIN-2001:
--

 Summary: Publish Apache Zeppelin artifacts to snapshot repository
 Key: ZEPPELIN-2001
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2001
 Project: Zeppelin
  Issue Type: Improvement
Affects Versions: 0.7.0
Reporter: Anthony Corbacho
Assignee: Anthony Corbacho
 Fix For: 0.7.0


Publish Apache Zeppelin artifacts to maven snapshot repository by running the 
following cmd
{code} ./dev/publish_release.sh 0.7.0-SNAPSHOT v0.7.0 {code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[DISCUSS] Remove PostgresqlInterpreter

2017-01-22 Thread Jongyoul Lee
Hi all,

We, currently, have two kind of Interpreter supporting to connect DB which
are PostgresqlInterpreter and JDBCInterpreter. In history, JDBCInterpreter
is based on PostgresqlInterpeter and has the same function with it. I
suggest to remove PostgrsqlInterpreter in Zeppelin's code base because they
have same functions and JDBCInterpreter is now de facto standard. All new
contribution based on JDBC function is provided and added onto
JDBCInterpreter. In old times, I suggested same thing but it wouldn't be
accepted because PostgresqlInterpreter was better then JDBCInterpreter at
that time. But, now, JDBCInterpreter include all functions of
PostgresqlInterpreter and provide better functions.

How do you guys think of it? If it's accepted, 0.8.0 won't have
PostgresqlInterpreter anymore.

Regards,
Jongyoul Lee

-- 
이종열, Jongyoul Lee, 李宗烈
http://madeng.net


[GitHub] zeppelin pull request #1932: [ZEPPELIN-2000] Run paragraph on enter when sel...

2017-01-22 Thread minahlee
GitHub user minahlee opened a pull request:

https://github.com/apache/zeppelin/pull/1932

[ZEPPELIN-2000] Run paragraph on enter when select dynamic form value 
changed

### What is this PR for?
Run paragraph on enter when select dynamic form value changed to make 
paragraph runnable in report mode.

### What type of PR is it?
Bug Fix | Hot Fix

### What is the Jira issue?
[ZEPPELIN-2000](https://issues.apache.org/jira/browse/ZEPPELIN-2000)

### How should this be tested?
1. Go to `Zeppelin Tutorial/Basic Features (Spark)` notebook
2. Change view mode to `report`.
3. Change selected value from `married` to `single` in 5th paragraph and 
hit enter.
4. See if paragraph runs

### Screenshots (if appropriate)
![jan-23-2017 
14-14-05](https://cloud.githubusercontent.com/assets/8503346/22192310/460d713c-e176-11e6-96d4-96d25eb029c0.gif)


### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? yes. docs update included.


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/minahlee/zeppelin ZEPPELIN-2000

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/zeppelin/pull/1932.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1932


commit 66b513c58f05c7b4d23a5580751545638df7a849
Author: Mina Lee 
Date:   2017-01-23T05:00:46Z

Run paragraph onEnter when select value changed

commit a9f02d29672beadca1b3a2af591e6e9f06246f08
Author: Mina Lee 
Date:   2017-01-23T05:08:38Z

Update docs




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1921: [ZEPPELIN-1984] Zeppelin Server doesn't catch all exce...

2017-01-22 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/1921
  
@Tagar thanks, merge to master if no further discussion.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1833: [ZEPPELIN-1880] Fix shell interpreter output streaming...

2017-01-22 Thread AhyoungRyu
Github user AhyoungRyu commented on the issue:

https://github.com/apache/zeppelin/pull/1833
  
@astroshim @Leemoonsoo @soralee If you don't mind, can someone help review 
this again?  :)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1833: [ZEPPELIN-1880] Fix shell interpreter output streaming...

2017-01-22 Thread AhyoungRyu
Github user AhyoungRyu commented on the issue:

https://github.com/apache/zeppelin/pull/1833
  
I rebased from master after #1922 and #1927 merged. Both are fixing the 
problem that I mentioned in [this 
comment](https://github.com/apache/zeppelin/pull/1833#issuecomment-270078954). 
Here is the screenshot. 

![record](https://cloud.githubusercontent.com/assets/10060731/22192080/39170b16-e174-11e6-8164-b343d9b5e138.gif)

@astroshim Thanks again for the fix!!  



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (ZEPPELIN-2000) Run paragraph on enter when z.select form value changed

2017-01-22 Thread Mina Lee (JIRA)
Mina Lee created ZEPPELIN-2000:
--

 Summary: Run paragraph on enter when z.select form value changed
 Key: ZEPPELIN-2000
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2000
 Project: Zeppelin
  Issue Type: Bug
Reporter: Mina Lee


PR#1647 disabled instant on select value change.
In report view mode, the only way to apply changed value is running whole note.
There should be a way to run with new selected value in report mode and I 
suggest to enable run by hitting 'enter' key after selection.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] zeppelin issue #1921: [ZEPPELIN-1984] Zeppelin Server doesn't catch all exce...

2017-01-22 Thread Tagar
Github user Tagar commented on the issue:

https://github.com/apache/zeppelin/pull/1921
  
@Leemoonsoo  I rebased this PR and it went green. Thanks!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1919: [ZEPPELIN-1986] Fix flaky test: Increase WelcomePageSu...

2017-01-22 Thread jongyoul
Github user jongyoul commented on the issue:

https://github.com/apache/zeppelin/pull/1919
  
@Leemoonsoo I think to prolong timeout would be realistic solution but same 
error may occurs when travis is under resources starvation. Can we handle it? 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin pull request #1721: [ZEPPELIN-969] order by note name in job menu

2017-01-22 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/zeppelin/pull/1721


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin pull request #1922: [ZEPPELIN-1991] Can't get the PARAGRAPH_APPEND_...

2017-01-22 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/zeppelin/pull/1922


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: [VOTE] Release Apache Zeppelin 0.7.0 (RC2)

2017-01-22 Thread Vinay Shukla
Downloaded
https://dist.apache.org/repos/dist/dev/zeppelin/zeppelin-0.7.0-rc2/

Then ran Basic Feature tutorial successfully and went to *report* mode and
it does not re-run the paragraph when the marital or age field value is
changed (even after shift +  enter)


INFO [2017-01-22 13:36:21,924] ({qtp1622006612-76}
NotebookServer.java[sendNote]:704) - New operation from 0:0:0:0:0:0:0:1 :
62990 : anonymous : GET_NOTE : 2A94M5J1Z

 WARN [2017-01-22 13:36:21,926] ({qtp1622006612-76}
GitNotebookRepo.java[revisionHistory]:157) - No Head found for 2A94M5J1Z,
No HEAD exists and no explicit starting revision was specified

 INFO [2017-01-22 13:36:26,223] ({qtp1622006612-14}
NotebookServer.java[sendNote]:704) - New operation from 0:0:0:0:0:0:0:1 :
62990 : anonymous : GET_NOTE : 2A94M5J1Z

 WARN [2017-01-22 13:36:26,224] ({qtp1622006612-14}
GitNotebookRepo.java[revisionHistory]:157) - No Head found for 2A94M5J1Z,
No HEAD exists and no explicit starting revision was specified

Did anyone else try this?

On Sun, Jan 22, 2017 at 2:04 AM, Hyung Sung Shim  wrote:

> +1
> 2017년 1월 22일 (일) 오전 12:54, Ahyoung Ryu 님이 작성:
>
>> +1
>>
>> On Sun, Jan 22, 2017 at 5:52 PM, Jeff Zhang  wrote:
>>
>> > +1
>> >
>> >
>> >
>> > DuyHai Doan 于2017年1月22日周日 下午4:01写道:
>> >
>> >> +1
>> >>
>> >> On Sun, Jan 22, 2017 at 8:59 AM, Mina Lee  wrote:
>> >>
>> >> I propose the following RC to be released for the Apache Zeppelin 0.7.0
>> >> release.
>> >>
>> >> The commit id is d0ddf8fdff75b4229543f7ebfd5eb001f685382d which is
>> >> corresponds to the tag v0.7.0-rc2:
>> >> *https://git-wip-us.apache.org/repos/asf?p=zeppelin.git;a=commit;h=
>> d0ddf8fdff75b4229543f7ebfd5eb001f685382d
>> >> > d0ddf8fdff75b4229543f7ebfd5eb001f685382d>*
>> >>
>> >> The release archives (tgz), signature, and checksums are here
>> >> https://dist.apache.org/repos/dist/dev/zeppelin/zeppelin-0.7.0-rc2/
>> >>
>> >> The release candidate consists of the following source distribution
>> >> archive
>> >> zeppelin-0.7.0.tgz
>> >>
>> >> In addition, the following supplementary binary distributions are
>> provided
>> >> for user convenience at the same location
>> >> zeppelin-0.7.0-bin-all.tgz
>> >> zeppelin-0.7.0-bin-netinst.tgz
>> >>
>> >> The maven artifacts are here
>> >> https://repository.apache.org/content/repositories/
>> orgapachezeppelin-1023
>> >>
>> >> You can find the KEYS file here:
>> >> https://dist.apache.org/repos/dist/release/zeppelin/KEYS
>> >>
>> >> Release notes available at
>> >> https://issues.apache.org/jira/secure/ReleaseNote.jspa?
>> >> version=12336544=12316221
>> >>
>> >> Vote will be open for next 72 hours (close at 23:59 24/Jan PST).
>> >>
>> >> [ ] +1 approve
>> >> [ ] 0 no opinion
>> >> [ ] -1 disapprove (and reason why)
>> >>
>> >>
>> >>
>>
>


[GitHub] zeppelin pull request #1930: [ZEPPELIN-1886] implementation z.getZeppelinJob...

2017-01-22 Thread cloverhearts
Github user cloverhearts closed the pull request at:

https://github.com/apache/zeppelin/pull/1930


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin pull request #1930: [ZEPPELIN-1886] implementation z.getZeppelinJob...

2017-01-22 Thread cloverhearts
GitHub user cloverhearts reopened a pull request:

https://github.com/apache/zeppelin/pull/1930

[ZEPPELIN-1886] implementation z.getZeppelinJobStatus 

### What is this PR for?
You can get the state of a paragraph through ZeppelinContext.
This allows you to implement code according to the paragraph condition.

related
https://github.com/apache/zeppelin/pull/1799

### What type of PR is it?
Feature

### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1886

### How should this be tested?

1. run paragraph.
2. Record the noteid and paragraph id of the paragraph you have run.
3. You can use the following code:
for example
```
%spark
z.getJobStatus("noteID", "paragraphId").name()
z.getJobStatus("2C8D89Y9N", "20170121-042805_156018837").isFinished()
z.getJobStatus("2C8D89Y9N", "20170121-042805_156018837").isAbort()
z.getJobStatus("2C8D89Y9N", "20170121-042805_156018837").isError()
z.getJobStatus("2C8D89Y9N", "20170121-042805_156018837").isPending()
z.getJobStatus("2C8D89Y9N", "20170121-042805_156018837").isRunning()
```

### Screenshots (if appropriate)

![zeppelinstatus](https://cloud.githubusercontent.com/assets/10525473/22175433/770168b2-dfa9-11e6-8471-5dfa92e56eaa.png)

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? yes


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/cloverhearts/zeppelin 
ZEPPELIN-GET-PARAGRAPH-STATUS

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/zeppelin/pull/1930.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1930


commit 08f5120bc3ff7c1bc7c32d694e6f9da8185aeb8e
Author: cloverhearts 
Date:   2016-12-30T22:29:38Z

extends z.status on RemoteWorks

commit a522bafcad446fafea590d09ecce4a00edf4065a
Author: cloverhearts 
Date:   2017-01-01T05:53:09Z

implement check status logic in workflow

commit bb7308d39c3eeed2162d6fd851b3b63c82247742
Author: cloverhearts 
Date:   2017-01-21T15:10:10Z

add status getter

commit f2c7df4f99f8db1b2f4b0268f90079226f7c38c4
Author: cloverhearts 
Date:   2017-01-21T20:08:42Z

change method name

commit 995b79c57abe8c650be7a534ce3fe8601fd13c56
Author: cloverhearts 
Date:   2017-01-21T20:55:01Z

added test case

commit d6e0879ca2a22580aca0b5bfa9667ab30e1f30ca
Author: cloverhearts 
Date:   2017-01-21T21:43:09Z

remove “




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (ZEPPELIN-1999) Replacing of parameterized interpreter properties' value by context

2017-01-22 Thread Valeriy Polyakov (JIRA)
Valeriy Polyakov created ZEPPELIN-1999:
--

 Summary: Replacing of parameterized interpreter properties' value 
by context
 Key: ZEPPELIN-1999
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1999
 Project: Zeppelin
  Issue Type: New Feature
  Components: Interpreters
Reporter: Valeriy Polyakov


The issue was detached from ZEPPELIN-1988 where it proposed a local 
implementation of this feature. The detailed description of global mechanism 
will be produced here.

For now here is an example of how it supposed to use in ZEPPELIN-1988: if 
intepreter jdbc has property "precode" and property value contains substring 
"%noteId" then it will be replaced by interpreter context ("set 
application_name=%noteId" => "set application_name='2C95WZ3MC'").




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: [VOTE] Release Apache Zeppelin 0.7.0 (RC2)

2017-01-22 Thread Hyung Sung Shim
+1
2017년 1월 22일 (일) 오전 12:54, Ahyoung Ryu 님이 작성:

> +1
>
> On Sun, Jan 22, 2017 at 5:52 PM, Jeff Zhang  wrote:
>
> > +1
> >
> >
> >
> > DuyHai Doan 于2017年1月22日周日 下午4:01写道:
> >
> >> +1
> >>
> >> On Sun, Jan 22, 2017 at 8:59 AM, Mina Lee  wrote:
> >>
> >> I propose the following RC to be released for the Apache Zeppelin 0.7.0
> >> release.
> >>
> >> The commit id is d0ddf8fdff75b4229543f7ebfd5eb001f685382d which is
> >> corresponds to the tag v0.7.0-rc2:
> >> *
> https://git-wip-us.apache.org/repos/asf?p=zeppelin.git;a=commit;h=d0ddf8fdff75b4229543f7ebfd5eb001f685382d
> >> <
> https://git-wip-us.apache.org/repos/asf?p=zeppelin.git;a=commit;h=d0ddf8fdff75b4229543f7ebfd5eb001f685382d
> >*
> >>
> >> The release archives (tgz), signature, and checksums are here
> >> https://dist.apache.org/repos/dist/dev/zeppelin/zeppelin-0.7.0-rc2/
> >>
> >> The release candidate consists of the following source distribution
> >> archive
> >> zeppelin-0.7.0.tgz
> >>
> >> In addition, the following supplementary binary distributions are
> provided
> >> for user convenience at the same location
> >> zeppelin-0.7.0-bin-all.tgz
> >> zeppelin-0.7.0-bin-netinst.tgz
> >>
> >> The maven artifacts are here
> >>
> https://repository.apache.org/content/repositories/orgapachezeppelin-1023
> >>
> >> You can find the KEYS file here:
> >> https://dist.apache.org/repos/dist/release/zeppelin/KEYS
> >>
> >> Release notes available at
> >> https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> >> version=12336544=12316221
> >>
> >> Vote will be open for next 72 hours (close at 23:59 24/Jan PST).
> >>
> >> [ ] +1 approve
> >> [ ] 0 no opinion
> >> [ ] -1 disapprove (and reason why)
> >>
> >>
> >>
>


[jira] [Created] (ZEPPELIN-1998) zeppelin spark on yarn mode, java.lang.ClassNotFoundException

2017-01-22 Thread lework (JIRA)
lework created ZEPPELIN-1998:


 Summary: zeppelin spark on yarn mode,  
java.lang.ClassNotFoundException
 Key: ZEPPELIN-1998
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1998
 Project: Zeppelin
  Issue Type: Bug
  Components: Interpreters
Affects Versions: 0.6.1
 Environment: export MASTER=yarn-client
export HADOOP_CONF_DIR=/etc/hadoop/conf
export SPARK_HOME=/opt/cloudera/parcels/CDH-5.9.0-1.cdh5.9.0.p0.23/lib/spark
export HBASE_HOME=/opt/cloudera/parcels/CDH-5.9.0-1.cdh5.9.0.p0.23/lib/hbase
export 
HADOOP_HOME=/opt/cloudera/parcels/CDH-5.9.0-1.cdh5.9.0.p0.23/bin/../lib/hadoop

Reporter: lework
Priority: Blocker


version:
cdh: 5.9.0
spark:1.6
zeppelin: 0.6.1

build option:

mvn clean package -Pbuild-distr -Pyarn -Pspark-1.6 -Dspark.version=1.6.0 
-Phadoop-2.6.0 -Dhadoop.version=2.6.0-cdh5.9.0 -Ppyspark -Psparkr 
-Dhbase.hbase.version=1.2.0 -Dhbase.hadoop.version=2.6.0 -Pvendor-repo 
-DskipTests

zeppelin notebook:

%spark

sc.version
sc.getConf.get("spark.home")
System.getenv().get("PYTHONPATH")
System.getenv().get("SPARK_HOME")

val threshold = "book1" 
val products = Seq("book1", "book2", "book3", "book4") 
val rdd = sc.makeRDD(products,2) 
val result = rdd.filter{ p => 
  p.equals(threshold) 
}.count() 
println("!!result=" + result) 

output:
res0: String = 1.6.0
res1: String = /opt/cloudera/parcels/CDH-5.9.0-1.cdh5.9.0.p0.23/lib/spark
res2: String = 
/opt/cloudera/parcels/CDH-5.9.0-1.cdh5.9.0.p0.23/lib/spark/python/lib/py4j-0.9-src.zip:/opt/cloudera/parcels/CDH-5.9.0-1.cdh5.9.0.p0.23/lib/spark/python/:
res3: String = /opt/cloudera/parcels/CDH-5.9.0-1.cdh5.9.0.p0.23/lib/spark
threshold: String = book1
products: Seq[String] = List(book1, book2, book3, book4)
rdd: org.apache.spark.rdd.RDD[String] = ParallelCollectionRDD[0] at makeRDD at 
:31
org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in 
stage 0.0 failed 4 times, most recent failure: Lost task 0.3 in stage 0.0 (TID 
6, node5, executor 1): java.lang.ClassNotFoundException: 
$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:274)
at 
org.apache.spark.serializer.JavaDeserializationStream$$anon$1.resolveClass(JavaSerializer.scala:68)
at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1612)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517)
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915)
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915)
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915)
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
at 
org.apache.spark.serializer.JavaDeserializationStream.readObject(JavaSerializer.scala:76)
at 
org.apache.spark.serializer.JavaSerializerInstance.deserialize(JavaSerializer.scala:115)
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:61)
at org.apache.spark.scheduler.Task.run(Task.scala:89)
at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:229)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Driver stacktrace:
at 

[GitHub] zeppelin issue #1924: [Pyspark] checking nhooks count.

2017-01-22 Thread astroshim
Github user astroshim commented on the issue:

https://github.com/apache/zeppelin/pull/1924
  
CI has passed. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: [VOTE] Release Apache Zeppelin 0.7.0 (RC2)

2017-01-22 Thread Ahyoung Ryu
+1

On Sun, Jan 22, 2017 at 5:52 PM, Jeff Zhang  wrote:

> +1
>
>
>
> DuyHai Doan 于2017年1月22日周日 下午4:01写道:
>
>> +1
>>
>> On Sun, Jan 22, 2017 at 8:59 AM, Mina Lee  wrote:
>>
>> I propose the following RC to be released for the Apache Zeppelin 0.7.0
>> release.
>>
>> The commit id is d0ddf8fdff75b4229543f7ebfd5eb001f685382d which is
>> corresponds to the tag v0.7.0-rc2:
>> *https://git-wip-us.apache.org/repos/asf?p=zeppelin.git;a=commit;h=d0ddf8fdff75b4229543f7ebfd5eb001f685382d
>> *
>>
>> The release archives (tgz), signature, and checksums are here
>> https://dist.apache.org/repos/dist/dev/zeppelin/zeppelin-0.7.0-rc2/
>>
>> The release candidate consists of the following source distribution
>> archive
>> zeppelin-0.7.0.tgz
>>
>> In addition, the following supplementary binary distributions are provided
>> for user convenience at the same location
>> zeppelin-0.7.0-bin-all.tgz
>> zeppelin-0.7.0-bin-netinst.tgz
>>
>> The maven artifacts are here
>> https://repository.apache.org/content/repositories/orgapachezeppelin-1023
>>
>> You can find the KEYS file here:
>> https://dist.apache.org/repos/dist/release/zeppelin/KEYS
>>
>> Release notes available at
>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?
>> version=12336544=12316221
>>
>> Vote will be open for next 72 hours (close at 23:59 24/Jan PST).
>>
>> [ ] +1 approve
>> [ ] 0 no opinion
>> [ ] -1 disapprove (and reason why)
>>
>>
>>


Re: [VOTE] Release Apache Zeppelin 0.7.0 (RC2)

2017-01-22 Thread Jeff Zhang
+1



DuyHai Doan 于2017年1月22日周日 下午4:01写道:

> +1
>
> On Sun, Jan 22, 2017 at 8:59 AM, Mina Lee  wrote:
>
> I propose the following RC to be released for the Apache Zeppelin 0.7.0
> release.
>
> The commit id is d0ddf8fdff75b4229543f7ebfd5eb001f685382d which is
> corresponds to the tag v0.7.0-rc2:
> *https://git-wip-us.apache.org/repos/asf?p=zeppelin.git;a=commit;h=d0ddf8fdff75b4229543f7ebfd5eb001f685382d
> *
>
> The release archives (tgz), signature, and checksums are here
> https://dist.apache.org/repos/dist/dev/zeppelin/zeppelin-0.7.0-rc2/
>
> The release candidate consists of the following source distribution
> archive
> zeppelin-0.7.0.tgz
>
> In addition, the following supplementary binary distributions are provided
> for user convenience at the same location
> zeppelin-0.7.0-bin-all.tgz
> zeppelin-0.7.0-bin-netinst.tgz
>
> The maven artifacts are here
> https://repository.apache.org/content/repositories/orgapachezeppelin-1023
>
> You can find the KEYS file here:
> https://dist.apache.org/repos/dist/release/zeppelin/KEYS
>
> Release notes available at
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12336544=12316221
>
> Vote will be open for next 72 hours (close at 23:59 24/Jan PST).
>
> [ ] +1 approve
> [ ] 0 no opinion
> [ ] -1 disapprove (and reason why)
>
>
>


Re: [VOTE] Release Apache Zeppelin 0.7.0 (RC2)

2017-01-22 Thread DuyHai Doan
+1

On Sun, Jan 22, 2017 at 8:59 AM, Mina Lee  wrote:

> I propose the following RC to be released for the Apache Zeppelin 0.7.0
> release.
>
> The commit id is d0ddf8fdff75b4229543f7ebfd5eb001f685382d which is
> corresponds to the tag v0.7.0-rc2:
> *https://git-wip-us.apache.org/repos/asf?p=zeppelin.git;a=commit;h=d0ddf8fdff75b4229543f7ebfd5eb001f685382d
> *
>
> The release archives (tgz), signature, and checksums are here
> https://dist.apache.org/repos/dist/dev/zeppelin/zeppelin-0.7.0-rc2/
>
> The release candidate consists of the following source distribution
> archive
> zeppelin-0.7.0.tgz
>
> In addition, the following supplementary binary distributions are provided
> for user convenience at the same location
> zeppelin-0.7.0-bin-all.tgz
> zeppelin-0.7.0-bin-netinst.tgz
>
> The maven artifacts are here
> https://repository.apache.org/content/repositories/orgapachezeppelin-1023
>
> You can find the KEYS file here:
> https://dist.apache.org/repos/dist/release/zeppelin/KEYS
>
> Release notes available at
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?versi
> on=12336544=12316221
>
> Vote will be open for next 72 hours (close at 23:59 24/Jan PST).
>
> [ ] +1 approve
> [ ] 0 no opinion
> [ ] -1 disapprove (and reason why)
>