[jira] [Created] (ZEPPELIN-2090) Need to remove deprecated

2017-02-08 Thread Ahyoung Ryu (JIRA)
Ahyoung Ryu created ZEPPELIN-2090:
-

 Summary: Need to remove deprecated 
 Key: ZEPPELIN-2090
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2090
 Project: Zeppelin
  Issue Type: Improvement
Affects Versions: 0.7.0
Reporter: Ahyoung Ryu
Assignee: Ahyoung Ryu
Priority: Minor
 Fix For: 0.7.1


In 
[docs/0.7.0/install/configuration.html#zeppelin-properties|https://zeppelin.apache.org/docs/0.7.0/install/configuration.html#zeppelin-properties],
 it says "This property is deprecated since Zeppelin-0.6.0 and will not be 
supported from Zeppelin-0.7.0." for {{zeppelin.interpreters}}. But there are 
still some places to guide to use this property.
 - 
[docs/0.7.0/manual/interpreterinstallation.html#install-3rd-party-interpreters|https://zeppelin.apache.org/docs/0.7.0/manual/interpreterinstallation.html#install-3rd-party-interpreters]
 - 
[zeppelin-zengine/src/main/java/org/apache/zeppelin/interpreter/install/InstallInterpreter.java#L291|https://github.com/apache/zeppelin/blob/master/zeppelin-zengine/src/main/java/org/apache/zeppelin/interpreter/install/InstallInterpreter.java#L291]

We need to remove this msg. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] zeppelin pull request #1998: [ZEPPELIN-2070][DOCS] Create Docs for Spell

2017-02-08 Thread 1ambda
GitHub user 1ambda opened a pull request:

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

[ZEPPELIN-2070][DOCS] Create Docs for Spell

### What is this PR for?

Docs for Spell which was added by #1940

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

### Todos
* [x] - Add docs for spell
* [x] - Fix typo in vis docs

### What is the Jira issue?

[ZEPPELIN-2070](https://issues.apache.org/jira/browse/ZEPPELIN-2070)

### How should this be tested?

- `cd docs`
- `/usr/local/bin/bundle exec jekyll serve --watch`
- Open `http://localhost:4000/development/writingzeppelinspell.html`

### Screenshots (if appropriate)


![image](https://cloud.githubusercontent.com/assets/4968473/22772190/9e6cfbfc-eede-11e6-8f36-8ee3749d4b36.png)


![image](https://cloud.githubusercontent.com/assets/4968473/22772196/a43de578-eede-11e6-8f49-25f0ae4e5662.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/1ambda/zeppelin ZEPPELIN-2070/docs-for-spell

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

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


commit 04deb81a4d4cd2292b5d57ba151145c7c8f81026
Author: 1ambda <1am...@gmail.com>
Date:   2017-02-07T09:20:55Z

fix: Invalid desc in vis docs

commit 83ee0506092a8c871aabbb5e268fbc0f0b1ebb57
Author: 1ambda <1am...@gmail.com>
Date:   2017-02-09T05:12:11Z

docs: Add spell doc to nav

commit bcc9b3e3ec3b62c4f2ce01e0e44be7383a2a5e3e
Author: 1ambda <1am...@gmail.com>
Date:   2017-02-09T06:35:38Z

docs: Add docs for spell

commit c7dc9bdd6a736f6d63b781eea7251fd64646bb71
Author: 1ambda <1am...@gmail.com>
Date:   2017-02-09T06:39:21Z

fix: Typo in writing in viz




---
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 #1991: [ZEPPELIN-2081] Prettify input, textarea in int...

2017-02-08 Thread 1ambda
GitHub user 1ambda reopened a pull request:

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

[ZEPPELIN-2081] Prettify input, textarea in interpreter setting page

### What is this PR for?

Fix small details in interpreter setting page about inputboxes, textareas

- Set align middle for `td`
- Keep same min-height between input and textarea
- Add border-radius 3px;

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

### What is the Jira issue?

[ZEPPELIN-2081](https://issues.apache.org/jira/browse/ZEPPELIN-2081)

### How should this be tested?

Open the browser and check manually.

### Screenshots (if appropriate)

 Before: Invalid align


![image](https://cloud.githubusercontent.com/assets/4968473/22731438/06a84124-ee2e-11e6-9367-96d59a2dbc2a.png)

 Before: Inconsistent min-height


![image](https://cloud.githubusercontent.com/assets/4968473/22731449/0bdab870-ee2e-11e6-9ee3-450e1b1508bf.png)

 After: align


![image](https://cloud.githubusercontent.com/assets/4968473/22731451/11a303f2-ee2e-11e6-9ed4-708ca01e637d.png)

 After: min-height


![image](https://cloud.githubusercontent.com/assets/4968473/22731456/15f295ee-ee2e-11e6-915d-e9d7d6236bbd.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/1ambda/zeppelin 
ZEPPELIN-2081/prettify-intp-setting-boxes

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

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


commit 7e2499b90b58088316eac35fc89cc9bef04501a7
Author: 1ambda <1am...@gmail.com>
Date:   2017-02-08T09:36:37Z

feat: Set middle align, min height




---
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 #1978: Hive proxy user doesn't work if interpreter name is no...

2017-02-08 Thread r-kamath
Github user r-kamath commented on the issue:

https://github.com/apache/zeppelin/pull/1978
  
@felixcheung updated in 6d55d48


---
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 #1992: ZEPPELIN-2083: default interpreter list should honour ...

2017-02-08 Thread prabhjyotsingh
Github user prabhjyotsingh commented on the issue:

https://github.com/apache/zeppelin/pull/1992
  
@Leemoonsoo  can you help review this.


---
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 #1992: ZEPPELIN-2083: default interpreter list should ...

2017-02-08 Thread prabhjyotsingh
GitHub user prabhjyotsingh reopened a pull request:

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

ZEPPELIN-2083: default interpreter list should honour order of 
zeppelin.interpreters property in zeppelin-site.xml

### What is this PR for?
Default interpreter list should honour order of zeppelin.interpreters 
property in zeppelin-site.xml

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


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

### How should this be tested?
Remove default spark interpreter, and and another with a different name say 
"spark2". This newly created interpreter should show up on top.

### Screenshots (if appropriate)

Before:
https://cloud.githubusercontent.com/assets/674497/22739380/66c50e72-ee31-11e6-83cc-07669d292a12.png;>

After:
https://cloud.githubusercontent.com/assets/674497/22739379/66c377d8-ee31-11e6-965c-f9f61b288d99.png;>




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


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

$ git pull https://github.com/prabhjyotsingh/zeppelin ZEPPELIN-2053

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

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


commit b17d9bdd038406183cd27661a48a0fe91e2ff110
Author: Prabhjyot Singh 
Date:   2017-02-08T13:33:01Z

ZEPPELIN-2053: default interpreter list should honour order of 
zeppelin.interpreters property in zeppelin-site.xml




---
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 #1997: [MINOR][ZEPPELIN-2087] Make each Zeppelin conf ...

2017-02-08 Thread AhyoungRyu
GitHub user AhyoungRyu opened a pull request:

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

[MINOR][ZEPPELIN-2087] Make each Zeppelin conf property accessible with 
anchor link

### What is this PR for?
Sometimes I need to point some Zeppelin configuration property to let sbd 
know. But as Zeppelin conf table has too many properties now(about 35), it's 
hard to find where the property that I'm finding located.

So I made each Zeppelin conf property accessible by adding anchor icon next 
to it. And added 
https://cloud.githubusercontent.com/assets/10060731/22768874/4c923998-eec8-11e6-9b16-9355bf6624ab.png;>
to let ppl know about this. 


### What type of PR is it?
Improvement | Documentation

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

### How should this be tested?
1. Build `/docs` as described in 
[here](https://github.com/apache/zeppelin/tree/master/docs#build-documentation)

2. Go to "Quick Start" ->"Getting Started" -> "Configuration"
3. Mouse hover on each property and click the anchor icon -> check the url 
header bar 

### Screenshots (if appropriate)

![record](https://cloud.githubusercontent.com/assets/10060731/22768593/81159b4e-eec6-11e6-8421-db565aaf2e2a.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/AhyoungRyu/zeppelin docs/eachConfWithAnchor

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

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


commit 589fc878d0c65b6e240f2ad7d83dc33d0ac4eba9
Author: AhyoungRyu 
Date:   2017-02-09T03:43:57Z

Remove deprecated content in interpreterInstallation section

commit 0a5eaf5c57301907e3b6f41a58ef775763eb
Author: AhyoungRyu 
Date:   2017-02-09T03:47:12Z

Make each Zeppelin conf accessible with anchor link




---
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 #1976: [ZEPPELIN-2037] Restart button does not work

2017-02-08 Thread cloverhearts
Github user cloverhearts commented on the issue:

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

Thank you for your reply, @del680202 
I understand your publicity purpose.
And I think it's right.
What I am worried call "terminateRemoteProcess ();" From "public void close 
(String sessionId) in InterpreterGroup.java".
"Close (String sessionId)" should only perform the action corresponding to 
the session.
And if all sessions are closed, the process must be terminated.
However, the current code always performs "terminateRemoteProcess ();" 
Within "close (String sessionId)".
"TerminateRemoteProcess ();" The function forces all sessions to be 
terminated and the process is terminated.
I think this is the wrong behavior of "close (String sessionId)".
We think this can be a problem, because we can write several users with an 
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-2086) Refactor zeppelin-web test directories

2017-02-08 Thread Hoon Park (JIRA)
Hoon Park created ZEPPELIN-2086:
---

 Summary: Refactor zeppelin-web test directories
 Key: ZEPPELIN-2086
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2086
 Project: Zeppelin
  Issue Type: Test
  Components: front-end
Reporter: Hoon Park


Since we are using a separated test directory, 

- it's uncomfortable to create test
- it's hard to figure which test file is related with a source

{code}
// we have to import like this...
import TableData from '../../../src/app/tabledata/tabledata.js';
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] zeppelin pull request #1994: [MINOR] Replace angular inject with ngInject

2017-02-08 Thread 1ambda
GitHub user 1ambda opened a pull request:

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

[MINOR] Replace angular inject with ngInject

### What is this PR for?

Replaced angular inject with ngInject to reduce duplication and keep 
simple. There is no reason to use angular inject since

- it can make human-error (e.g. fixing only inject while doesn't modify 
function args.)
- ngInject is a way to enforce single source of truth (function args)
- we are already applying 
[ng-annotate](https://github.com/olov/ng-annotate) in webpack. 
(https://github.com/apache/zeppelin/blob/0589e27e7bb84ec81e1438bcbf3f2fd80ee5a963/zeppelin-web/webpack.config.js#L142)

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

### What is the Jira issue?

MINOR

### How should this be tested?

will be tested by CI

### Screenshots (if appropriate)

NONE

### 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/1ambda/zeppelin MINOR/remove-angular-inject

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

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


commit b880905dcc9032b8be960a8f0cf45d0a108b640f
Author: 1ambda <1am...@gmail.com>
Date:   2017-02-09T02:16:15Z

chore: Remove angular inject with ngInject




---
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 #1987: [ZEPPELIN-2068] Change interpreter.json & credentials....

2017-02-08 Thread AhyoungRyu
Github user AhyoungRyu commented on the issue:

https://github.com/apache/zeppelin/pull/1987
  
CI is green now. Ready for 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 #1993: [ZEPPELIN-1700] Update docs for ZEPPELIN_INTERPRETER_C...

2017-02-08 Thread AhyoungRyu
Github user AhyoungRyu commented on the issue:

https://github.com/apache/zeppelin/pull/1993
  
LGTM 


---
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-2085) Zeppelin fails to compile function contains function as a parameter

2017-02-08 Thread Kevin (Sangwoo) Kim (JIRA)
Kevin (Sangwoo) Kim created ZEPPELIN-2085:
-

 Summary: Zeppelin fails to compile function contains function as a 
parameter
 Key: ZEPPELIN-2085
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2085
 Project: Zeppelin
  Issue Type: Bug
Affects Versions: 0.7.0
Reporter: Kevin (Sangwoo) Kim


Code below runs well in Spark shell, 
but fails to run on Zeppelin 0.7 (Used to be work on Zeppelin 0.6)



case class TestClass(a: Int)
object TestClassBuilder {
  def get(a: Int) = TestClass(a)
}

def successToCompile()(filterFunc: (TestClass) => Boolean) {

  val rdd = sc.makeRDD(List(TestClass(1), TestClass(2)))
  rdd.filter(filterFunc)
}

def failToCompile(filterFunc: (TestClass) => Boolean) {

  val rdd = sc.makeRDD(List(TestClassBuilder.get(1), TestClassBuilder.get(2)))  
  
  rdd.filter(filterFunc)
}




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (ZEPPELIN-2084) z.show doesn't show dataframe

2017-02-08 Thread Andrei Stankevich (JIRA)
Andrei Stankevich created ZEPPELIN-2084:
---

 Summary: z.show doesn't show dataframe
 Key: ZEPPELIN-2084
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2084
 Project: Zeppelin
  Issue Type: Bug
  Components: zeppelin-interpreter
Affects Versions: 0.7.0
Reporter: Andrei Stankevich
Priority: Minor


I am doing 
bq. z.show(sc.parallelize((1 to 100).toList).toDF, 10)

and it doesn't show anything. 

After browser page refresh it shows everything correctly. I tried it on Chrome 
and Safari and it doesn't looks like it is browser related.

if i use number less that 10 it works correctly. For my custom DF it works 
only if i specify number less that 100





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] zeppelin pull request #1991: [ZEPPELIN-2081] Prettify input, textarea in int...

2017-02-08 Thread 1ambda
GitHub user 1ambda reopened a pull request:

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

[ZEPPELIN-2081] Prettify input, textarea in interpreter setting page

### What is this PR for?

Fix small details in interpreter setting page about inputboxes, textareas

- Set align middle for `td`
- Keep same min-height between input and textarea
- Add border-radius 3px;

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

### What is the Jira issue?

[ZEPPELIN-2081](https://issues.apache.org/jira/browse/ZEPPELIN-2081)

### How should this be tested?

Open the browser and check manually.

### Screenshots (if appropriate)

 Before: Invalid align


![image](https://cloud.githubusercontent.com/assets/4968473/22731438/06a84124-ee2e-11e6-9367-96d59a2dbc2a.png)

 Before: Inconsistent min-height


![image](https://cloud.githubusercontent.com/assets/4968473/22731449/0bdab870-ee2e-11e6-9ee3-450e1b1508bf.png)

 After: align


![image](https://cloud.githubusercontent.com/assets/4968473/22731451/11a303f2-ee2e-11e6-9ed4-708ca01e637d.png)

 After: min-height


![image](https://cloud.githubusercontent.com/assets/4968473/22731456/15f295ee-ee2e-11e6-915d-e9d7d6236bbd.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/1ambda/zeppelin 
ZEPPELIN-2081/prettify-intp-setting-boxes

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

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


commit 7e2499b90b58088316eac35fc89cc9bef04501a7
Author: 1ambda <1am...@gmail.com>
Date:   2017-02-08T09:36:37Z

feat: Set middle align, min height




---
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 #1991: [ZEPPELIN-2081] Prettify input, textarea in int...

2017-02-08 Thread 1ambda
Github user 1ambda closed the pull request at:

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


---
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 #1992: ZEPPELIN-2083: default interpreter list should honour ...

2017-02-08 Thread r-kamath
Github user r-kamath commented on the issue:

https://github.com/apache/zeppelin/pull/1992
  
Tested, LGTM


---
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 #1582: [ZEPPELIN-1604] Add Neo4j interpreter and Network visu...

2017-02-08 Thread conker84
Github user conker84 commented on the issue:

https://github.com/apache/zeppelin/pull/1582
  
hi @felixcheung , the PR is ready!


---
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 #1993: [ZEPPELIN-1700] Update docs for ZEPPELIN_INTERP...

2017-02-08 Thread jpgbus
GitHub user jpgbus opened a pull request:

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

[ZEPPELIN-1700] Update docs for ZEPPELIN_INTERPRETER_CONNECT_TIMEOUT


### What is this PR for?
Update docs to let devs know about 
[ZEPPELIN_INTERPRETER_CONNECT_TIMEOUT](https://github.com/apache/zeppelin/blob/5bb38c89ae67f95858547f73d0e833ef91b3d6ee/zeppelin-zengine/src/main/java/org/apache/zeppelin/conf/ZeppelinConfiguration.java#L576)

Some use cases are such that this value would need to be quite a bit 
higher, e.g., exceed the time required to create the spark executors in a mesos 
cluster. Developers may not know about this var until after they see the error 
[ZEPPELIN-1700].

### What type of PR is it?
Documentation

### Todos
* [ ] - Review and merge

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

### How should this be tested?
Review that the documented values reflect code reality 
https://github.com/apache/zeppelin/blob/5bb38c89ae67f95858547f73d0e833ef91b3d6ee/zeppelin-zengine/src/main/java/org/apache/zeppelin/conf/ZeppelinConfiguration.java#L576

### Screenshots (if appropriate)

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


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

$ git pull https://github.com/jpgbus/zeppelin patch-1

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

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


commit 22aad28ab179348bee69603e7a0f023e9f3fba2c
Author: jpgbus 
Date:   2017-02-08T14:32:57Z

This timeout should be included in docs


https://github.com/apache/zeppelin/blob/5bb38c89ae67f95858547f73d0e833ef91b3d6ee/zeppelin-zengine/src/main/java/org/apache/zeppelin/conf/ZeppelinConfiguration.java#L576




---
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 #1670: [ZEPPELIN-1700] ConnectException between ZeppelinServe...

2017-02-08 Thread jpgbus
Github user jpgbus commented on the issue:

https://github.com/apache/zeppelin/pull/1670
  
@Leemoonsoo Hats off to you and the community for Zeppelin - it seems to be 
a masterpiece in the making. I'd like to update the document for this ConfVars.


https://github.com/apache/zeppelin/blob/master/zeppelin-zengine/src/main/java/org/apache/zeppelin/conf/ZeppelinConfiguration.java#L576

`ZEPPELIN_INTERPRETER_CONNECT_TIMEOUT("zeppelin.interpreter.connect.timeout", 
3),`

I submitted [PR](https://github.com/apache/zeppelin/pull/1993)


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


FINAL REMINDER: CFP for ApacheCon closes February 11th

2017-02-08 Thread Rich Bowen
Dear Apache Enthusiast,

This is your FINAL reminder that the Call for Papers (CFP) for ApacheCon
Miami is closing this weekend - February 11th. This is your final
opportunity to submit a talk for consideration at this event.

This year, we are running several mini conferences in conjunction with
the main event, so if you're submitting for one of those events, please
pay attention to the instructions below.

Apache: Big Data
* Event information:
http://events.linuxfoundation.org/events/apache-big-data-north-america
* CFP:
http://events.linuxfoundation.org/events/apache-big-data-north-america/program/cfp

Apache: IoT (Internet of Things)
* Event Information: http://us.apacheiot.org/
* CFP -
http://events.linuxfoundation.org/events/apachecon-north-america/program/cfp
(Indicate 'IoT' in the Target Audience field)

CloudStack Collaboration Conference
* Event information: http://us.cloudstackcollab.org/
* CFP -
http://events.linuxfoundation.org/events/apachecon-north-america/program/cfp
(Indicate 'CloudStack' in the Target Audience field)

FlexJS Summit
* Event information - http://us.apacheflexjs.org/
* CFP -
http://events.linuxfoundation.org/events/apachecon-north-america/program/cfp
(Indicate 'Flex' in the Target Audience field)

TomcatCon
* Event information - https://tomcat.apache.org/conference.html
* CFP -
http://events.linuxfoundation.org/events/apachecon-north-america/program/cfp
(Indicate 'Tomcat' in the Target Audience field)

All other topics and projects
* Event information -
http://events.linuxfoundation.org/events/apachecon-north-america/program/about
* CFP -
http://events.linuxfoundation.org/events/apachecon-north-america/program/cfp

Admission to any of these events also grants you access to all of the
others.

Thanks, and we look forward to seeing you in Miami!

-- 
Rich Bowen
VP Conferences, Apache Software Foundation
rbo...@apache.org
Twitter: @apachecon



(You are receiving this email because you are subscribed to a dev@ or
users@ list of some Apache Software Foundation project. If you do not
wish to receive email from these lists any more, you must follow that
list's unsubscription procedure. View the headers of this message for
unsubscription instructions.)


[jira] [Created] (ZEPPELIN-2083) Default interpreter list should honour order of zeppelin.interpreters property in zeppelin-site.xml

2017-02-08 Thread Prabhjyot Singh (JIRA)
Prabhjyot Singh created ZEPPELIN-2083:
-

 Summary: Default interpreter list should honour order of 
zeppelin.interpreters property in zeppelin-site.xml
 Key: ZEPPELIN-2083
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2083
 Project: Zeppelin
  Issue Type: Bug
Reporter: Prabhjyot Singh
Assignee: Prabhjyot Singh


default interpreter list should honour order of zeppelin.interpreters property 
in zeppelin-site.xml



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] zeppelin pull request #1992: ZEPPELIN-2053: default interpreter list should ...

2017-02-08 Thread prabhjyotsingh
GitHub user prabhjyotsingh opened a pull request:

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

ZEPPELIN-2053: default interpreter list should honour order of 
zeppelin.interpreters property in zeppelin-site.xml

### What is this PR for?
ZEPPELIN-2053: default interpreter list should honour order of 
zeppelin.interpreters property in zeppelin-site.xml

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


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

### How should this be tested?
Remove default spark interpreter, and and another with a different name say 
"spark2". This newly created interpreter should show up on top.

### Screenshots (if appropriate)

Before:
https://cloud.githubusercontent.com/assets/674497/22739380/66c50e72-ee31-11e6-83cc-07669d292a12.png;>

After:
https://cloud.githubusercontent.com/assets/674497/22739379/66c377d8-ee31-11e6-965c-f9f61b288d99.png;>




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


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

$ git pull https://github.com/prabhjyotsingh/zeppelin ZEPPELIN-2053

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

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


commit b17d9bdd038406183cd27661a48a0fe91e2ff110
Author: Prabhjyot Singh 
Date:   2017-02-08T13:33:01Z

ZEPPELIN-2053: default interpreter list should honour order of 
zeppelin.interpreters property in zeppelin-site.xml




---
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-2082) Class not found exception when executing rdd transform function with lambdas

2017-02-08 Thread Benoit Hanotte (JIRA)
Benoit Hanotte created ZEPPELIN-2082:


 Summary: Class not found exception when executing rdd transform 
function with lambdas
 Key: ZEPPELIN-2082
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2082
 Project: Zeppelin
  Issue Type: Bug
  Components: Interpreters
Affects Versions: 0.7.0
 Environment: Spark 2.1 (scala 2.10) compiled for hadoop 2.6.0-cdh5.5.0
Zeppelin 0.7.0 (scala 2.10) compiled for hadoop 2.6.0-cdh5.5.0
hadoop 2.6.0-cdh5.5.0
Reporter: Benoit Hanotte


 am experiencing a ClassNotFoundException when trying to run RDD 
transaformations on Zeppelin 0.7.0, spark 2.1 compiled under scala 2.10 and 
hadoop 2.6.0-cdh5.5.0
It only happens when using lambdas it seems and seems to match these issues 
that were reported fixed a few months ago: 
https://issues.apache.org/jira/browse/ZEPPELIN-1518https://issues.apache.org/jira/browse/ZEPPELIN-1735
Could this be a regression?

{code}
val a = sc.parallelize(1 to 9, 3)
val b = a.map(_*3)
b.collect().foreach(println)
{code}

gives

{code}
a: org.apache.spark.rdd.RDD[Int] = ParallelCollectionRDD[35] at parallelize at 
:86
b: org.apache.spark.rdd.RDD[Int] = MapPartitionsRDD[36] at map at :88
org.apache.spark.SparkException: Job aborted due to stage failure: Task 1 in 
stage 13.0 failed 4 times, most recent failure: Lost task 1.3 in stage 13.0 
(TID 145, e4-1d-2d-19-7f-b0.pa4.hpc.criteo.prod, executor 8): 
java.lang.ClassNotFoundException: 
$iwC$$iwC$$iwC$$iwC$$iwC725d9ae18728ec9520b65ad133e3b55$$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 
org.apache.spark.serializer.JavaDeserializationStream.readObject(JavaSerializer.scala:75)
at 
org.apache.spark.serializer.JavaSerializerInstance.deserialize(JavaSerializer.scala:114)
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:80)
at org.apache.spark.scheduler.Task.run(Task.scala:99)
at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:282)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Driver stacktrace:
at 
org.apache.spark.scheduler.DAGScheduler.org$apache$spark$scheduler$DAGScheduler$$failJobAndIndependentStages(DAGScheduler.scala:1435)
at 
org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1423)
at 
org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1422)
at 
scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
at 
org.apache.spark.scheduler.DAGScheduler.abortStage(DAGScheduler.scala:1422)
at 
org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:802)
at 
org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:802)
at 

[GitHub] zeppelin pull request #1989: [ZEPPELIN-2073]Replace AngularObjectRegistry by...

2017-02-08 Thread qinchaofeng
Github user qinchaofeng closed the pull request at:

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


---
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 #1989: [ZEPPELIN-2073]Replace AngularObjectRegistry by Resour...

2017-02-08 Thread 1ambda
Github user 1ambda commented on the issue:

https://github.com/apache/zeppelin/pull/1989
  
Hi @qinchaofeng. I think you pushed different branch. Could you check 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 #1991: [ZEPPELIN-2081] Prettify input, textarea in int...

2017-02-08 Thread 1ambda
GitHub user 1ambda opened a pull request:

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

[ZEPPELIN-2081] Prettify input, textarea in interpreter setting page

### What is this PR for?

Fix small details in interpreter setting page about inputboxes, textareas

- Set align middle for `td`
- Keep same min-height between input and textarea
- Add border-radius 3px;

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

### What is the Jira issue?

[ZEPPELIN-2081](https://issues.apache.org/jira/browse/ZEPPELIN-2081)

### How should this be tested?

Open the browser and check manually.

### Screenshots (if appropriate)

 Before: Invalid align


![image](https://cloud.githubusercontent.com/assets/4968473/22731438/06a84124-ee2e-11e6-9367-96d59a2dbc2a.png)

 Before: Inconsistent min-height


![image](https://cloud.githubusercontent.com/assets/4968473/22731449/0bdab870-ee2e-11e6-9ee3-450e1b1508bf.png)

 After: align


![image](https://cloud.githubusercontent.com/assets/4968473/22731451/11a303f2-ee2e-11e6-9ed4-708ca01e637d.png)

 After: min-height


![image](https://cloud.githubusercontent.com/assets/4968473/22731456/15f295ee-ee2e-11e6-915d-e9d7d6236bbd.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/1ambda/zeppelin 
ZEPPELIN-2081/prettify-intp-setting-boxes

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

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


commit 7e2499b90b58088316eac35fc89cc9bef04501a7
Author: 1ambda <1am...@gmail.com>
Date:   2017-02-08T09:36:37Z

feat: Set middle align, min height




---
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-2081) Prettify inputs and textareas in the interpreter setting page

2017-02-08 Thread Hoon Park (JIRA)
Hoon Park created ZEPPELIN-2081:
---

 Summary: Prettify inputs and textareas in the interpreter setting 
page
 Key: ZEPPELIN-2081
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2081
 Project: Zeppelin
  Issue Type: Improvement
Reporter: Hoon Park


We can enhance alignment, border of inputboxes, textares in interpreter setting 
page.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] zeppelin pull request #1990: [ZEPPELIN-2072] Home Screen doesn't work on shi...

2017-02-08 Thread soralee
GitHub user soralee opened a pull request:

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

[ZEPPELIN-2072] Home Screen doesn't work on shiro.

### What is this PR for?
The home screen is a notebook for use as homepage. 
It is the zeppelin.notebook.homescreen variable in `conf/zeppelin-site.xml` 
or `conf/zeppelin-env.sh`. 
But currently zeppelin.notebook.homescreen variable doesn't work on shiro 
until refreshing window.


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


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

### How should this be tested?
1. Set zeppelin.notebook.homescreen variable in `conf/zeppelin-site.xml` or 
`conf/zeppelin-env.sh`.
2. Turn on shiro.
3. Start zeppelin-daemon.
4. Login your account and make sure whether homepage is changed or not.

### Screenshots (if appropriate)
[ Before ]

![z_2072_b](https://cloud.githubusercontent.com/assets/8110458/22730568/dd60512e-ee2a-11e6-8e7e-f379b1eb0e58.gif)

[ After ]

![z_2072_a](https://cloud.githubusercontent.com/assets/8110458/22730590/04482604-ee2b-11e6-9db6-d2656b252274.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/soralee/zeppelin 
ZEPPELIN-2072_homescreen_shiro

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

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


commit 35625c41acd14a1fa801eba7898f40f371ca3bcc
Author: soralee 
Date:   2017-02-08T08:24:12Z

fix homescreen on shiro




---
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 #1979: [ZEPPELIN-2063] Hive Jdbc interpreter does not relogin...

2017-02-08 Thread r-kamath
Github user r-kamath commented on the issue:

https://github.com/apache/zeppelin/pull/1979
  
Tested. LGTM.


---
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 #1982: [ZEPPELIN-2069] Helium Package Configuration

2017-02-08 Thread 1ambda
Github user 1ambda closed the pull request at:

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


---
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 #1982: [ZEPPELIN-2069] Helium Package Configuration

2017-02-08 Thread 1ambda
GitHub user 1ambda reopened a pull request:

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

[ZEPPELIN-2069] Helium Package Configuration

### What is this PR for?

Supporting helium package configurations. I attached screenshots.

 Implementation details.

In case of spell, spell developer can create config spec in their 
`package.json` and it will be part of `helium.json` which is consumed by 
Zeppelin.

```
  "config": {
"repeat": {
  "type": "number",
  "description": "How many times to repeat",
  "defaultValue": 1
}
  },
```

1. Persists conf per `package name@package version` since each version can 
require different configs even if they are the same package.
2. Saves key-value config only. Since config spec (e.g `type`, `desc`, 
`defaultValue`) can be provided. So it's not efficient save both of them. 
3. Extracts config related functions to `helium.service.js` since it can be 
used not only in `helium.controller.js` for view but also should be used in 
`paragraph.controller.js`, `result.controller.js` for executing spell. 

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

### Todos
* [x] - create config view in `/helium`
* [x] - persist config per `package@version`
* [x] - pass config to spell

### What is the Jira issue?

[ZEPPELIN-2069](https://issues.apache.org/jira/browse/ZEPPELIN-2069)

### How should this be tested?

- Build with examples `mvn clean package -Phelium-dev -Pexamples 
-DskipTests;`
- Open `/helium` page
- Update the `echo-spell` config
- Execute the spell like the screenshot below. (you don't need to refresh 
the page, since executing spell will fetch config from server)

### Screenshots (if appropriate)


![config](https://cloud.githubusercontent.com/assets/4968473/22678867/a66db8ae-ed40-11e6-910b-f81e50a62ba4.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/1ambda/zeppelin 
ZEPPELIN-2069/helium-package-configuration

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

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


commit a42c7887fd9b2c0aa1063d3b1a4c5822f92a757c
Author: 1ambda <1am...@gmail.com>
Date:   2017-02-06T07:34:32Z

feat: Support config, version field for helium pkg

commit 9582cb7f9055798f97dc3da53398f3ab0d17a46b
Author: 1ambda <1am...@gmail.com>
Date:   2017-02-06T07:34:52Z

feat: Support config for helium pkg in backend

commit 05499a4d35e57b46b15de69664b2322fa292ef2b
Author: 1ambda <1am...@gmail.com>
Date:   2017-02-06T07:37:48Z

chore: Add conf to example spells

commit dbd4bce99a6f762332d5516c5edd3d43263d
Author: 1ambda <1am...@gmail.com>
Date:   2017-02-06T07:41:24Z

feat: Support helium conf in frontend

commit 2156c3c0866f1d84218b512cd92811d60263562e
Author: 1ambda <1am...@gmail.com>
Date:   2017-02-07T02:07:28Z

refactor: Extact spell related code to helium

commit e44457c04b49b6381e786fe9441089160d6c7300
Author: 1ambda <1am...@gmail.com>
Date:   2017-02-07T02:23:37Z

feat: Pass confs to spell interpret()

commit 3d9de1ec142a947e3dceca0f715f29323e23c024
Author: 1ambda <1am...@gmail.com>
Date:   2017-02-07T04:18:15Z

feat: Add config to framework, examples

commit fdcf0ba584ff1e9351bbc14cc366e00daa76de51
Author: 1ambda <1am...@gmail.com>
Date:   2017-02-07T04:18:27Z

fix: Remove digest from para ctrl




---
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 #1989: Branch 0.7

2017-02-08 Thread qinchaofeng
GitHub user qinchaofeng opened a pull request:

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

Branch 0.7

### What is this PR for?
To  hide the menu of  interpreter setting, credentials and configurations 
based on permission.

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

### Todos

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

### How should this be tested?
Has prepared the testcase in UnitTest

### 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/apache/zeppelin branch-0.7

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

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


commit d91b310cbb985eac1e12ab9528a3be9e8e1b834c
Author: Prabhjyot Singh 
Date:   2017-01-07T12:37:00Z

[ZEPPELIN-1906] Use multiple InterpreterResult for displaying multiple JDBC 
queries

### What is this PR for?
Use multiple InterpreterResult for displaying multiple JDBC queries.
IMO since other sql editors allows to execute multiple sql separated with 
";" and ours display mechanism being more powerful, hence, it should also allow 
the same.

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

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

### How should this be tested?
Try running following in a paragraph (with Postgres setting) and check for 
output.

```
%jdbc
create table test_temp_table (id int);
select column_name, data_type, character_maximum_length from 
INFORMATION_SCHEMA.COLUMNS where table_name = 'test_temp_table';
SELECT table_name FROM information_schema.tables WHERE table_schema = 
'public';
drop table test_temp_table;
SELECT table_name FROM information_schema.tables WHERE table_schema = 
'public';
```

### Screenshots (if appropriate)

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

Author: Prabhjyot Singh 

Closes #1845 from prabhjyotsingh/ZEPPELIN-1906 and squashes the following 
commits:

b27352a [Prabhjyot Singh] on error show previous output.
f9fd5c6 [Prabhjyot Singh] allow last query to be without ";"
b3e742e [Prabhjyot Singh] fixing checkstyle-fail-build
ac4663d [Prabhjyot Singh] add block comment
f3da37f [Prabhjyot Singh] replace regex with slightly better logic.
e6727b5 [Prabhjyot Singh] add testcase for spliting sql.
c096e76 [Prabhjyot Singh] remove extra empty lines
e675190 [Prabhjyot Singh] user same connection instead of creating new 
everytime
f5ab796 [Prabhjyot Singh] Use multiple InterpreterResult for displaying 
multiple JDBC queries

(cherry picked from commit 8464971c7aab0734f96d0a5a11d842b8e595324a)
Signed-off-by: Prabhjyot Singh 

commit b8637f5e5fa4aab8859e6bc90fa7886ba9157b24
Author: Alexander Shoshin 
Date:   2017-01-11T08:45:31Z

[ZEPPELIN-1787] Add an example of Flink Notebook

### What is this PR for?
This PR will add an example of batch processing with Flink to Zeppelin 
tutorial notebooks. There are no any Flink notebooks in the tutorial at the 
moment.

### What type of PR is it?
Improvement

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

### How should this be tested?
You should open `Using Flink for batch processing` notebook from the 
`Zeppelin Tutorial` folder and run all paragraphs one by one

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

Author: Alexander Shoshin 

Closes #1758 from AlexanderShoshin/ZEPPELIN-1787 and squashes the following 
commits:

83cbffb [Alexander Shoshin] remove localhost url
5255e17 [Alexander Shoshin] Merge branch 'master' into ZEPPELIN-1787
0b9df56 [Alexander Shoshin] add a link for this notebook to Zeppelin 
documentation
593c47d [Alexander Shoshin] convert notebook to 0.7.0 format
9013620 [Alexander Shoshin] convert notebook to 0.6.2 format
fe2a39e [Alexander Shoshin] add download instruction, change "wget" to 
"curl"
f64b60a [Alexander Shoshin] [ZEPPELIN-1787] Add an example of Flink Notebook

 

[GitHub] zeppelin pull request #1981: [ZEPPELIN-2067] SparkInterpreter prints unneces...

2017-02-08 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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 #1988: [ZEPPELIN-2080] Fix null column parse issue in ...

2017-02-08 Thread yiming187
GitHub user yiming187 opened a pull request:

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

[ZEPPELIN-2080] Fix null column parse issue in KylinInterpreter

### What is this PR for?
KylinInterpreter use regex pattern "\"results\":\\[\\[\"(.*?)\"]]" to 
extract the result, but if the last column is null, then no quotes in that 
field. The regex pattern will fail to match.
The KylinInterpreter should consider to support the null field case.


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

### Todos

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

### How should this be tested?
Has prepared the testcase in UnitTest

### 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/yiming187/zeppelin ZEPPELIN-2080

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

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


commit 741977dd0c462bc7bffac8a742e7f6cbaaf5c18d
Author: Billy Liu 
Date:   2017-02-08T08:18:46Z

[ZEPPELIN-2080] Fix null column parse issue in KylinInterpreter




---
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-2080) KylinInterpreter could not parse result row which is end with null value

2017-02-08 Thread Billy Liu (JIRA)
Billy Liu created ZEPPELIN-2080:
---

 Summary: KylinInterpreter could not parse result row which is end 
with null value 
 Key: ZEPPELIN-2080
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2080
 Project: Zeppelin
  Issue Type: Bug
  Components: Interpreters
Affects Versions: 0.7.0
Reporter: Billy Liu
Assignee: Billy Liu
Priority: Minor


KylinInterpreter use regex pattern "\"results\":\\[\\[\"(.*?)\"]]" to extract 
the result, but if the last column is null, then no quotes in that field. Then 
the regex pattern will fail to match.

The KylinInterpreter should consider to support the null field case.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] zeppelin pull request #1582: [ZEPPELIN-1604] Add Neo4j interpreter and Netwo...

2017-02-08 Thread conker84
Github user conker84 closed the pull request at:

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


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