[GitHub] zeppelin issue #2291: ZEPPELIN-2459 Zeppelin Usability Improvement for new p...

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

https://github.com/apache/zeppelin/pull/2291
  
Tested locally, 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 #2229: [Zeppelin 2367] Hive JDBC proxy user option should be ...

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

https://github.com/apache/zeppelin/pull/2229
  
@felixcheung  ping


---
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 #2297: [ZEPPELIN-2465] Minor code fixes for the livy package

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

https://github.com/apache/zeppelin/pull/2297
  
Thanks @benoyantony , LGTM, wait for CI pass


---
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 #2297: [ZEPPELIN-2465] Minor code fixes for the livy package

2017-04-28 Thread benoyantony
Github user benoyantony commented on the issue:

https://github.com/apache/zeppelin/pull/2297
  
@zjffdu , could you please review this change ?


---
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 #2301: [ZEPPELIN-1625] Override Interpreter settings a...

2017-04-28 Thread benoyantony
GitHub user benoyantony opened a pull request:

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

[ZEPPELIN-1625] Override Interpreter settings at User level

### What is this PR for?
When multiple users share a zeppelin instance, it is sometimes desirable to 
use the same interpreter with different settings. 

It should be possible an administrator to setup some of the Interpreter 
settings as overridable by setting a place holder and a default value
It should be possible for a user to specify the actual values via 
properties.

### What type of PR is it?
Feature

### Todos
Override interpreter setting at notebook level

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

### How should this be tested?

Unit tests are added. 
Please see screen shots for manual testing

### Screenshots


![override-interpreter-setting](https://cloud.githubusercontent.com/assets/1928906/25549166/2b5073f4-2c25-11e7-84f7-17ab8fc23537.gif)

![set-property](https://cloud.githubusercontent.com/assets/1928906/25549165/2b4e6a96-2c25-11e7-90cd-700afdac83ab.gif)


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


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

$ git pull https://github.com/benoyantony/zeppelin user_properties

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

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


commit 6972b7cf094ef07a2a1e295169966656f638f361
Author: Benoy Antony 
Date:   2017-04-28T22:08:45Z

ZEPPELIN-1625 Override Interpreter settings at User level




---
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 #1623: ZEPPELIN-1625 add support for user specific pro...

2017-04-28 Thread benoyantony
Github user benoyantony closed the pull request at:

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


---
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-2476) Overwriting existing notebook

2017-04-28 Thread Chaouachi Majdi (JIRA)
Chaouachi Majdi created ZEPPELIN-2476:
-

 Summary: Overwriting existing notebook
 Key: ZEPPELIN-2476
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2476
 Project: Zeppelin
  Issue Type: Bug
Affects Versions: 0.7.0
Reporter: Chaouachi Majdi
Priority: Critical


When someone is working in a notebook and someone else login (anonymous or 
login with his user/pass) to zeppelin and create a new notebook at the same 
time the other is working, all codes and progress for the first one will be 
deleted immediately. 

This issue was not present in 0.6.2



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


[jira] [Created] (ZEPPELIN-2475) Zeppelin gives Null Pointer Exception

2017-04-28 Thread Haad Khan (JIRA)
Haad Khan created ZEPPELIN-2475:
---

 Summary: Zeppelin gives Null Pointer Exception
 Key: ZEPPELIN-2475
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2475
 Project: Zeppelin
  Issue Type: Bug
  Components: pySpark
Affects Versions: 0.7.0
 Environment: Amazon Centos AMI, Ec2 instance
Reporter: Haad Khan


We have a self built package that works for us in shell programs but when  I 
try importing into zeppelin I am unable to continue working on zeppelin and can 
even do print in pyspark context.

We get the following errror.
java.lang.NullPointerException
at org.apache.zeppelin.spark.Utils.invokeMethod(Utils.java:38)
at org.apache.zeppelin.spark.Utils.invokeMethod(Utils.java:33)
at 
org.apache.zeppelin.spark.SparkInterpreter.createSparkContext_2(SparkInterpreter.java:380)
at 
org.apache.zeppelin.spark.SparkInterpreter.createSparkContext(SparkInterpreter.java:369)
at 
org.apache.zeppelin.spark.SparkInterpreter.getSparkContext(SparkInterpreter.java:144)
at 
org.apache.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:817)
at 
org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
at 
org.apache.zeppelin.spark.PySparkInterpreter.getSparkInterpreter(PySparkInterpreter.java:546)
at 
org.apache.zeppelin.spark.PySparkInterpreter.createGatewayServerAndStartScript(PySparkInterpreter.java:206)
at 
org.apache.zeppelin.spark.PySparkInterpreter.open(PySparkInterpreter.java:160)
at 
org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:482)
at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
at 
org.apache.zeppelin.scheduler.FIFOScheduler$1.run(FIFOScheduler.java:139)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:473)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)



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


[jira] [Created] (ZEPPELIN-2474) ClassCast exception when interpreting UDFs from a String

2017-04-28 Thread Dave Knoester (JIRA)
Dave Knoester created ZEPPELIN-2474:
---

 Summary: ClassCast exception when interpreting UDFs from a String
 Key: ZEPPELIN-2474
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2474
 Project: Zeppelin
  Issue Type: Bug
  Components: zeppelin-interpreter
 Environment: OS X 10.11.6, spark-2.1.0-bin-hadoop2.7, Scala version 
2.11.8 (bundled w/ Spark), Java 1.8.0_121
Reporter: Dave Knoester
Priority: Blocker


Hi Zeppelin team,

I'm cross-posting this issue: https://issues.apache.org/jira/browse/SPARK-20525 
here in the hopes that someone here can help, since Zeppelin has already solved 
it.

I'm trying to interpret a string containing Scala code from inside a Spark 
session. Everything is working fine, except for User Defined Function-like 
things (UDFs, map, flatMap, etc).

For example, this code works in Zeppelin:

import org.apache.spark.sql._
import org.apache.spark.sql.functions._
import spark.implicits._

val upper: String => String = _.toUpperCase
val upperUDF = udf(upper)
val df = 
spark.sparkContext.parallelize(Seq("foo","bar")).toDF.withColumn("UPPER", 
upperUDF($"value"))
df.show()

