[GitHub] zeppelin issue #1734: [ZEPPELIN-1766] Improve Interpreter Binding UI better ...

2016-12-08 Thread AhyoungRyu
Github user AhyoungRyu commented on the issue:

https://github.com/apache/zeppelin/pull/1734
  
@1ambda Great initiative for improving interpreter binding page UI! I also 
agree that current binding page is getting longer (thanks to the Zeppelin 
contributors :D) and getting hard to find. Definitely needs to be improved. I 
tested this branch and checked the improvement. Let me share my thought about 
this patch in here.

 - Currently the restart button is exposed so that ppl can know "I can 
restart this interpreter by clicking this button" by instinct. But \w this 
patch, ppl need to click "Carrot" button to open the dropdown menu and need to 
click "Restart" button to restart interpreter. And the user need to click at 
least one time to know about this. 

 - Seems don't need another tooltip in here since there is already the text 
"Restart"
![screen shot 2016-12-09 at 4 30 48 
pm](https://cloud.githubusercontent.com/assets/10060731/21041414/37198bb8-be2e-11e6-8d80-9c6420738110.png)

 - The color change for default interpreter is good idea i think! But the 
color is gone when it comes out as a result. 

![search_interpreter](https://cloud.githubusercontent.com/assets/10060731/21041453/67d16cda-be2e-11e6-9f6c-8b8e77b0a423.gif)

 - Shirking overall size also good idea. Was quite verbose. But the thing 
that interpreter button has smaller height than dropdown menu is quite awkward 
to me. 
![screen shot 2016-12-09 at 4 50 01 
pm](https://cloud.githubusercontent.com/assets/10060731/21041612/8fdeb128-be2f-11e6-891a-18c2bd760d17.png)

 - How about "Search bindable interpreters(?)" instead of "Search 
interpreter Bindings"? :D 
https://cloud.githubusercontent.com/assets/10060731/21041595/6681d904-be2f-11e6-82c2-c7499f0d0875.png;>

Most of them in the above are just my personal opinion. So surely you don't 
need to apply all of them. And thanks again for your effort to improve the UI! 





---
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

2016-12-08 Thread cloverhearts
GitHub user cloverhearts reopened a pull request:

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

[ZEPPELIN-969] order by note name in job menu

### What is this PR for?
we can sort by note name in job menu.
Sorting supports ascending and descending order.
Sort by note name.

### What type of PR is it?
Feature

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

### How should this be tested?
click to name order button.

### Screenshots (if appropriate)

![nameorder](https://cloud.githubusercontent.com/assets/10525473/20826460/66a7e7a6-b8ae-11e6-8e03-e2b00698e069.gif)

### 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/cloverhearts/zeppelin jobm/nameOrder

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

https://github.com/apache/zeppelin/pull/1721.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 #1721


commit 2d9fc27aaf5f5c46d4b05ee481b81d4707d7f6d7
Author: CloverHearts 
Date:   2016-12-02T07:40:33Z

order by note name in job menu

commit da095273e3a564fbd3aa8a83c21e01b55c8f5f28
Author: CloverHearts 
Date:   2016-12-02T15:04:53Z

Rename notebook to note.

commit e8a6588cee8f635ddb18646d51aa0e859a123485
Author: CloverHearts 
Date:   2016-12-05T06:23:51Z

Merge branch 'master' into jobm/nameOrder

commit 3b698fbd60ec4454a22cfe2f42bf9cd86bf9dc69
Author: CloverHearts 
Date:   2016-12-05T06:27:33Z

change sortBy to orderby

commit 6142b8e76d5d9ffba7fa129d78e961dcc1661960
Author: CloverHearts 
Date:   2016-12-05T07:01:40Z

Revert "change sortBy to orderby"

This reverts commit 3b698fbd60ec4454a22cfe2f42bf9cd86bf9dc69.

commit ff442451f06c79d856888322c0528141ac3c64fa
Author: CloverHearts 
Date:   2016-12-09T05:34:10Z

Merge branch 'master' into jobm/nameOrder

commit 88d47081f1902a5caac928f64d920b52a2c33395
Author: CloverHearts 
Date:   2016-12-09T06:27:36Z

fix code style




---
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-1777) %spark is displayed twice in interpreter settings UI when %pyspark is made default

2016-12-08 Thread Ruslan Dautkhanov (JIRA)
Ruslan Dautkhanov created ZEPPELIN-1777:
---

 Summary: %spark is displayed twice in interpreter settings UI when 
%pyspark is made default
 Key: ZEPPELIN-1777
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1777
 Project: Zeppelin
  Issue Type: Bug
  Components: Core, GUI, Interpreters, pySpark
Affects Versions: 0.7.0
 Environment: Spark 2
Reporter: Ruslan Dautkhanov


%spark is displayed twice in interpreter settings UI when %pyspark is made 
default

When I made pySpark as default - it works as expected; 
except Setting UI. See screenshot below.

Notice it shows %spark twice.
First time as default. 2nd one is not.
It should have been %pyspark (default), %spark, ..
as I made pyspark default.

See screenshot.



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


[GitHub] zeppelin pull request #1722: [HOTFIX] substitute null check for the refactor...

2016-12-08 Thread khalidhuseynov
Github user khalidhuseynov closed the pull request at:

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


---
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 #1716: [ ZEPPELIN-531 ] execute and stop note in job m...

2016-12-08 Thread cloverhearts
Github user cloverhearts closed the pull request at:

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


---
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 #1716: [ ZEPPELIN-531 ] execute and stop note in job m...

2016-12-08 Thread cloverhearts
GitHub user cloverhearts reopened a pull request:

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

[ ZEPPELIN-531 ] execute and stop note in job menu

### What is this PR for?
We can note start and stop in job menu.


### What type of PR is it?
Improvement

### Todos
- [x] - add feature for run/stop

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

### How should this be tested?
Click to a note start or stop button in job menu.

### Screenshots (if appropriate)

![executenote](https://cloud.githubusercontent.com/assets/10525473/20823821/ec8a39c8-b89a-11e6-91f2-0eddc4bcffd9.gif)

### 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/cloverhearts/zeppelin jobm/executeNote

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

https://github.com/apache/zeppelin/pull/1716.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 #1716


commit 23abb3ae025ef7b6ba9339b9cd383969adb6e526
Author: CloverHearts 
Date:   2016-12-02T04:38:51Z

execute and stop note in job menu

commit f40b12fe3aaf0429fc9501cc2b32cf039d83a773
Author: CloverHearts 
Date:   2016-12-05T07:25:49Z

Merge branch 'master' into jobm/executeNote

commit d3bd76e6255a4c20766785ff186934cf0d601c64
Author: CloverHearts 
Date:   2016-12-07T13:40:02Z

change `if` syntanx style

commit 24d7ced861dbc770b0bc182cfa4ba0aff0b67c4d
Author: CloverHearts 
Date:   2016-12-07T13:42:33Z

Merge branch 'master' into jobm/executeNote

# Conflicts:
#   zeppelin-web/src/app/jobmanager/jobs/job.controller.js

commit b7f205171835ea025aed7c6f22ad189eff1042e1
Author: CloverHearts 
Date:   2016-12-07T14:13:45Z

remove whitespace

commit e00f9ce581716b24ccb2b76095982ff9ff71d5a7
Author: CloverHearts 
Date:   2016-12-08T03:05:46Z

apply code style

commit b6fb3819392c17ae911f7ffcc419d19997dbc091
Author: CloverHearts 
Date:   2016-12-08T03:36:36Z

change string check style




---
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-1776) correct usage of isEmpty method of Revision structure

2016-12-08 Thread Khalid Huseynov (JIRA)
Khalid Huseynov created ZEPPELIN-1776:
-

 Summary: correct usage of isEmpty method of Revision structure
 Key: ZEPPELIN-1776
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1776
 Project: Zeppelin
  Issue Type: Bug
Reporter: Khalid Huseynov
Assignee: Khalid Huseynov
 Fix For: 0.7.0


after refactoring done by https://github.com/apache/zeppelin/pull/1697, some of 
the previous legacy code should be adjusted from null check to the check as 
isEmpty



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


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

2016-12-08 Thread cloverhearts
GitHub user cloverhearts reopened a pull request:

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

[ZEPPELIN-969] order by note name in job menu

### What is this PR for?
we can sort by note name in job menu.
Sorting supports ascending and descending order.
Sort by note name.

### What type of PR is it?
Feature

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

### How should this be tested?
click to name order button.

### Screenshots (if appropriate)

![nameorder](https://cloud.githubusercontent.com/assets/10525473/20826460/66a7e7a6-b8ae-11e6-8e03-e2b00698e069.gif)

### 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/cloverhearts/zeppelin jobm/nameOrder

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

https://github.com/apache/zeppelin/pull/1721.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 #1721


commit 2d9fc27aaf5f5c46d4b05ee481b81d4707d7f6d7
Author: CloverHearts 
Date:   2016-12-02T07:40:33Z

order by note name in job menu

commit da095273e3a564fbd3aa8a83c21e01b55c8f5f28
Author: CloverHearts 
Date:   2016-12-02T15:04:53Z

Rename notebook to note.

commit e8a6588cee8f635ddb18646d51aa0e859a123485
Author: CloverHearts 
Date:   2016-12-05T06:23:51Z

Merge branch 'master' into jobm/nameOrder

commit 3b698fbd60ec4454a22cfe2f42bf9cd86bf9dc69
Author: CloverHearts 
Date:   2016-12-05T06:27:33Z

change sortBy to orderby

commit 6142b8e76d5d9ffba7fa129d78e961dcc1661960
Author: CloverHearts 
Date:   2016-12-05T07:01:40Z

Revert "change sortBy to orderby"

This reverts commit 3b698fbd60ec4454a22cfe2f42bf9cd86bf9dc69.




---
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

2016-12-08 Thread cloverhearts
Github user cloverhearts 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.
---


Re: Export note as a PDF

2016-12-08 Thread Ruslan Dautkhanov
Thank you Hyunsung.

For various reasons we can't use Zeppelinhub.
One of the them being we have to run Zeppelin on-prem and don't depend on
any external resources.

I've created
https://issues.apache.org/jira/browse/ZEPPELIN-1774
"Export notebook as a pixel-perfect printable document, i.e. export as a
PDF"
Please vote up if you would find that useful too.

Thank you.



-- 
Ruslan Dautkhanov

On Wed, Dec 7, 2016 at 10:32 PM, Hyunsung Jo  wrote:

> Hi Ruslan,
>
> Not aware of Zeppelin's roadmap, but perhaps the tag line of the
> ZeppelinHub website (www.zeppelinhub.com) is hinting its feelings towards
> PDF:
> "ANALYZE, SHARE, AND REPEAT.
> Share your graphs and reports from Apache Zeppelin with anyone.
> Never send a graph in a PDF or Powerpoint again."
>
> Regards,
> Jo
>
>
> On Thu, Dec 8, 2016 at 2:00 PM Ruslan Dautkhanov 
> wrote:
>
>> Our users are looking for functionality similar to Jupyter's save
>> notebook as a PDF..
>> Is this in Zeppelin's roadmap somewhere?
>> Could not find any related JIRAs.
>>
>>
>> Thanks,
>> Ruslan Dautkhanov
>>
>


[jira] [Created] (ZEPPELIN-1775) Add dropdown item "Download Data as XLSX"

2016-12-08 Thread Ruslan Dautkhanov (JIRA)
Ruslan Dautkhanov created ZEPPELIN-1775:
---

 Summary: Add dropdown item "Download Data as XLSX"
 Key: ZEPPELIN-1775
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1775
 Project: Zeppelin
  Issue Type: Improvement
  Components: Core, front-end, GUI
Affects Versions: 0.7.0
Reporter: Ruslan Dautkhanov


It's currently possible to download Data as CSV and TSV formats.

Please add dropdown item "Download Data as XLSX".

XLSX format has following advantages over CSV/TSV:
- it can carry also data types not just data;
- it can have compression built in;
- there is no csv import wizard to run - xlsx is self-descriptive.

XLSX format has several advantages over XLS:
- limits are 1,048,576 rows  (vs 65,536 in xls);
- 16,384 columns  (vs 256 in xls);
- main advantage is XLS is a proprietary binary format while XLSX is based on 
Office Open XML format.

Cloudera's Hue for example does allow do download query results as xlsx and our 
analysts find it very useful.



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


[jira] [Created] (ZEPPELIN-1774) Export notebook as a pixel-perfect printable document, i.e. export as a PDF

2016-12-08 Thread Ruslan Dautkhanov (JIRA)
Ruslan Dautkhanov created ZEPPELIN-1774:
---

 Summary: Export notebook as a pixel-perfect printable document, 
i.e. export as a PDF
 Key: ZEPPELIN-1774
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1774
 Project: Zeppelin
  Issue Type: Improvement
  Components: Core, front-end
Affects Versions: 0.7.0
Reporter: Ruslan Dautkhanov


Export notebook as a pixel-perfect printable document, i.e. export as a PDF.

Any other wide-adopted format would do too, for example, I guess that could be 
Open Office XML format (.docx). Although PDF is preferred.

Our users are looking for functionality similar to Jupyter's save notebook as a 
PDF.

It would be great to have the same in Zeppelin.



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


[GitHub] zeppelin issue #1663: ZEPPELIN-1692: Ability to access Spark jobs UI from th...

2016-12-08 Thread karuppayya
Github user karuppayya commented on the issue:

https://github.com/apache/zeppelin/pull/1663
  
@Leemoonsoo Missed pushing a change to the remote, which was causing the 
issue.
I have fixed it and tested it. Can you please take  look.


---
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 #1740: ZEPPELIN-1773. Remove method destroy() in Inter...

2016-12-08 Thread zjffdu
GitHub user zjffdu opened a pull request:

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

ZEPPELIN-1773. Remove method destroy() in Interpreter

### What is this PR for?
IMHO `destroy` is a little functional duplicated with `close`. And it seems 
currently only cassandra use destroy and it just calls `close()` 
https://github.com/apache/zeppelin/blob/master/cassandra/src/main/java/org/apache/zeppelin/cassandra/CassandraInterpreter.java#L231.
 So IMO, we could delete destroy method, also we can delete the destroy method 
in `InterpreterGroup`. 


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

### Todos
* [ ] - Task

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

### How should this be tested?
Just remove something so the existing test pass should be sufficient. 

### Screenshots (if appropriate)

### 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 ZEPPELIN-1773

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

https://github.com/apache/zeppelin/pull/1740.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 #1740


commit 02c3fbe61dad84180836b226d0e50b90958ae01b
Author: Jeff Zhang 
Date:   2016-12-09T02:12:51Z

ZEPPELIN-1773. Remove method destroy() in Interpreter




---
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-1773) Remove method destroy() in Interpreter

2016-12-08 Thread Jeff Zhang (JIRA)
Jeff Zhang created ZEPPELIN-1773:


 Summary: Remove method destroy() in Interpreter
 Key: ZEPPELIN-1773
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1773
 Project: Zeppelin
  Issue Type: Improvement
Affects Versions: 0.7.0
Reporter: Jeff Zhang
Assignee: Jeff Zhang
Priority: Minor


IMHO destroy is a little functional duplicated with close. And it seems 
currently only cassandra use destroy and it just calls close()  
https://github.com/apache/zeppelin/blob/master/cassandra/src/main/java/org/apache/zeppelin/cassandra/CassandraInterpreter.java#L231.
 So IMO, we could delete destroy method, also we can delete the destroy method 
in InterpreterGroup. 
\cc [~moon]



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


[GitHub] zeppelin pull request #1739: Branch 0.5.6 al

2016-12-08 Thread andreistankevich
GitHub user andreistankevich opened a pull request:

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

Branch 0.5.6 al

### What is this PR for?
A few sentences describing the overall goals of the pull request's commits.
First time? Check out the contributing guide - 
https://zeppelin.apache.org/contribution/contributions.html


### What type of PR is it?
[Bug Fix | Improvement | Feature | Documentation | Hot Fix | Refactoring]

### Todos
* [ ] - Task

### What is the Jira issue?
* Open an issue on Jira https://issues.apache.org/jira/browse/ZEPPELIN/
* Put link here, and add [ZEPPELIN-*Jira number*] in PR title, eg. 
[ZEPPELIN-533]

### How should this be tested?
Outline the steps to test the PR here.

### Screenshots (if appropriate)

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


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

$ git pull https://github.com/AppLovin/incubator-zeppelin branch-0.5.6-al

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

https://github.com/apache/zeppelin/pull/1739.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 #1739


commit e34579e8196948e1c78c0f1e536056bc57fb4047
Author: Alexander Bezzubov 
Date:   2016-01-09T01:18:35Z

[maven-release-plugin] prepare release v0.5.6

commit a7ab2be16067bb0a2114a6739c14857b9efcc376
Author: Alexander Bezzubov 
Date:   2016-01-09T01:18:46Z

[maven-release-plugin] prepare for next development iteration

commit ed1cc023953834ff29d0bc212d83f0fe8d000eff
Author: Mina Lee 
Date:   2016-01-07T05:23:18Z

[ZEPPELIN-572] pyspark interpreter doesn't work on yarn-client

### What is this PR for?
Set `spark.yarn.isPython` to be `true` to distribute pyspark libraries to 
workers when master is `yarn-client`

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

### Is there a relevant Jira issue?
[ZEPPELIN-572](https://issues.apache.org/jira/browse/ZEPPELIN-572)

### How should this be tested?
You need yarn cluster to test this PR.
Simple way to test this PR would be running below code in paragraph and see 
if it throws error.
```
%pyspark
print(sc.parallelize([1, 2]).count())
```
And you should be able to see that `spark.yarn.isPython` is set to `true` 
in **Spark UI > Environment > Spark Properties** only when you set spark.master 
as `yarn-client`.

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

Author: Mina Lee 

Closes #605 from minahlee/ZEPPELIN-572 and squashes the following commits:

8c99de5 [Mina Lee] Set spark.yarn.isPython to be true to distribute needed 
pyspark libraries to workers when master is yarn-client

commit cf88d7cdbe960df784f45b182504a8211b0a6a7c
Author: Michael Chen 
Date:   2016-01-08T22:45:31Z

fix + paragraph appearing in link

### What is this PR for?
Fix a bug where the + paragraph appears in link paragraph

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

### Todos

### Is there a relevant Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-591

### How should this be tested?
Click link paragraph in a paragraph and move mouse below paragraph.

### Screenshots (if appropriate)

Before:
https://cloud.githubusercontent.com/assets/6380209/12211555/8c4ea0ce-b627-11e5-83fb-4d9273542bc8.png;>

After:
https://cloud.githubusercontent.com/assets/6380209/12211560/96642fa2-b627-11e5-90d0-f2381f1b3c24.png;>

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

Author: Michael Chen 

Closes #613 from MikeTYChen/ZEPPELIN-591 and squashes the following commits:

26dcea9 [Michael Chen] fix + paragraph appearing in link

commit dedd6a6ea28b1957be91b987ca4f8a682b93e998
Author: Alexander Bezzubov 
Date:   2016-01-11T12:58:20Z

Revert [maven-release-plugin] work to merge hotfixes

This reverts commit a7ab2be16067bb0a2114a6739c14857b9efcc376.

commit 7105afc38c957c40f56e7c072409e6647705c470
Author: Lee moon soo 
Date:   2016-01-11T02:53:00Z

Use apache git mirror instead of github for repository url

### What is this PR for?
Use apache git mirror instead of github for repository url

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

### Questions:
* Does the licenses files need update? no
* Is 

Re: Handling spark-submit errors

2016-12-08 Thread Jeff Zhang
Hi Luciano

Usually I change the log4j.properties to get the output of process
interpreter.sh, it can help most of the problems I hit in interpreter.sh

Here's the log4j.properties I use

log4j.rootLogger = INFO, dailyfile

log4j.appender.stdout = org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout = org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%5p [%d] ({%t} %F[%M]:%L) -
%m%n

log4j.appender.dailyfile.DatePattern=.-MM-dd
log4j.appender.dailyfile.Threshold = DEBUG
log4j.appender.dailyfile = org.apache.log4j.DailyRollingFileAppender
log4j.appender.dailyfile.File = ${zeppelin.log.file}
log4j.appender.dailyfile.layout = org.apache.log4j.PatternLayout
log4j.appender.dailyfile.layout.ConversionPattern=%5p [%d] ({%t} %F[%M]:%L)
- %m%n


log4j.logger.org.apache.zeppelin.interpreter.InterpreterFactory=DEBUG
log4j.logger.org.apache.zeppelin.notebook.Paragraph=DEBUG
log4j.logger.org.apache.zeppelin.scheduler=DEBUG
log4j.logger.org.apache.zeppelin.livy=DEBUG
log4j.logger.org.apache.zeppelin.flink=DEBUG
log4j.logger.org.apache.zeppelin.spark=DEBUG
log4j.logger.org.apache.zeppelin.interpreter.util=DEBUG
log4j.logger.org.apache.zeppelin.interpreter.remote=DEBUG
log4j.logger.org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer=DEBUG

Luciano Resende 于2016年12月9日周五 上午2:48写道:

> I was playing with some new data sources in Zeppelin (master) and had an
> issue on my --package declaration in zeppelin-env.sh.
>
> First, the error stack was a little misleading, as it was only reporting
> connection issues to Spark trying to retrieve paragraph status.
>
> From my initial investigation, we pretty much invoke the spark-submit from
> interpreter.sh... and I was wondering if there is a good way to trap this
> kind of issues and be able to provide a better response to the user (or
> even better logging)...
>
> One option is to have something similar to what spark does, and actually,
> have a class handling some of the interpreter integration logic.
>
> Thoughts  ? Any other possibilities ?
>
> --
> Luciano Resende
> http://twitter.com/lresende1975
> http://lresende.blogspot.com/
>


[jira] [Created] (ZEPPELIN-1772) Method to get current paragraph's ID in the paragraph

2016-12-08 Thread Abhinav Sood (JIRA)
Abhinav Sood created ZEPPELIN-1772:
--

 Summary: Method to get current paragraph's ID in the paragraph
 Key: ZEPPELIN-1772
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1772
 Project: Zeppelin
  Issue Type: New Feature
  Components: front-end, GUI, rest-api, zeppelin-interpreter
Reporter: Abhinav Sood


Provide a method like `getParagraphId()` to get the ID for the paragraph from 
which the method is called.

One of the use cases is having a paragraph that has a function that accepts 
input and generates the code to put D3.js visualizations in a DIV. It also 
accepts a paragraph ID as the input.

The function can be called from other paragraphs, and the D3js plot must be put 
into the DIV for that paragraph. With the `getParagraphId()` we can generate 
DIVs with IDs unique to the paragraph and not affect other paragraphs.



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


Re: Notebook example

2016-12-08 Thread moon soo Lee
Hi,

Appreciate for sharing a notebook and considering contribution.
You can contribute your note as a tutorial under
https://github.com/apache/zeppelin/tree/master/notebook by making
pullrequest. So Zeppelin distribution can include notebook. Just sharing on
the mailing list greatly helps as well if you prefer.

Don't hesitate making pullrequest or asking questions.

Thanks,
moon

On Thu, Dec 8, 2016 at 10:26 AM Alexander Shoshin <
alexander_shos...@epam.com> wrote:

> Hi everyone.
>
> I want to become a Zeppelin contributor. Before starting to fix issues I
> decided to make an example of a notebook to become understand Zeppelin
> better :). I chose Apache Flink as a main Interpreter for my example
> because there are not so many examples of "Zeppelin on Flink" usage. I
> think it also may be helpful for your community according to
> https://issues.apache.org/jira/browse/ZEPPELIN-684, so here is the link:
> https://github.com/AlexanderShoshin/zeppelin-example
>
> I am ready to make any kind of corrections in this example.
>
> Regards,
> Alexander
>


Handling spark-submit errors

2016-12-08 Thread Luciano Resende
I was playing with some new data sources in Zeppelin (master) and had an
issue on my --package declaration in zeppelin-env.sh.

First, the error stack was a little misleading, as it was only reporting
connection issues to Spark trying to retrieve paragraph status.

>From my initial investigation, we pretty much invoke the spark-submit from
interpreter.sh... and I was wondering if there is a good way to trap this
kind of issues and be able to provide a better response to the user (or
even better logging)...

One option is to have something similar to what spark does, and actually,
have a class handling some of the interpreter integration logic.

Thoughts  ? Any other possibilities ?

-- 
Luciano Resende
http://twitter.com/lresende1975
http://lresende.blogspot.com/


[GitHub] zeppelin issue #1538: [ZEPPELIN-1386] Docker images for running Apache Zeppe...

2016-12-08 Thread mfelgamal
Github user mfelgamal commented on the issue:

https://github.com/apache/zeppelin/pull/1538
  
@bzz @1ambda the script `start-zeppelin.sh` isn't important, it just 
enforce using port `8080` and zeppelin home dir `/usr/local/zeppelin`, we can 
ignore it and use `zeppelin.sh`.


---
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-1771) Problem with running paragraphs with Spark standalone cluster

2016-12-08 Thread Kavin Kumar (JIRA)
Kavin Kumar created ZEPPELIN-1771:
-

 Summary: Problem with running paragraphs with Spark standalone 
cluster
 Key: ZEPPELIN-1771
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1771
 Project: Zeppelin
  Issue Type: Bug
  Components: Interpreters
Reporter: Kavin Kumar


I am trying to run the Zeppelin tutorial notebook with my Spark standalone 
cluster and am getting the below error on running the second paragraph to 
execute the SQL query.The first paragraph to load the data was successful.I had 
setup the variables "SPARK_HOME, SPARK_LOCAL_IP, MASTER" in zeppelin-env.sh 
file.Please let me know if I am missing anything.

{code}
java.lang.ClassNotFoundException: 
$line165173840725.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at 
org.apache.spark.serializer.JavaDeserializationStream$$anon$1.resolveClass(JavaSerializer.scala:67)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1620)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1521)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1781)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:373)
at scala.collection.immutable.$colon$colon.readObject(List.scala:362)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1058)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1909)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:373)
at scala.collection.immutable.$colon$colon.readObject(List.scala:362)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1058)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1909)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:373)
at 

