[GitHub] zeppelin issue #1218: [Zeppelin-1213] Customize editor configuration

2017-04-26 Thread hyonaldo
Github user hyonaldo commented on the issue:

https://github.com/apache/zeppelin/pull/1218
  
How can I use this feature?
Though I've installed latest build version, I could not find "Editor 
Configuration menu" anywhere.


---
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 #2280: ZEPPELIN-2445. Display which line of python cod...

2017-04-26 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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 #2289: [ZEPPELIN-2452] Can not handle message in revis...

2017-04-26 Thread cloverhearts
Github user cloverhearts closed the pull request at:

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


---
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 #2288: [ZEPPELIN-2452] block update paragraph event on...

2017-04-26 Thread cloverhearts
GitHub user cloverhearts reopened a pull request:

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

[ZEPPELIN-2452] block update paragraph event on revision mode

### What is this PR for?
In revision mode using git-repository, by default all paragraphs must 
remain unmodifiable.
However, we are currently performing an incorrect update.

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

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

### How should this be tested?
1. create note and modify to paragraph and version control commit on web
2. modify to paragraph and execute
3. open your 2 browser - one browser is HEAD, and other browser move to 
before commit
4. insert paragarph or modify and execute.
check update

### Screenshots (if appropriate)

 problem

![incorrectrevisionupdate](https://cloud.githubusercontent.com/assets/10525473/25425492/1a0ebcce-2aa7-11e7-9a06-cfc84a1c1fe3.gif)

 fixed (this pr)

![correctrevisionupdate](https://cloud.githubusercontent.com/assets/10525473/25425498/1dce1bfc-2aa7-11e7-816c-c25a64963475.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 
fix/invalidupdateonrevision

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

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


commit 19e747999146af56b803696561001977d786032d
Author: CloverHearts 
Date:   2017-04-26T08:30:43Z

block update paragraph event on revision mode




---
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 #2288: [ZEPPELIN-2452] block update paragraph event on...

2017-04-26 Thread cloverhearts
Github user cloverhearts closed the pull request at:

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


---
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 #2292: [HOTFIX] Remove adduser while creating note

2017-04-26 Thread jongyoul
GitHub user jongyoul reopened a pull request:

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

[HOTFIX] Remove adduser while creating note

### What is this PR for?
Adding user paragraph while creating paragraph makes default paragraph and 
user paragraph have same reference. It breaks personalized mode works well. 

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

### Todos
* [x] - Remove `addUser` from `createParagraph`
* [x] - Add test case for it

### What is the Jira issue?
N/A

### How should this be tested?
N/A

### Screenshots (if appropriate)
N/A

### 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/jongyoul/zeppelin 
hotfix/remove-wrong-adduser-and-add-testcase

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

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


commit 6ed521a4ba78e736edd0d491e57fa655fc831955
Author: Jongyoul Lee 
Date:   2017-04-26T17:01:23Z

Removed adduser while creating note
Added test to guarantee paragraph.getUserParagraph is different from 
paragraph itself




---
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 #2292: [HOTFIX] Remove adduser while creating note

2017-04-26 Thread jongyoul
Github user jongyoul closed the pull request at:

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


---
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 #2279: [HOTFIX] Add livy build in .travis

2017-04-26 Thread zjffdu
Github user zjffdu commented on the issue:

https://github.com/apache/zeppelin/pull/2279
  
@Leemoonsoo @felixcheung Please help review. I add livy integrate test with 
python2 and python3 test. Here's the travis link 
https://travis-ci.org/zjffdu/zeppelin/builds/226240044



---
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 #2264: [ZEPPELIN-1711] Create `Dockerfile`s for released bin

2017-04-26 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/2264
  
@1ambda great work!
LGTM and merge to master if no further discussions


---
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 #2221: [ZEPPELIN-2216] general solution to precode. refactori...

2017-04-26 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/2221
  
LGTM and merge to master if no further discussions.


---
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: Travis jobs

2017-04-26 Thread moon soo Lee
Right, seconds travis job seems doing nothing.
Second travis job supposed to test all core unit tests plus integration
test (except for spark related test).
Could you help fix this problem?

Best,
moon

On Tue, Apr 25, 2017 at 1:04 AM Alexander Shoshin <
alexander_shos...@epam.com> wrote:

> Hi devs!
>
> Does anybody know what is the purpose of the second Travis job?
>
> I thought it should run all core unit tests but I found that it doesn't
> run anything. Actually it runs 5 integration tests from
> org.apache.zeppelin.integration package but all of them are skipped because
> of TEST_SELENIUM=false. As a result we have zeppelin-server unit tests
> which don't used at all (in any of Travis jobs).
>
> I guess that it is because of the exclamation mark in "-Dtest" property:
> -Dtest='!ZeppelinSparkClusterTest,!org.apache.zeppelin.spark.*'
> which is not supported by maven-surefire-plugin of version 2.17 (which is
> used in Zeppelin). Exclamation mark is supported started from 2.19 but
> still does not work properly. Instead of this we can use surefire "exclude"
> property in pom.xml by passing parameter from command line:
>
> .travis.yaml:
> -Dtests.to.exclude='ZeppelinSparkClusterTest,org.apache.zeppelin.spark.*'
> pom.xml: ${tests.to.exclude}
>
> So should we run all core unit tests in the second Travis job or not?
>
> Regards,
> Alexander
>


[GitHub] zeppelin issue #2281: added principalSuffix to AD examples

2017-04-26 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/2281
  
Thanks @paul-brenner for the contribution!

LGTM and merge to master and branch-0.7 if no further discussions


---
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 #1574: ZEPPELIN-1595. Make ZeppelinContext extensible

2017-04-26 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/1574
  
Great work. Looks good to me!


---
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 #2262: [HOTFIX] Fix CI build failure on branch-0.6

2017-04-26 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/2262
  
LGTM and merge to branch-0.6 if no further 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.
---


[GitHub] zeppelin issue #2286: Jenkins CI test

2017-04-26 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/2286
  
PR builder triggered and run normally. But somehow github page does not 
display build state.


---
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 #2289: [ZEPPELIN-2452] Can not handle message in revision mod...

2017-04-26 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/2289
  
Could you make CI green 
https://travis-ci.org/cloverhearts/zeppelin/builds/225928425?


---
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 #2288: [ZEPPELIN-2452] block update paragraph event on revisi...

2017-04-26 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/2288
  
Could you make CI build success? 
https://travis-ci.org/cloverhearts/zeppelin/builds/225916461


---
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 #2265: [ZEPPELIN-2427] Hide navbar and noteAction bar when sc...

2017-04-26 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/2265
  
This PR has been opened for last week.
LGTM and Merge to master if no further 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 #2285: ZEPPELIN-2450. Move spark profile to pom file of paren...

2017-04-26 Thread felixcheung
Github user felixcheung commented on the issue:

https://github.com/apache/zeppelin/pull/2285
  
+1 on what @jongyoul says


---
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 #2275: [ZEPPELIN-2442] button to create note into folder (nav...

2017-04-26 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/2275
  
LGTM and merge to master if no further discussions


---
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 #2292: [HOTFIX] Removed adduser while creating note

2017-04-26 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/2292
  
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 #2286: Jenkins CI test

2017-04-26 Thread jongyoul
Github user jongyoul commented on the issue:

https://github.com/apache/zeppelin/pull/2286
  
I saw the status of Zeppelin's PR builder in builds.a.o and it doesn't 
seems to work properly.


---
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 #2286: Jenkins CI test

2017-04-26 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/2286
  
I have no good idea. https://issues.apache.org/jira/browse/INFRA-14005. 


---
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 #2287: SSL Support for Groovy Interpreter HTTP requests [ZEPP...

2017-04-26 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/2287
  
CI build https://travis-ci.org/dlukyanov/zeppelin/builds/225949679

LGTM and merge to master if no further discussions


---
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 #2286: Jenkins CI test

2017-04-26 Thread jongyoul
Github user jongyoul commented on the issue:

https://github.com/apache/zeppelin/pull/2286
  
Why doesn't our travis work for now?


---
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 #2285: ZEPPELIN-2450. Move spark profile to pom file of paren...

2017-04-26 Thread jongyoul
Github user jongyoul commented on the issue:

https://github.com/apache/zeppelin/pull/2285
  
@zjffdu About this issue, moon and I discussed when we split 
`spark-dependencies` from `spark`. We don't want to make duplication you 
mentioned, on the contrary, we don't want interpreter's profile to locate in a 
root `pom.xml` because that means all other interpreters profiles can be 
located in a root. I know what you intend and how good it is, but can you find 
another solution for it? I really don't want to see all profiles of modules in 
a root.


---
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 #2292: [HOTFIX] Removed adduser while creating note

2017-04-26 Thread jongyoul
GitHub user jongyoul opened a pull request:

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

[HOTFIX] Removed adduser while creating note

### What is this PR for?
Adding user paragraph while creating paragraph makes default paragraph and 
user paragraph have same reference. It breaks personalized mode works well. 

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

### Todos
* [x] - Remove `addUser` from `createParagraph`
* [x] - Add test case for it

### What is the Jira issue?
N/A

### How should this be tested?
N/A

### Screenshots (if appropriate)
N/A

### 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/jongyoul/zeppelin 
hotfix/remove-wrong-adduser-and-add-testcase

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

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


commit 6ed521a4ba78e736edd0d491e57fa655fc831955
Author: Jongyoul Lee 
Date:   2017-04-26T17:01:23Z

Removed adduser while creating note
Added test to guarantee paragraph.getUserParagraph is different from 
paragraph itself




---
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 #2291: ZEPPELIN-2459 Zeppelin Usability Improvement fo...

2017-04-26 Thread r-kamath
GitHub user r-kamath opened a pull request:

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

ZEPPELIN-2459 Zeppelin Usability Improvement for new paragraph

### What is this PR for?
Move cursor to second line for new paragraphs

### What type of PR is it?
Improvement

### Todos
* [ ] - Task

### What is the Jira issue?
ZEPPELIN-2459

### How should this be tested?
For a new paragraph he initial cursor position should be on the second line.

### Screenshots (if appropriate)
**Before**
https://cloud.githubusercontent.com/assets/2031306/25446579/9dcdeb2a-2acf-11e7-883d-e0ccf2ef834d.png;>

**After**
https://cloud.githubusercontent.com/assets/2031306/25446593/a66289da-2acf-11e7-8d8e-2029339f0133.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/r-kamath/zeppelin ZEPPELIN-2459

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

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


commit 4c6525d1c14f0f5727d5f7f2cc16b4b795e70d7a
Author: Renjith Kamath 
Date:   2017-04-26T16:54:01Z

ZEPPELIN-2459 Zeppelin Usability Improvement for new paragraph




---
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-2459) Zeppelin Usability Improvement for new paragraph

2017-04-26 Thread Renjith Kamath (JIRA)
Renjith Kamath created ZEPPELIN-2459:


 Summary: Zeppelin Usability Improvement for new paragraph
 Key: ZEPPELIN-2459
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2459
 Project: Zeppelin
  Issue Type: Improvement
Reporter: Renjith Kamath
Assignee: Renjith Kamath
Priority: Minor


Scenario:
- Create a paragraph & execute it
- Zeppelin automatically creates a new paragraph with the same interpreter but 
the cursor is placed at the interpreter line.
- It would be more useful to have the cursor at the next line after the 
interpreter.



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


[jira] [Created] (ZEPPELIN-2458) tutorial requires sqlContext.implicits._?

2017-04-26 Thread Kevin W Monroe (JIRA)
Kevin W Monroe created ZEPPELIN-2458:


 Summary: tutorial requires sqlContext.implicits._?
 Key: ZEPPELIN-2458
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2458
 Project: Zeppelin
  Issue Type: Bug
Affects Versions: 0.7.0
 Environment: Ubuntu 16.04 with zeppelin installed from Apache Bigtop 
repository.
Reporter: Kevin W Monroe
Priority: Minor


I'm unable to run the Basic Features (Spark) notebook included in Zeppelin 
0.7.0:

{noformat}
DEBUG [2017-04-26 16:07:34,967] ({Exec Stream Pumper} 
RemoteInterpreterManagedProcess.java[processLine]:189) - defined class Bank
DEBUG [2017-04-26 16:07:35,312] ({Exec Stream Pumper} 
RemoteInterpreterManagedProcess.java[processLine]:189) - :32: error: 
value toDF is not a member of org.apache.spark.rdd.RDD[Bank]
DEBUG [2017-04-26 16:07:35,313] ({Exec Stream Pumper} 
RemoteInterpreterManagedProcess.java[processLine]:189) - possible cause: maybe 
a semicolon is missing before `value toDF'?
DEBUG [2017-04-26 16:07:35,313] ({Exec Stream Pumper} 
RemoteInterpreterManagedProcess.java[processLine]:189) -).toDF()
DEBUG [2017-04-26 16:07:35,313] ({Exec Stream Pumper} 
RemoteInterpreterManagedProcess.java[processLine]:189) -  ^
 WARN [2017-04-26 16:07:35,359] ({pool-2-thread-1} 
NotebookServer.java[afterStatusChange]:2026) - Job 20150210-015259_1403135953 
is finished, status: ERROR, exception: null, result:
{noformat}

This was mentioned way back in ZEPPELIN-90, but the resolution was to move to 
spark >= 1.3.  I'm using Spark 2.1.0 (verfied with {{sc.version}} in a zeppelin 
paragraph).  The spark interpreter master setting is {{local\[*]}} with 
spark.home set to {{/var/lib/spark}}, which is where spark debs are installed.  
I have the following package versions:

{noformat}
$ dpkg -l | grep -E 'spark|zeppelin'
ii  spark-core   2.1.0-1
all  Lightning-Fast Cluster Computing
ii  spark-datanucleus2.1.0-1
all  DataNucleus libraries for Apache Spark
ii  spark-python 2.1.0-1
all  Python client for Spark
ii  zeppelin 0.7.0-1
all  Web-based notebook for data analysts
{noformat}

The workaround for me is to import the sqlcontext.implicits in the affected 
paragraph:

{noformat}
import sqlContext.implicits._
{noformat} 



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


[jira] [Created] (ZEPPELIN-2457) Empty Commit to (Git) Version Control after paragraph change

2017-04-26 Thread Alexander Wenzel (JIRA)
Alexander Wenzel created ZEPPELIN-2457:
--

 Summary: Empty Commit to (Git) Version Control after paragraph 
change
 Key: ZEPPELIN-2457
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2457
 Project: Zeppelin
  Issue Type: Bug
Affects Versions: 0.7.0
Reporter: Alexander Wenzel
Priority: Critical


We are working with GIT version control and have encountered some strange 
behavior 
regarding commits (changes being lost, commits being empty).

Now we were able to invest some time to look into it and were able to reliably 
reproduce it:


h3. BUG:
---
When editing a paragraph and then commiting via "Version Control" Button in 
Zeppelin Toolbar, 
an empty commit will be performed (containing no changes at all).

Similarly, when editing a paragraph, then running the paragraph, then editing 
it again 
and then commiting via "Version Control" Button in Zeppelin Toolbar, 
the commit will only contain the changes before running the paragraph.

We took some look into the websocket frames being sent:
While editing the paragraph, only "PING" frames were sent.
The Commit Button only sent one "CHECKPOINT_NOTE" frame, which does not contain 
any paragraph text.


h3. Current Workarounds:
---
Perform one of the following actions before commiting:

## 1) Changing the paragraph title
^ will send websocket frame (containing the changes):
 "op":"COMMIT_PARAGRAPH"

## 2) Running the changed paragraph
^ will send websocket frame (containing the changes):
 "op":"RUN_PARAGRAPH"

## 3) Running all paragraphs (of the notebook)
^ will send websocket frame (containing the changes):
 "op":"RUN_ALL_PARAGRAPHS"


h3. Proposed Bug Fix:
---
Triggering a Commit via "Version Control" Button in Zeppelin Toolbar 
should send a "COMMIT_PARAGRAPH" websocket frame (similar to the one, when 
changing a paragraph title).

Please note this is only a proposal based on our observation on the websocket 
frames being exchanged. Any solution is welcome :)

If you need any further infos, please ask.




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


[jira] [Created] (ZEPPELIN-2456) Multiple scheduled tasks running on notebooks causes problem with Zeppelin UI

2017-04-26 Thread Daniel Kozlowski (JIRA)
Daniel Kozlowski created ZEPPELIN-2456:
--

 Summary: Multiple scheduled tasks running on notebooks causes 
problem with Zeppelin UI
 Key: ZEPPELIN-2456
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2456
 Project: Zeppelin
  Issue Type: Bug
  Components: zeppelin-server
Affects Versions: 0.6.0
Reporter: Daniel Kozlowski


I created a schedule task for my notebook. This used to work fine. I had other 
users having done the same with their notebooks. So, altogether we had about 20 
scheduled tasks running every 1 min. Recently, the schedule tasks stopped 
working. I restarted the Zeppelin service. The scheduling process started again 
and ran for about 2-3 minutes. Then, it stopped again.
Here is what it's seen in zeppelin log file
{code}
ERROR [2017-04-26 10:42:00,001] ({DefaultQuartzScheduler_Worker-7} 
JobRunShell.java[run]:211) - Job note.2CFV54C2H threw an unhandled Exception: 
java.lang.NullPointerException 
at org.apache.zeppelin.notebook.Note.runAll(Note.java:404) 
at org.apache.zeppelin.notebook.Notebook$CronJob.execute(Notebook.java:642) 
at org.quartz.core.JobRunShell.run(JobRunShell.java:202) 
at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) 
ERROR [2017-04-26 10:42:00,007] ({DefaultQuartzScheduler_Worker-7} 
QuartzScheduler.java[schedulerError]:2425) - Job (note.2CFV54C2H threw an 
exception. 
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested 
exception: java.lang.NullPointerException] 
at org.quartz.core.JobRunShell.run(JobRunShell.java:213) 
at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) 
Caused by: java.lang.NullPointerException 
at org.apache.zeppelin.notebook.Note.runAll(Note.java:404) 
at org.apache.zeppelin.notebook.Notebook$CronJob.execute(Notebook.java:642) 
at org.quartz.core.JobRunShell.run(JobRunShell.java:202) 
... 1 more 
{code}

This now causes the issue using Zeppelin UI. It does not look to be stable. I 
can log in but sometimes cannot see the notebooks. Or I can see the list of 
notebooks but when selecting one the content does not display.



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


[GitHub] zeppelin issue #2275: [ZEPPELIN-2442] button to create note into folder (nav...

2017-04-26 Thread soralee
Github user soralee commented on the issue:

https://github.com/apache/zeppelin/pull/2275
  
I tested long folder name and LGTM!

![check_long_name](https://cloud.githubusercontent.com/assets/8110458/25434340/e09f846c-2ac6-11e7-8829-73e8baf4a80a.gif)



---
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 #2290: [ZEPPELIN-2448] Fix paragraph navigation issue

2017-04-26 Thread sravan-s
GitHub user sravan-s opened a pull request:

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

[ZEPPELIN-2448] Fix paragraph navigation issue

### What is this PR for?
* Keyboard events are broadcasted to components in lower tree
* Focus was getting transferred to the lower paragraphs, causing a chaining 
effect
* Making emit synchronous fixes the problem

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

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

### How should this be tested?
* Open a notebook with three or more paragraphs (A, B, C, D) one below the 
other
* Hide editor in B and C
* Try to navigate A to D
* The focus is passed through all four paragraphs

### 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/sravan-s/zeppelin ZEPPELIN-2448

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

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


commit a01ba7c2e6ef8d87714528bc7e949ca2d6daea69
Author: sravan 
Date:   2017-04-26T11:47:45Z

Fix paragraph navigation issue

* Keyboard events are broadcasted to components in lower tree
* Focus was getting transffered to the lower paragraphs, cauing a chaining 
effect
* Making emit synchronous fixes the problem




---
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-2455) Does not work personalized mode on zeppelin

2017-04-26 Thread CloverHearts (JIRA)
CloverHearts created ZEPPELIN-2455:
--

 Summary: Does not work personalized mode on zeppelin
 Key: ZEPPELIN-2455
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2455
 Project: Zeppelin
  Issue Type: Bug
Reporter: CloverHearts
Priority: Critical
 Attachments: incooo.gif

Does not work personalized mode on zeppelin

how to reproduce
1. create a note
2. With each different browser, log in as a different user.
3. A and B users.
4. Activate personalized as user A.
5. Run paragraph A as user.
6. The code is shared, but the results are not shared.
7. Modify and execute the paragraph with the B user.
8. All changes are delivered to the A user. (Problem)

I was Attach an action screenshot.



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


[GitHub] zeppelin pull request #2289: [ZEPPELIN-2452] Can not handle message in revis...

2017-04-26 Thread cloverhearts
GitHub user cloverhearts opened a pull request:

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

[ZEPPELIN-2452] Can not handle message in revision mode on web.

### What is this PR for?
Requests interpreter editor mode information in revision mode.
However, no information is needed in revision mode.
Produces misleading logs with misleading requests to the server.
```
ERROR [2017-04-26 18:07:48,718] ({qtp1273765644-60} 
NotebookServer.java[onMessage]:383) - Can't handle message
java.lang.NullPointerException
ERROR [2017-04-26 18:07:49,081] ({qtp1273765644-109} 
NotebookServer.java[onMessage]:383) - Can't handle message
java.lang.NullPointerException
ERROR [2017-04-26 18:07:49,083] ({qtp1273765644-14} 
NotebookServer.java[onMessage]:383) - Can't handle message
java.lang.NullPointerException
```

This log is requested as many as the number of paragraphs contained in the 
note.


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

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

### How should this be tested?
1. Create a git-repo based note. (Supported by default)
2. Modify the paragraph and commit.
3. Go to the committed revision.
4. Reload the page.
5. Check the server logs.

NotebookServer.java[onMessage]:383) - Can't handle message
java.lang.NullPointerException

### 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 
fix/incorrectcall-geteditorsetting-on-revisionmode

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

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


commit 8c77f769826d239bcfaf2ddf1ed6cf4771347b63
Author: CloverHearts 
Date:   2017-04-26T09:10:18Z

fix call geteditorsetting




---
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 #2288: [ZEPPELIN-2452] block update paragraph event on...

2017-04-26 Thread cloverhearts
GitHub user cloverhearts opened a pull request:

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

[ZEPPELIN-2452] block update paragraph event on revision mode

### What is this PR for?
In revision mode using git-repository, by default all paragraphs must 
remain unmodifiable.
However, we are currently performing an incorrect update.

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

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

### How should this be tested?
1. create note and modify to paragraph and version control commit on web
2. modify to paragraph and execute
3. open your 2 browser - one browser is HEAD, and other browser move to 
before commit
4. insert paragarph or modify and execute.
check update

### Screenshots (if appropriate)

 problem

![incorrectrevisionupdate](https://cloud.githubusercontent.com/assets/10525473/25425492/1a0ebcce-2aa7-11e7-9a06-cfc84a1c1fe3.gif)

 fixed (this pr)

![correctrevisionupdate](https://cloud.githubusercontent.com/assets/10525473/25425498/1dce1bfc-2aa7-11e7-816c-c25a64963475.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 
fix/invalidupdateonrevision

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

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


commit 19e747999146af56b803696561001977d786032d
Author: CloverHearts 
Date:   2017-04-26T08:30:43Z

block update paragraph event on revision mode




---
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 #2287: SSL Support for Groovy Interpreter HTTP request...

2017-04-26 Thread dlukyanov
GitHub user dlukyanov opened a pull request:

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

SSL Support for Groovy Interpreter HTTP requests [ZEPPELIN-2443]

### What is this PR for?

Target: Create ability to call http services with custom keystores in a 
groovy way.
The following should work:
```
//connect to host xxx.yyy with special keystore
HTTP.get(
  url: "https://xxx.yyy/zzz;,
  ssl: " HTTP.getKeystoreSSLContext('./xxx_yyy_keystore.jks', 'testpass') "
)
//take context initialization code from groovy interpreter properties
HTTP.get(
  url: "https://xxx.yyy/zzz;,
  ssl: g.SSL_CONTEXT_FROM_GROOVY_INTERPRET_PROPERTIES
)
//connect to host xxx.yyy with trust all (do not check trust certificates - 
dev mode only) 
HTTP.get(
  url: "https://xxx.yyy/zzz;,
  ssl: " HTTP.getNaiveSSLContext() "
)
//
HTTP.get(
  url: "https://xxx.yyy/zzz;,
  ssl: " MyCustomSSLBuilder.build() "
)
```


### What type of PR is it?
Improvement

### Todos
* [ ] - Task

### What is the Jira issue?
[ZEPPELIN-2443]

### How should this be tested?
follow the samples above or in documentation

### 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/dlukyanov/zeppelin master

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

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


commit 4baa22e2b4db99e7b55c42a2ee5163b9b27ca5e8
Author: dlukyanov 
Date:   2017-04-26T06:38:05Z

ZEPPELIN-2443




---
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-2454) broken paragraph or note

2017-04-26 Thread CloverHearts (JIRA)
CloverHearts created ZEPPELIN-2454:
--

 Summary: broken paragraph or note
 Key: ZEPPELIN-2454
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2454
 Project: Zeppelin
  Issue Type: Sub-task
Reporter: CloverHearts
Assignee: CloverHearts


When you run a note, the paragraph is sometimes blank.
Sometimes the order changes.



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


[jira] [Created] (ZEPPELIN-2453) call incorrect websocket event on revision mode

2017-04-26 Thread CloverHearts (JIRA)
CloverHearts created ZEPPELIN-2453:
--

 Summary: call incorrect websocket event on revision mode 
 Key: ZEPPELIN-2453
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2453
 Project: Zeppelin
  Issue Type: Sub-task
Reporter: CloverHearts
Assignee: CloverHearts


When approaching Zeppelin in revision mode, it calls the wrong web socket event 
as many as the number of paragraphs.



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


[jira] [Created] (ZEPPELIN-2452) revison mode incorrect update

2017-04-26 Thread CloverHearts (JIRA)
CloverHearts created ZEPPELIN-2452:
--

 Summary: revison mode incorrect update
 Key: ZEPPELIN-2452
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2452
 Project: Zeppelin
  Issue Type: Sub-task
Reporter: CloverHearts


Note Update events are performed in revision mode.



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


[GitHub] zeppelin issue #2229: [Zeppelin 2367] Hive JDBC proxy user option should be ...

2017-04-26 Thread prabhjyotsingh
Github user prabhjyotsingh commented on the issue:

https://github.com/apache/zeppelin/pull/2229
  
> why is zeppelin.jdbc.auth.kerberos.proxy.enable removed?

My bad, while fixing the above issues, I thought this is redundant, but I 
forgot about the case where KERBEROS is enabled and the user does not want to 
use proxy behavior. Have reverted that change.

> also is there a way not to hardcode hive jdbc 
[here](https://github.com/apache/zeppelin/pull/2229/files#diff-ecdae8ee9594a5c4b21a3c217a3f130cR365)

Hive doesn't work with 
[this](https://github.com/apache/zeppelin/pull/2229/files#diff-ecdae8ee9594a5c4b21a3c217a3f130cR370)
 (UserGroupInformation.createProxyUser), and since we allow user to configure 
multiple JDBC sources using the same interpreter setting; there can be a case 
where user has configured say Phoenix (requires 
UserGroupInformation.createProxyUser to proxy user)  and Hive (fails if 
UserGroupInformation.createProxyUser is used), we could introduce new parameter 
like `{profile}.kerberos.proxy.enable` but this will increase the documentation 
part.



---
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 #2285: ZEPPELIN-2450. Move spark profile to pom file of paren...

2017-04-26 Thread zjffdu
Github user zjffdu commented on the issue:

https://github.com/apache/zeppelin/pull/2285
  
@Leemoonsoo @felixcheung @jongyoul 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.
---


Re: CI status is lost in PR page

2017-04-26 Thread moon soo Lee
Yes, somehow, PR page does not display CI status. I don't know exact
reason. I filed an INFRA issue
https://issues.apache.org/jira/browse/INFRA-14005.

On Tue, Apr 25, 2017 at 10:42 PM Jeff Zhang  wrote:

> I didn't see the CI status in the PR page recently, I need to check travis
> manually. Does anyone experience the same thing ?
>
>
>
> [image: image.png]
>


[GitHub] zeppelin pull request #2286: Jenkins CI test

2017-04-26 Thread Leemoonsoo
GitHub user Leemoonsoo opened a pull request:

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

Jenkins CI test

will not be merged.
for test purpose.

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

$ git pull https://github.com/Leemoonsoo/zeppelin ci_test

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

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


commit 27dfcc43aaf0fdee19c78743d2871e29893a7580
Author: Lee moon soo 
Date:   2017-04-26T06:15:52Z

test




---
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 #2280: ZEPPELIN-2445. Display which line of python code raise...

2017-04-26 Thread zjffdu
Github user zjffdu commented on the issue:

https://github.com/apache/zeppelin/pull/2280
  
Thanks @felixcheung , will merge it if no more 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.
---