However, this code fails when run in a spark-shell:

import scala.tools.nsc.GenericRunnerSettings
import scala.tools.nsc.interpreter.IMain
val settings = new GenericRunnerSettings( println _ )
settings.usejavacp.value = true
val interpreter = new IMain(settings, new java.io.PrintWriter(System.out))
interpreter.bind("spark", spark);
interpreter.interpret("import org.apache.spark.sql.functions.\nimport 
spark.implicits.\nval upper: String => String = _.toUpperCase\nval upperUDF = 
udf(upper)\nspark.sparkContext.parallelize(Seq(\"foo\",\"bar\")).toDF.withColumn(\"UPPER\",
 upperUDF($\"value\")).show")

Exception:

Caused by: java.lang.ClassCastException: cannot assign instance of 
scala.collection.immutable.List$SerializationProxy to field 
org.apache.spark.rdd.RDD.org$apache$spark$rdd$RDD$$dependencies_ of type 
scala.collection.Seq in instance of org.apache.spark.rdd.MapPartitionsRDD
at 
java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2133)
at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1305)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2237)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2155)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2013)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1535)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2231)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2155)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2013)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1535)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:422)
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)

Any help is appreciated!



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


[GitHub] zeppelin pull request #2300: [ZEPPELIN-2467] Restoring second travis job fun...

2017-04-28 Thread AlexanderShoshin
GitHub user AlexanderShoshin opened a pull request:

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

[ZEPPELIN-2467] Restoring second travis job functionality

### What is this PR for?
Second travis job didn't work correctly. It suppose to test all core unit 
tests plus integration test (except for spark related test) but it was doing 
nothing.

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

I've added plugin **exclude** configuratin instead of **-Dtest** property.

After travis job was restored I had found that not all core tests worked 
properly. I have excluded them from the travis job for now and created jira 
issues:
https://issues.apache.org/jira/browse/ZEPPELIN-2469
https://issues.apache.org/jira/browse/ZEPPELIN-2470
https://issues.apache.org/jira/browse/ZEPPELIN-2471
https://issues.apache.org/jira/browse/ZEPPELIN-2473

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

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

### 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/AlexanderShoshin/zeppelin ZEPPELIN-2467

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

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


commit 0448c4ae7950374034c864c7ba6d4855f5ab25e8
Author: Alexander Shoshin 
Date:   2017-04-28T13:18:15Z

added ability to exclude some unit tests using command line

commit dfa332f0387232ee8bd06a9e9cb1fe3fec87c06f
Author: Alexander Shoshin 
Date:   2017-04-28T13:22:08Z

changed -Dtest flag to -Dtests.to.exclude and excluded unstable tests




---
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-2473) ZeppelinRestApiTest fails on travis

2017-04-28 Thread Alexander Shoshin (JIRA)
Alexander Shoshin created ZEPPELIN-2473:
---

 Summary: ZeppelinRestApiTest fails on travis
 Key: ZEPPELIN-2473
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2473
 Project: Zeppelin
  Issue Type: Bug
Reporter: Alexander Shoshin
Priority: Minor


{{ZeppelinRestApiTest}} fails with the message 
"_ZeppelinRestApiTest.testNoteCreateWithParagraphs:170 NullPointer_"

Raw log - 
https://s3.amazonaws.com/archive.travis-ci.org/jobs/226729541/log.txt?X-Amz-Expires=30=20170428T153756Z=AWS4-HMAC-SHA256=AKIAJRYRXRSVGNKPKO5A/20170428/us-east-1/s3/aws4_request=host=32253d90397249a9e4d84f2ab57571e14d09143cdfa6deba17e709a7c24e96e2

{code}
Running org.apache.zeppelin.rest.ZeppelinRestApiTest
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/home/travis/build/AlexanderShoshin/zeppelin/zeppelin-zengine/target/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/home/travis/build/AlexanderShoshin/zeppelin/zeppelin-interpreter/target/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/home/travis/.m2/repository/org/slf4j/slf4j-log4j12/1.7.10/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
10:02:21,099  INFO org.apache.zeppelin.rest.AbstractTestRestApi:355 - 
Connecting to http://localhost:8080/api/version
10:02:21,425  INFO org.apache.commons.httpclient.HttpMethodDirector:439 - I/O 
exception (java.net.ConnectException) caught when processing request: 
Connection refused
10:02:21,425  INFO org.apache.commons.httpclient.HttpMethodDirector:445 - 
Retrying request
10:02:21,426  INFO org.apache.commons.httpclient.HttpMethodDirector:439 - I/O 
exception (java.net.ConnectException) caught when processing request: 
Connection refused
10:02:21,426  INFO org.apache.commons.httpclient.HttpMethodDirector:445 - 
Retrying request
10:02:21,426  INFO org.apache.commons.httpclient.HttpMethodDirector:439 - I/O 
exception (java.net.ConnectException) caught when processing request: 
Connection refused
10:02:21,426  INFO org.apache.commons.httpclient.HttpMethodDirector:445 - 
Retrying request
10:02:21,427 ERROR org.apache.zeppelin.rest.AbstractTestRestApi:340 - 
AbstractTestRestApi.checkIfServerIsRunning() fails .. ZeppelinServer is not 
running
10:02:21,516  INFO org.apache.zeppelin.rest.AbstractTestRestApi:136 - Staring 
test Zeppelin up...
10:02:21,629  INFO org.apache.zeppelin.conf.ZeppelinConfiguration:104 - Load 
configuration from 
file:/home/travis/build/AlexanderShoshin/zeppelin/zeppelin-server/target/test-classes/zeppelin-site.xml
10:02:22,021  INFO org.apache.zeppelin.conf.ZeppelinConfiguration:112 - Server 
Host: 0.0.0.0
10:02:22,021  INFO org.apache.zeppelin.conf.ZeppelinConfiguration:114 - Server 
Port: 8080
10:02:22,022  INFO org.apache.zeppelin.conf.ZeppelinConfiguration:118 - Context 
Path: /
10:02:22,023  INFO org.apache.zeppelin.conf.ZeppelinConfiguration:119 - 
Zeppelin Version: 0.8.0-SNAPSHOT
10:02:22,175  INFO org.eclipse.jetty.util.log:186 - Logging initialized @1947ms
10:02:24,028  INFO org.apache.zeppelin.rest.AbstractTestRestApi:355 - 
Connecting to http://localhost:8080/api/version
10:02:24,031  INFO org.apache.commons.httpclient.HttpMethodDirector:439 - I/O 
exception (java.net.ConnectException) caught when processing request: 
Connection refused
10:02:24,031  INFO org.apache.commons.httpclient.HttpMethodDirector:445 - 
Retrying request
10:02:24,032  INFO org.apache.commons.httpclient.HttpMethodDirector:439 - I/O 
exception (java.net.ConnectException) caught when processing request: 
Connection refused
10:02:24,032  INFO org.apache.commons.httpclient.HttpMethodDirector:445 - 
Retrying request
10:02:24,032  INFO org.apache.commons.httpclient.HttpMethodDirector:439 - I/O 
exception (java.net.ConnectException) caught when processing request: 
Connection refused
10:02:24,032  INFO org.apache.commons.httpclient.HttpMethodDirector:445 - 
Retrying request
10:02:24,033 ERROR org.apache.zeppelin.rest.AbstractTestRestApi:340 - 
AbstractTestRestApi.checkIfServerIsRunning() fails .. ZeppelinServer is not 
running
10:02:24,072  INFO org.apache.zeppelin.server.ZeppelinServer:193 - Starting 
zeppelin server
10:02:24,075  INFO org.eclipse.jetty.server.Server:327 - jetty-9.2.15.v20160210
10:02:24,237  INFO org.eclipse.jetty.webapp.StandardDescriptorProcessor:297 - 
NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
10:02:24,824  INFO org.apache.zeppelin.helium.Helium:114 - Add helium local 
registry ..//helium
10:02:24,825  INFO org.apache.zeppelin.helium.Helium:111 - Add helium online 
registry https://s3.amazonaws.com/helium-package/helium.json
10:02:24