[GitHub] zeppelin issue #1730: [ZEPPELIN-1736] Introduce trash & enable removing fold...

2016-12-08 Thread tae-jun
Github user tae-jun commented on the issue:

https://github.com/apache/zeppelin/pull/1730
  
@marchpig Sorry for my late response! I changed what you addressed except 
one thing.

### Korean note order

![image](https://cloud.githubusercontent.com/assets/8201019/21017141/b8b797e2-bdab-11e6-94db-7e1bac10389b.png)
### Remove date string when restore

![remove_date](https://cloud.githubusercontent.com/assets/8201019/21017265/16fa00d8-bdac-11e6-876f-c4c403f2192d.gif)

The one thing is about hiding `~Trash` prefix. I definitely agree with you 
but I think it's not good to make a PR huge. So if you think that feature is 
essential, I will include it to this PR. But if it's not, I would like to leave 
that as a future work :)

Actually, I planned to add features related to the trash on notebook view 
in the future. There are many features need to be implemented!
* Hide `~Trash` prefix
* Notice a note is in the trash
* Disable edit note in the trash (I'm not sure that this is needed, maybe 
limiting user's behavior)
* Disable renaming note in the trash (not sure as well)

The first and second features are needed in my opinion, so I would like to 
handle those on next PR!

Please tell me your opinion.
Thanks for the review again. It looks better than before thanks to your 
comments 😄 


---
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 #1728: [ZEPPELIN-1754] PING request stacking on websocket rec...

2016-12-08 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/1728
  
LGTM and merge to master if there're no more comment.


---
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.
---


Notebook example

2016-12-08 Thread Alexander Shoshin
Hi everyone.

I want to become a Zeppelin contributor. Before starting to fix issues I 
decided to make an example of a notebook to become understand Zeppelin better 
:). I chose Apache Flink as a main Interpreter for my example because there are 
not so many examples of "Zeppelin on Flink" usage. I think it also may be 
helpful for your community according to 
https://issues.apache.org/jira/browse/ZEPPELIN-684, so here is the link: 
https://github.com/AlexanderShoshin/zeppelin-example

I am ready to make any kind of corrections in this example.

Regards,
Alexander


[GitHub] zeppelin pull request #1738: Small Refactoring

2016-12-08 Thread bitchelov
GitHub user bitchelov opened a pull request:

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

Small Refactoring

### What is this PR for?
A few sentences describing the overall goals of the pull request's commits.
First time? Check out the contributing guide - 
https://zeppelin.apache.org/contribution/contributions.html


### What type of PR is it?
[Bug Fix | Improvement | Feature | Documentation | Hot Fix | Refactoring]

### Todos
* [ ] - Task

### What is the Jira issue?
* Open an issue on Jira https://issues.apache.org/jira/browse/ZEPPELIN/
* Put link here, and add [ZEPPELIN-*Jira number*] in PR title, eg. 
[ZEPPELIN-533]

### How should this be tested?
Outline the steps to test the PR here.

### Screenshots (if appropriate)

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



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

$ git pull https://github.com/bitchelov/zeppelin smallRefactoring

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

https://github.com/apache/zeppelin/pull/1738.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 #1738






---
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 #1737: ZEPPELIN-1769. Support cancel job in SparkRInterperete...

2016-12-08 Thread zjffdu
Github user zjffdu commented on the issue:

https://github.com/apache/zeppelin/pull/1737
  
@echarles @Leemoonsoo  Please help review 


---
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 #1728: [ZEPPELIN-1754] PING request stacking on websocket rec...

2016-12-08 Thread marchpig
Github user marchpig commented on the issue:

https://github.com/apache/zeppelin/pull/1728
  
I've tested it and works as expected.
LGTM! But please trigger CI 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 pull request #1716: [ ZEPPELIN-531 ] execute and stop note in job m...

2016-12-08 Thread cloverhearts
GitHub user cloverhearts reopened a pull request:

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

[ ZEPPELIN-531 ] execute and stop note in job menu

### What is this PR for?
We can note start and stop in job menu.


### What type of PR is it?
Improvement

### Todos
- [x] - add feature for run/stop

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

### How should this be tested?
Click to a note start or stop button in job menu.

### Screenshots (if appropriate)

![executenote](https://cloud.githubusercontent.com/assets/10525473/20823821/ec8a39c8-b89a-11e6-91f2-0eddc4bcffd9.gif)

### 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/cloverhearts/zeppelin jobm/executeNote

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

https://github.com/apache/zeppelin/pull/1716.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 #1716


commit 23abb3ae025ef7b6ba9339b9cd383969adb6e526
Author: CloverHearts 
Date:   2016-12-02T04:38:51Z

execute and stop note in job menu

commit f40b12fe3aaf0429fc9501cc2b32cf039d83a773
Author: CloverHearts 
Date:   2016-12-05T07:25:49Z

Merge branch 'master' into jobm/executeNote

commit d3bd76e6255a4c20766785ff186934cf0d601c64
Author: CloverHearts 
Date:   2016-12-07T13:40:02Z

change `if` syntanx style

commit 24d7ced861dbc770b0bc182cfa4ba0aff0b67c4d
Author: CloverHearts 
Date:   2016-12-07T13:42:33Z

Merge branch 'master' into jobm/executeNote

# Conflicts:
#   zeppelin-web/src/app/jobmanager/jobs/job.controller.js

commit b7f205171835ea025aed7c6f22ad189eff1042e1
Author: CloverHearts 
Date:   2016-12-07T14:13:45Z

remove whitespace

commit e00f9ce581716b24ccb2b76095982ff9ff71d5a7
Author: CloverHearts 
Date:   2016-12-08T03:05:46Z

apply code style

commit b6fb3819392c17ae911f7ffcc419d19997dbc091
Author: CloverHearts 
Date:   2016-12-08T03:36:36Z

change string check style




---
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 #1716: [ ZEPPELIN-531 ] execute and stop note in job m...

2016-12-08 Thread cloverhearts
Github user cloverhearts closed the pull request at:

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


---
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 #1733: [ZEPPELIN-1753] Fix blank notename issue

2016-12-08 Thread marchpig
GitHub user marchpig reopened a pull request:

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

[ZEPPELIN-1753] Fix blank notename issue

### What is this PR for?
Note ID is displayed on action bar after pressing enter key with blank 
notename.
This is because the scope variable for notename is used directly as the 
model of input field and it doesn't revert the blank notename back to its 
existing name even though the notename was actually not updated to the blank 
value. (Temporarily lost notename from scope)
To resolve this issue, I added a variable to `ElasticInputCtrl` for the 
model of input field.
This change can always make the notename valid.

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

### Todos

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

### How should this be tested?
Input blank notename on action bar and..
- Check the notename on action bar
- Click 'Export this note' button and check the downloaded json filename.

### Screenshots (if appropriate)

![blank-notename](https://cloud.githubusercontent.com/assets/17305893/20969808/07b6a970-bcce-11e6-9457-e264a2bb0f92.gif)

### 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/marchpig/zeppelin ZEPPELIN-1753

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

https://github.com/apache/zeppelin/pull/1733.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 #1733


commit 25c2ebf6df01b28a551ff7a0f3fc2af1de19db52
Author: Sangwoo Lee 
Date:   2016-12-07T13:34:03Z

Fix blank notename issue




---
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 #1736: [ZEPPELIN-1757] Menu of paragraph includes keyboard sh...

2016-12-08 Thread astroshim
Github user astroshim commented on the issue:

https://github.com/apache/zeppelin/pull/1736
  
@soralee Thank you for contribution of useful function.
but I am usually using the `Shift + Enter` to run paragraph, 
How can be presented this shortcut? 
and it seems necessary a shortcut for the `Link this paragraph`. What do 
you think?



---
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 #1735: [ZEPPELIN-1767] Blank paragraph should not be run.

2016-12-08 Thread astroshim
Github user astroshim commented on the issue:

https://github.com/apache/zeppelin/pull/1735
  
I just fixed typo.
Thanks @rhymoid and @cloverhearts to review this PR. 


---
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-1770) Restart only the client user's interpreter when restarting interpreter setting

2016-12-08 Thread Jeff Zhang (JIRA)
Jeff Zhang created ZEPPELIN-1770:


 Summary: Restart only the client user's interpreter when 
restarting interpreter setting
 Key: ZEPPELIN-1770
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1770
 Project: Zeppelin
  Issue Type: New Feature
Affects Versions: 0.7.0
Reporter: Jeff Zhang


ZEPPELIN-1306 implement the feature to restart the interpreter associated with 
the notes, this ticket is to implement to restart the interpreter associated 
with the user if user click to restart in the interpreter setting page.

Actually I think in future multiple user would be the major use case for 
zeppelin, so we should take user as the first dimension/parameter for any 
operation as opposed before we take noteId as the first dimension/parameter. 





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


[jira] [Created] (ZEPPELIN-1769) Support cancel job in SparkRInterpereter

2016-12-08 Thread Jeff Zhang (JIRA)
Jeff Zhang created ZEPPELIN-1769:


 Summary: Support cancel job in SparkRInterpereter
 Key: ZEPPELIN-1769
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1769
 Project: Zeppelin
  Issue Type: Bug
  Components: Interpreters
Affects Versions: 0.7.0
Reporter: Jeff Zhang
Assignee: Jeff Zhang


cancel is not support for SparkR now, This ticket is trying to add cancel 
support for SparkRInterpreter. 



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


Problem with running paragraphs with Spark standalone cluster

2016-12-08 Thread Kavin Kumar K S
Hi all,

I am trying to run the Zeppelin tutorial notebook with my Spark standalone
cluster and am getting the below error on running the second paragraph to
execute the SQL query.The first paragraph to load the data was successful.I
had setup the variables "SPARK_HOME, SPARK_LOCAL_IP, MASTER" in
zeppelin-env.sh file.Please let me know if I am missing anything.

java.lang.ClassNotFoundException:
$line165173840725.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at
org.apache.spark.serializer.JavaDeserializationStream$$anon$1.resolveClass(JavaSerializer.scala:67)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1620)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1521)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1781)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:373)
at scala.collection.immutable.$colon$colon.readObject(List.scala:362)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1058)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1909)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:373)
at scala.collection.immutable.$colon$colon.readObject(List.scala:362)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1058)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1909)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:373)
at scala.collection.immutable.$colon$colon.readObject(List.scala:362)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1058)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1909)
at