[jira] [Created] (ZEPPELIN-2472) Can't import matplotlib

2017-04-28 Thread Karl Dailey (JIRA)
Karl Dailey created ZEPPELIN-2472:
-

 Summary: Can't import matplotlib
 Key: ZEPPELIN-2472
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2472
 Project: Zeppelin
  Issue Type: Bug
  Components: python-interpreter
Affects Versions: 0.6.2
 Environment:  Amazon EMR
Reporter: Karl Dailey


In the interpreter, when I try to import matplot lib as:
%python
import matplotlib.pyplot as plt

I receive the error:
ImportError: Gtk3 backend requires pygobject to be installed.


I created this by creating an amazon emr with the following commands:
aws emr create-cluster --name "4-node Zeppelin cluster (test)" --instance-type 
m3.xlarge --release-label emr-5.3.0 --instance-count 4 --ec2-attributes 
KeyName=myKey --use-default-roles --applications Name=Hive Name=Pig Name=Spark 
Name=Zeppelin --no-auto-terminate

I am using python 2.7

tried searching around for a fix but couldnt find one.









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


[jira] [Created] (ZEPPELIN-2471) NotebookTest fails on travis

2017-04-28 Thread Alexander Shoshin (JIRA)
Alexander Shoshin created ZEPPELIN-2471:
---

 Summary: NotebookTest fails on travis
 Key: ZEPPELIN-2471
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2471
 Project: Zeppelin
  Issue Type: Bug
Affects Versions: 0.8.0
Reporter: Alexander Shoshin
Priority: Minor


Raw log - 
https://s3.amazonaws.com/archive.travis-ci.org/jobs/226729540/log.txt?X-Amz-Expires=30=20170428T153039Z=AWS4-HMAC-SHA256=AKIAJRYRXRSVGNKPKO5A/20170428/us-east-1/s3/aws4_request=host=efce99645915adc3410cd48b8a879067a3ee514149f12e8471df6dfe96b43484

{code}
Running org.apache.zeppelin.notebook.NotebookTest
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/home/travis/build/AlexanderShoshin/zeppelin/zeppelin-interpreter/target/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/home/travis/.m2/repository/org/slf4j/slf4j-log4j12/1.7.10/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
09:54:59,926  INFO org.apache.zeppelin.conf.ZeppelinConfiguration:104 - Load 
configuration from 
file:/home/travis/build/AlexanderShoshin/zeppelin/zeppelin-zengine/target/test-classes/zeppelin-site.xml
09:54:59,997  INFO org.apache.zeppelin.conf.ZeppelinConfiguration:112 - Server 
Host: 0.0.0.0
09:54:59,997  INFO org.apache.zeppelin.conf.ZeppelinConfiguration:114 - Server 
Port: 8080
09:54:59,997  INFO org.apache.zeppelin.conf.ZeppelinConfiguration:118 - Context 
Path: /
09:55:00,003  INFO org.apache.zeppelin.conf.ZeppelinConfiguration:119 - 
Zeppelin Version: 0.8.0-SNAPSHOT
09:55:00,406  INFO org.apache.zeppelin.interpreter.InterpreterFactory:131 - 
shiroEnabled: false
09:55:00,650  INFO org.apache.commons.vfs2.impl.StandardFileSystemManager:138 - 
Using "/tmp/vfs_cache" as temporary files store.
09:55:00,716  INFO org.apache.zeppelin.notebook.NotebookAuthorization:96 - 
/tmp/ZeppelinLTest_1493373299898/conf/notebook-authorization.json
09:55:00,717  INFO org.apache.zeppelin.user.Credentials:102 - 
/tmp/ZeppelinLTest_1493373299898/conf/credentials.json
09:55:00,787  INFO org.apache.zeppelin.notebook.Notebook:127 - Notebook 
indexing started...
09:55:00,803  INFO org.apache.zeppelin.notebook.Notebook:129 - Notebook 
indexing finished: 0 indexed in 0s
09:55:00,846  INFO org.apache.zeppelin.interpreter.InterpreterFactory:189 - 
Create interpreter instance mock1 for note 2CDWBETB9
09:55:00,846  INFO org.apache.zeppelin.interpreter.InterpreterFactory:229 - 
Create repl org.apache.zeppelin.interpreter.mock.MockInterpreter1 from mock1
09:55:00,848  INFO org.apache.zeppelin.interpreter.InterpreterFactory:222 - 
Interpreter org.apache.zeppelin.interpreter.mock.MockInterpreter1 721931922 
created
09:55:00,852  INFO org.apache.zeppelin.notebook.Paragraph:367 - run paragraph 
20170428-095500_577555379 using null 
org.apache.zeppelin.interpreter.LazyOpenInterpreter@2b07ce92
09:55:00,866  INFO org.apache.zeppelin.interpreter.InterpreterGroup:185 - Close 
interpreter group 2CETYK23T:shared_process for session: 2CDWBETB9
09:55:00,868  INFO org.apache.zeppelin.interpreter.InterpreterGroup:185 - Close 
interpreter group 2CFF8KF2G:shared_process for session: 2CDWBETB9
09:55:00,885  INFO org.apache.zeppelin.interpreter.InterpreterFactory:189 - 
Create interpreter instance mock1 for note 2CH5HSPSK
09:55:00,885  INFO org.apache.zeppelin.interpreter.InterpreterFactory:229 - 
Create repl org.apache.zeppelin.interpreter.mock.MockInterpreter1 from mock1
09:55:00,885  INFO org.apache.zeppelin.interpreter.InterpreterFactory:222 - 
Interpreter org.apache.zeppelin.interpreter.mock.MockInterpreter1 752646990 
created
09:55:00,886  INFO org.apache.zeppelin.notebook.Paragraph:367 - run paragraph 
20170428-095500_811223572 using null 
org.apache.zeppelin.interpreter.LazyOpenInterpreter@2cdc7b4e
09:55:00,887  INFO org.apache.zeppelin.interpreter.InterpreterGroup:185 - Close 
interpreter group 2CETYK23T:shared_process for session: 2CH5HSPSK
09:55:00,887  INFO org.apache.zeppelin.interpreter.InterpreterGroup:185 - Close 
interpreter group 2CFF8KF2G:shared_process for session: 2CH5HSPSK
09:55:00,903  INFO org.apache.zeppelin.interpreter.InterpreterFactory:131 - 
shiroEnabled: false
09:55:00,908  INFO org.apache.zeppelin.user.Credentials:102 - 
/tmp/ZeppelinLTest_1493373300893/conf/credentials.json
09:55:00,910  INFO org.apache.zeppelin.notebook.Notebook:127 - Notebook 
indexing started...
09:55:00,910  INFO org.apache.zeppelin.notebook.Notebook:129 - Notebook 
indexing finished: 0 indexed in 0s
09:55:00,919  INFO org.apache.zeppelin.interpreter.InterpreterFactory:189 - 
Create interpreter instance mock1 for note 2CE5NHYQQ
09:55:00,919  INFO org.apache.zeppelin.interpreter.InterpreterFactory:229

[jira] [Created] (ZEPPELIN-2470) HeliumApplicationFactoryTest fails on Travis

2017-04-28 Thread Alexander Shoshin (JIRA)
Alexander Shoshin created ZEPPELIN-2470:
---

 Summary: HeliumApplicationFactoryTest fails on Travis
 Key: ZEPPELIN-2470
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2470
 Project: Zeppelin
  Issue Type: Bug
Affects Versions: 0.8.0
Reporter: Alexander Shoshin
Priority: Minor


Travis job fails with a message "No output has been received in the last 10m0s" 
when running {{HeliumApplicationFactoryTest}}
Raw log - 
https://s3.amazonaws.com/archive.travis-ci.org/jobs/226729538/log.txt?X-Amz-Expires=30=20170428T152214Z=AWS4-HMAC-SHA256=AKIAJRYRXRSVGNKPKO5A/20170428/us-east-1/s3/aws4_request=host=75cd73f526c76b4403d62c303672b78b560c7c164cd8aacde9b82d4e52de404c
{code}
Running org.apache.zeppelin.helium.HeliumApplicationFactoryTest
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/home/travis/build/AlexanderShoshin/zeppelin/zeppelin-interpreter/target/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/home/travis/.m2/repository/org/slf4j/slf4j-log4j12/1.7.10/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
09:58:22,148  INFO 
org.apache.zeppelin.interpreter.InterpreterSettingManager:332 - 
InterpreterSettingRef name angular
09:58:22,151  INFO 
org.apache.zeppelin.interpreter.InterpreterSettingManager:332 - 
InterpreterSettingRef name dev
09:58:22,151  INFO 
org.apache.zeppelin.interpreter.InterpreterSettingManager:332 - 
InterpreterSettingRef name sh
09:58:22,151  INFO 
org.apache.zeppelin.interpreter.InterpreterSettingManager:332 - 
InterpreterSettingRef name md
09:58:22,151  INFO 
org.apache.zeppelin.interpreter.InterpreterSettingManager:332 - 
InterpreterSettingRef name scalding
09:58:22,151  INFO 
org.apache.zeppelin.interpreter.InterpreterSettingManager:332 - 
InterpreterSettingRef name spark
09:58:22,173  INFO 
org.apache.zeppelin.interpreter.InterpreterSettingManager:361 - 
InterpreterSetting group angular : id=2CDVB3U4T, name=angular
09:58:22,173  INFO 
org.apache.zeppelin.interpreter.InterpreterSettingManager:361 - 
InterpreterSetting group dev : id=2CDYHTYPB, name=dev
09:58:22,173  INFO 
org.apache.zeppelin.interpreter.InterpreterSettingManager:361 - 
InterpreterSetting group scalding : id=2CG9BGJWV, name=scalding
09:58:22,173  INFO 
org.apache.zeppelin.interpreter.InterpreterSettingManager:361 - 
InterpreterSetting group md : id=2CE5BVN7T, name=md
09:58:22,174  INFO 
org.apache.zeppelin.interpreter.InterpreterSettingManager:361 - 
InterpreterSetting group sh : id=2CGH118FS, name=sh
09:58:22,174  INFO 
org.apache.zeppelin.interpreter.InterpreterSettingManager:361 - 
InterpreterSetting group spark : id=2CH7PAMGU, name=spark
09:58:22,178  INFO org.apache.zeppelin.interpreter.InterpreterFactory:131 - 
shiroEnabled: false
09:58:22,449  INFO org.apache.commons.vfs2.impl.StandardFileSystemManager:138 - 
Using "/tmp/vfs_cache" as temporary files store.
09:58:22,547  INFO org.apache.zeppelin.notebook.NotebookAuthorization:96 - 
/tmp/ZepelinLTest_1493373501507/conf/notebook-authorization.json
09:58:22,645  INFO org.apache.zeppelin.notebook.Notebook:127 - Notebook 
indexing started...
09:58:22,664  INFO org.apache.zeppelin.notebook.Notebook:129 - Notebook 
indexing finished: 0 indexed in 0s
09:58:22,674  INFO org.apache.zeppelin.conf.ZeppelinConfiguration:104 - Load 
configuration from 
file:/home/travis/build/AlexanderShoshin/zeppelin/zeppelin-zengine/target/test-classes/zeppelin-site.xml
09:58:22,685  INFO org.apache.zeppelin.conf.ZeppelinConfiguration:112 - Server 
Host: 0.0.0.0
09:58:22,686  INFO org.apache.zeppelin.conf.ZeppelinConfiguration:114 - Server 
Port: 8080
09:58:22,686  INFO org.apache.zeppelin.conf.ZeppelinConfiguration:118 - Context 
Path: /
09:58:22,692  INFO org.apache.zeppelin.conf.ZeppelinConfiguration:119 - 
Zeppelin Version: 0.8.0-SNAPSHOT
09:58:22,736  INFO org.apache.zeppelin.interpreter.InterpreterFactory:189 - 
Create interpreter instance mock1 for note 2CEVSSXEP
09:58:22,741  INFO org.apache.zeppelin.interpreter.InterpreterFactory:222 - 
Interpreter org.apache.zeppelin.interpreter.mock.MockInterpreter1 802657373 
created
09:58:22,753  INFO org.apache.zeppelin.notebook.Paragraph:367 - run paragraph 
20170428-095822_2013982187 using mock1 
org.apache.zeppelin.interpreter.LazyOpenInterpreter@2fd7945d
09:58:22,773  INFO 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterManagedProcess:132 - 
Run interpreter process 
[/home/travis/build/AlexanderShoshin/zeppelin/bin/interpreter.sh, -d, mock1, 
-p, 35059, -l, 
/home/travis/build/AlexanderShoshin/zeppelin/local-repo/2CGJEVHHD, -g, mock1]
09:58:23,397  INFO org.apache.zeppelin.interpreter.remote.RemoteInterpreter:

[jira] [Created] (ZEPPELIN-2469) HeliumBundleFactoryTest fails on Travis

2017-04-28 Thread Alexander Shoshin (JIRA)
Alexander Shoshin created ZEPPELIN-2469:
---

 Summary: HeliumBundleFactoryTest fails on Travis
 Key: ZEPPELIN-2469
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2469
 Project: Zeppelin
  Issue Type: Bug
Affects Versions: 0.8.0
Reporter: Alexander Shoshin
Priority: Minor


Raw log - 
https://s3.amazonaws.com/archive.travis-ci.org/jobs/226729537/log.txt?X-Amz-Expires=29=20170428T151539Z=AWS4-HMAC-SHA256=AKIAJRYRXRSVGNKPKO5A/20170428/us-east-1/s3/aws4_request=host=47afab8f7feaec5434774b89272faad112abfc1e9d0558b38547da7e617d38ca
{code}
Running org.apache.zeppelin.helium.HeliumBundleFactoryTest
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/home/travis/build/AlexanderShoshin/zeppelin/zeppelin-interpreter/target/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/home/travis/.m2/repository/org/slf4j/slf4j-log4j12/1.7.10/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
09:55:27,396  INFO 
com.github.eirslett.maven.plugins.frontend.lib.NodeInstaller:83 - Installing 
node version v6.9.1
09:55:27,404  INFO 
com.github.eirslett.maven.plugins.frontend.lib.NodeInstaller:314 - Downloading 
https://nodejs.org/dist/v6.9.1/node-v6.9.1-linux-x64.tar.gz to 
/tmp/ZeppelinLTest_nodeCache/cache/node-v6.9.1-linux-x64.tar.gz
09:55:27,406  INFO 
com.github.eirslett.maven.plugins.frontend.lib.ProxyConfig:27 - No proxies 
configured
09:55:27,406  INFO 
com.github.eirslett.maven.plugins.frontend.lib.FileDownloader:91 - No proxy was 
configured, downloading directly
09:55:28,881  INFO 
com.github.eirslett.maven.plugins.frontend.lib.NodeInstaller:301 - Unpacking 
/tmp/ZeppelinLTest_nodeCache/cache/node-v6.9.1-linux-x64.tar.gz into 
/tmp/ZeppelinLTest_nodeCache/node/tmp
09:55:29,928  INFO 
com.github.eirslett.maven.plugins.frontend.lib.NodeInstaller:153 - Copying node 
binary from 
/tmp/ZeppelinLTest_nodeCache/node/tmp/node-v6.9.1-linux-x64/bin/node to 
/tmp/ZeppelinLTest_nodeCache/node/node
09:55:30,154  INFO 
com.github.eirslett.maven.plugins.frontend.lib.NodeInstaller:182 - Installed 
node locally.
09:55:30,160  INFO 
com.github.eirslett.maven.plugins.frontend.lib.NPMInstaller:117 - Installing 
npm version 3.10.8
09:55:30,161  INFO 
com.github.eirslett.maven.plugins.frontend.lib.NPMInstaller:198 - Downloading 
http://registry.npmjs.org/npm/-/npm-3.10.8.tgz to 
/tmp/ZeppelinLTest_nodeCache/cache/npm-3.10.8.tar.gz
09:55:30,161  INFO 
com.github.eirslett.maven.plugins.frontend.lib.ProxyConfig:27 - No proxies 
configured
09:55:30,161  INFO 
com.github.eirslett.maven.plugins.frontend.lib.FileDownloader:91 - No proxy was 
configured, downloading directly
09:55:30,229  INFO 
com.github.eirslett.maven.plugins.frontend.lib.NPMInstaller:185 - Unpacking 
/tmp/ZeppelinLTest_nodeCache/cache/npm-3.10.8.tar.gz into 
/tmp/ZeppelinLTest_nodeCache/node/node_modules
09:55:30,952  INFO 
com.github.eirslett.maven.plugins.frontend.lib.NPMInstaller:165 - Installed npm 
locally.
09:55:30,954  INFO 
com.github.eirslett.maven.plugins.frontend.lib.YarnInstaller:97 - Installing 
Yarn version v0.21.3
09:55:30,955  INFO 
com.github.eirslett.maven.plugins.frontend.lib.YarnInstaller:154 - Downloading 
https://github.com/yarnpkg/yarn/releases/download/v0.21.3/yarn-v0.21.3.tar.gz 
to /tmp/ZeppelinLTest_nodeCache/cache/yarn-v0.21.3./yarn-v0.21.3.tar.gz
09:55:30,955  INFO 
com.github.eirslett.maven.plugins.frontend.lib.ProxyConfig:27 - No proxies 
configured
09:55:30,957  INFO 
com.github.eirslett.maven.plugins.frontend.lib.FileDownloader:91 - No proxy was 
configured, downloading directly
09:55:31,260  INFO 
com.github.eirslett.maven.plugins.frontend.lib.YarnInstaller:141 - Unpacking 
/tmp/ZeppelinLTest_nodeCache/cache/yarn-v0.21.3./yarn-v0.21.3.tar.gz into 
/tmp/ZeppelinLTest_nodeCache/node/yarn
09:55:32,143  INFO 
com.github.eirslett.maven.plugins.frontend.lib.YarnInstaller:123 - Installed 
Yarn locally.
09:55:32,147  INFO 
com.github.eirslett.maven.plugins.frontend.lib.DefaultYarnRunner:54 - Running 
'yarn config set cache-folder 
/tmp/ZeppelinLTest_1493373327087/helium-bundle/yarn-cache 
--registry=http://registry.npmjs.org/' in 
/tmp/ZeppelinLTest_1493373327087/helium-bundle
09:55:32,177  INFO 
com.github.eirslett.maven.plugins.frontend.lib.NodeInstaller:83 - Installing 
node version v6.9.1
09:55:32,177  INFO 
com.github.eirslett.maven.plugins.frontend.lib.NodeInstaller:301 - Unpacking 
/tmp/ZeppelinLTest_nodeCache/cache/node-v6.9.1-linux-x64.tar.gz into 
/tmp/ZeppelinLTest_nodeCache/node/tmp
09:55:32,981  INFO 
com.github.eirslett.maven.plugins.frontend.lib.NodeInstaller:153 - Copying node 
binary from 
/tmp/ZeppelinLTest_nodeCache/node/tmp/node-v6.9.1-linux-x64

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

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

https://github.com/apache/zeppelin/pull/2229
  
@felixcheung  have removed hard coded string "hive" as well.


CI fails for; not relavent for this change.
```
Tests in error: 
  
ParagraphActionsIT.testClearOutputButton:335->AbstractZeppelinIT.clickAndWait:126
 » ElementNotVisible
```




---
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 #2195: [ZEPPELIN-2319] new methods for ZeppelinContext

2017-04-28 Thread meniluca
Github user meniluca commented on the issue:

https://github.com/apache/zeppelin/pull/2195
  
@jongyoul, everybody, would you suggest where to put the test? Consider 
that all these methods are wrapping the ``ZeppelinContext.run("parID")`` method 
that is NOT tested in this module (simply because interpreters don't know 
anything about paragraph IDs). I need to have a list of paragraphs and their 
IDs, but I cannot ``import org.apache.zeppelin.notebook.*`` in a test of this 
module.

Can I create a test elsewhere? Maybe in ``zengine``? Or can you suggest a 
solution?

I want to stress again that this PR is simply adding more user-friendly 
wrappers of already exposed public methods in the ZeppelinContext. They are 
necessary to give user more flexibility in building more dynamic/interactive 
notebooks, not only to add new buttons and whatnot.

Cheers,
Luca


---
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 #2299: [ZEPPELIN-2468] Enable websocket without Origin...

2017-04-28 Thread elek
GitHub user elek opened a pull request:

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

[ZEPPELIN-2468] Enable websocket without Origin if allowed.origins is *

Change-Id: Iaad10a69983036e84b766a22fbc32113b926b60d

### What is this PR for?
With ZEPPELIN-2288 we restored the check of the Origin field for websocket 
requests.

Unfortunately the current implementation will deny the request if the 
Origin HTTP header is empty, even if the zeppelin.server.allowed.origins is *

This patch enables websocket requests without Origin in the HTTP header if 
the zeppelin.server.allowed.origins=*. This fixes the work behind a restrictive 
reverse proxy (or behind Apache Knox)


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

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

### How should this be tested?

It could be tested with curl as described in ZEPPELIN-2288, but I added 
additional unit test, so the change has been covered on unit test level.

### 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/elek/zeppelin ZEPPELIN-2468

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

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


commit d95bb41b66b243015576153257cd58fee20366ca
Author: Elek, Márton 
Date:   2017-04-28T12:46:10Z

[ZEPPELIN-2468] Enable websocket without Origin if allowed.origins is *

Change-Id: Iaad10a69983036e84b766a22fbc32113b926b60d




---
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-2468) Enable websocket queries without Origin if zeppelin.server.allowed.origins is *

2017-04-28 Thread Elek, Marton (JIRA)
Elek, Marton created ZEPPELIN-2468:
--

 Summary: Enable websocket queries without Origin if 
zeppelin.server.allowed.origins is *
 Key: ZEPPELIN-2468
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2468
 Project: Zeppelin
  Issue Type: Bug
Affects Versions: 0.7.1
Reporter: Elek, Marton
Assignee: Elek, Marton


With ZEPPELIN-2288 we restored the check of the Origin field for websocket 
requests.

Unfortunately the current implementation will deny the request if the Origin 
HTTP header is empty, even if the zeppelin.server.allowed.origins is *.

{code}
  public static Boolean isValidOrigin(String sourceHost, ZeppelinConfiguration 
conf)
  throws UnknownHostException, URISyntaxException {
if (sourceHost == null || sourceHost.isEmpty()) {
  return false;
}
String sourceUriHost = new URI(sourceHost).getHost();
sourceUriHost = (sourceUriHost == null) ? "" : sourceUriHost.toLowerCase();

sourceUriHost = sourceUriHost.toLowerCase();
String currentHost = InetAddress.getLocalHost().getHostName().toLowerCase();

return conf.getAllowedOrigins().contains("*") ||
currentHost.equals(sourceUriHost) ||
"localhost".equals(sourceUriHost) ||
conf.getAllowedOrigins().contains(sourceHost);
  }
{code}

It could be a problem behind a reverse proxy which is not forwarding the Origin 
(for example currently it couldn't work with Apache Knox).

My suggestion is to accept the request if
 1. the zeppelin.server.allowed.origins = *
 AND 
 2. the Origin header is missing. 



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


[GitHub] zeppelin issue #2298: [ZEPPELIN-2466] Chart resize problem

2017-04-28 Thread cloverhearts
Github user cloverhearts commented on the issue:

https://github.com/apache/zeppelin/pull/2298
  
Fixed nvd3 basic resize event.


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

2017-04-28 Thread hammertank
Github user hammertank closed the pull request at:

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


---
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-28 Thread hammertank
Github user hammertank commented on the issue:

https://github.com/apache/zeppelin/pull/2262
  
@Leemoonsoo maybe only PR merged into master branch can be closed 
automatically.


---
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 #2293: [ZEPPELIN-2461] Masking Jetty Server version with User...

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

https://github.com/apache/zeppelin/pull/2293
  
@krishna-pandey  can you set up travis, 
https://zeppelin.apache.org/contribution/contributions.html#continuous-integration?
 


---
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 #2282: [ZEPPELIN-2447] Fix python interpreter as to use max r...

2017-04-28 Thread paularmand
Github user paularmand commented on the issue:

https://github.com/apache/zeppelin/pull/2282
  
Is the Jenkins failure an unrelated selenium test failure, or do I have to 
look into it?


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


[GitHub] zeppelin issue #2268: [ZEPPELIN-2403] interpreter property widgets

2017-04-28 Thread tinkoff-dwh
Github user tinkoff-dwh commented on the issue:

https://github.com/apache/zeppelin/pull/2268
  
CI red (checkstyle errors in all modules)


---
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 #2282: Fix python interpreter as to use max result setting

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

https://github.com/apache/zeppelin/pull/2282
  
@paularmand Could you add jira to the title of your PR ? name it as 
`[ZEPPELIN-2447] Fix python interpreter as to use max result setting`


---
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 #2096: [ZEPPELIN-2194] precode for PySparkInterpreter

2017-04-28 Thread tinkoff-dwh
Github user tinkoff-dwh closed the pull request at:

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


---
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 #2112: [ZEPPELIN-2228] precode for SparkRInterpreter

2017-04-28 Thread tinkoff-dwh
Github user tinkoff-dwh commented on the issue:

https://github.com/apache/zeppelin/pull/2112
  
#2221 general solution


---
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 #2096: [ZEPPELIN-2194] precode for PySparkInterpreter

2017-04-28 Thread tinkoff-dwh
Github user tinkoff-dwh commented on the issue:

https://github.com/apache/zeppelin/pull/2096
  
#2221 general solution


---
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 #2112: [ZEPPELIN-2228] precode for SparkRInterpreter

2017-04-28 Thread tinkoff-dwh
Github user tinkoff-dwh closed the pull request at:

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


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

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

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


---
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-28 Thread asfgit
Github user asfgit closed the pull request at:

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


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

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

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


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

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

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


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

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

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


---
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-28 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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 #2282: Fix python interpreter as to use max result setting

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

https://github.com/apache/zeppelin/pull/2282
  
Thanks @paularmand 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 #2282: Fix python interpreter as to use max result setting

2017-04-28 Thread paularmand
Github user paularmand commented on the issue:

https://github.com/apache/zeppelin/pull/2282
  
@zjffdu Thanks for review. Added 1000 hard coded as default for now, 
although I believe a better solution would be to add fallbacks to a property 
class upfront (see 
https://docs.oracle.com/javase/7/docs/api/java/util/Properties.html#defaults).


---
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 #2281: added principalSuffix to AD examples

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

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


---
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-2467) Restore travis second job functionality

2017-04-28 Thread Alexander Shoshin (JIRA)
Alexander Shoshin created ZEPPELIN-2467:
---

 Summary: Restore travis second job functionality
 Key: ZEPPELIN-2467
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2467
 Project: Zeppelin
  Issue Type: Bug
Affects Versions: 0.8.0
Reporter: Alexander Shoshin
Assignee: Alexander Shoshin


Second travis job supposed to test all core unit tests plus integration test 
(except for spark related test) but itis doing nothing at the moment.



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


Re: CI status is lost in PR page

2017-04-28 Thread Jeff Zhang
It is fixed now, thanks moon.



moon soo Lee 于2017年4月26日周三 下午2:24写道:

> 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 issue #1839: ZEPPELIN-1903. ZeppelinContext can not display pandas ...

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

https://github.com/apache/zeppelin/pull/1839
  
Sorry for late update, @felixcheung Please help review. 


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


[GitHub] zeppelin pull request #2298: [ZEPPELIN-2466] Chart resize problem

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

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

[ZEPPELIN-2466] Chart resize problem

### What is this PR for?
If you change the size of the chart after changing the mode of the chart,
The chart size is not reflected.

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

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

### How should this be tested?
1. resize for your browser.
2. chart toggle -> for example, bar chart -> table -> bar chart
3. and try resize for browser.

### Screenshots (if appropriate)
 bug

![resize-inc](https://cloud.githubusercontent.com/assets/10525473/25518072/3f8fbb4c-2c2d-11e7-94a4-e051f1a1e382.gif)

 fixed

![resize-c](https://cloud.githubusercontent.com/assets/10525473/25518077/4213bfd0-2c2d-11e7-8f9c-13fd5e8d2806.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/resize-problem-chart

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

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


commit 1dcf660e95f49abac4156a0ee7026870c9f1606c
Author: CloverHearts 
Date:   2017-04-28T07:06:34Z

fix resize problem

commit 13dee7630a28544633cf0312af2b0fec9948b542
Author: CloverHearts 
Date:   2017-04-28T07:11:49Z

remove semi colon




---
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-2466) Chart resize problem

2017-04-28 Thread CloverHearts (JIRA)
CloverHearts created ZEPPELIN-2466:
--

 Summary: Chart resize problem
 Key: ZEPPELIN-2466
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2466
 Project: Zeppelin
  Issue Type: Bug
Reporter: CloverHearts
Assignee: CloverHearts


If you change the size of the chart after changing the mode of the chart,
The chart size is not reflected.



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


[GitHub] zeppelin pull request #2297: [ZEPPELIN-2465] Minor code fixes for the livy p...

2017-04-28 Thread benoyantony
GitHub user benoyantony opened a pull request:

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

[ZEPPELIN-2465] Minor code fixes for the livy package

### What is this PR for?
Minor code fixes for the livy package.
The code fixes include :
Fixing a typo in a classname - BaseLivyInterprereter to BaseLivyInterpreter
Removing an unused variable in BaseLivyInterpreter
Removing unused imports in a few classes


### What type of PR is it?
Refactoring

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

### How should this be tested?
No need to test as there is no change in funcionality


### 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/benoyantony/zeppelin refactor

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

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


commit 74016ad7aea693df56e1f661afcd875bf548191b
Author: Benoy Antony 
Date:   2017-04-28T06:51:48Z

ZEPPELIN-2465 Minor code fixes for the livy package




---
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-2465) Minor code fixes for the livy package

2017-04-28 Thread Benoy Antony (JIRA)
Benoy Antony created ZEPPELIN-2465:
--

 Summary: Minor code fixes for the livy package
 Key: ZEPPELIN-2465
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2465
 Project: Zeppelin
  Issue Type: Improvement
Reporter: Benoy Antony
Assignee: Benoy Antony
Priority: Trivial


The code fixes include :
Fixing a typo in a classname - BaseLivyInterprereter to BaseLivyInterpreter
Removing an unused variable in BaseLivyInterpreter
Removing unused imports in a few classes



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


[GitHub] zeppelin pull request #2296: [ZEPPELIN-2463] Avoid Locking interpreterSettin...

2017-04-28 Thread benoyantony
GitHub user benoyantony opened a pull request:

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

[ZEPPELIN-2463] Avoid Locking interpreterSettings during Notebook deletion

### What is this PR for?
Deletion of a notebook requires locking interpreterSettings. If the 
deletion is delayed , then lock is not released. At that point, we cannot run 
any notebook because everything is waiting to lock interpreterSettings.
Looking at the code, there is no reason to lock the InterpreterSettings 
object in InterpreterSettingManager.removeNoteInterpreterSettingBinding.
Similarly in InterpreterSettingManager.getNoteInterpreterSettingBinding 
only interpreterSettingBinding is accessed and its already a thread safe 
object. So we can remove synchronization on InterpreterSettings


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


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

### How should this be tested?
Being a concurrency issue, it is difficult to test. 
Please see the comments in the jira to see the issue experienced on a 
production zeppelin server.

### 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/benoyantony/zeppelin ZEPPELIN-2463

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

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


commit ffe40b4e99e75ea1c298bad7f9383874f5c54678
Author: Benoy Antony 
Date:   2017-04-28T06:27:33Z

ZEPPELIN-2463 Avoid Locking interpreterSettings during Notebook deletion




---
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-2464) Synchronization issues while working with multiple tabs

2017-04-28 Thread Sravan S (JIRA)
Sravan S created ZEPPELIN-2464:
--

 Summary: Synchronization issues while working with multiple tabs
 Key: ZEPPELIN-2464
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2464
 Project: Zeppelin
  Issue Type: Bug
  Components: front-end
Reporter: Sravan S
Assignee: Sravan S
Priority: Minor


If user opens the same notebook in different tabs and works on a  tab for a 
while, the paragraph gets reseted to previous auto synced version

Steps to reproduce:
Open 2 tabs of same notebook
Work on one paragraph, let the paragraph auto sync(focus on some other 
paragraph or do not type anything for 10 sec)
Start working on the paragraph - the paragraph gets updated to one from 
background




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


[GitHub] zeppelin pull request #2295: [ZEPPELIN-2463] Avoid Locking interpreterSettin...

2017-04-28 Thread benoyantony
Github user benoyantony closed the pull request at:

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


---
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 #2295: [ZEPPELIN-2463] Avoid Locking interpreterSettin...

2017-04-28 Thread benoyantony
GitHub user benoyantony opened a pull request:

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

[ZEPPELIN-2463] Avoid Locking interpreterSettings during Notebook deletion

### What is this PR for?
Deletion of a notebook requires locking interpreterSettings. If the 
deletion is delayed , then lock is not released. At that point, we cannot run 
any notebook because everything is waiting to lock interpreterSettings.
Looking at the code, there is no reason to lock the InterpreterSettings 
object in InterpreterSettingManager.removeNoteInterpreterSettingBinding.
Similarly in InterpreterSettingManager.getNoteInterpreterSettingBinding 
only interpreterSettingBinding is accessed and its already a thread safe 
object. So we can remove synchronization on InterpreterSettings

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

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

### How should this be tested?
Being a concurrency issue, it is difficult to test this.

### 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/benoyantony/zeppelin ZEPPELIN-2463

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

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


commit 5fbe6d4cbd9cbf0581e5d303cd5e4005268c2c2a
Author: Benoy Antony 
Date:   2017-04-28T05:58:09Z

ZEPPELIN-2463 Avoid Locking interpreterSettings during Notebook deletion




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