[GitHub] zeppelin issue #1368: zeppelin-display dependency version built only for Sca...

2016-08-26 Thread lresende
Github user lresende commented on the issue:

https://github.com/apache/zeppelin/pull/1368
  
This is also how it's documented on the readme.md
https://github.com/apache/zeppelin#building-for-scala-211


---
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 #1366: ZEPPELIN-1342. Adding dependencies via SPARK_SUBMIT_OP...

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

https://github.com/apache/zeppelin/pull/1366
  
Thanks @zjffdu for explanation.
Some CI test failure looks relevant.

```
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 1.002 sec 
<<< FAILURE! - in org.apache.zeppelin.spark.SparkSqlInterpreterTest
test_null_value_in_row(org.apache.zeppelin.spark.SparkSqlInterpreterTest)  
Time elapsed: 0.78 sec  <<< ERROR!
java.util.NoSuchElementException: spark.jars
at org.apache.spark.SparkConf$$anonfun$get$1.apply(SparkConf.scala:193)
at org.apache.spark.SparkConf$$anonfun$get$1.apply(SparkConf.scala:193)
at scala.Option.getOrElse(Option.scala:121)
at org.apache.spark.SparkConf.get(SparkConf.scala:193)
at 
org.apache.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:597)
at 
org.apache.zeppelin.spark.SparkSqlInterpreterTest.setUp(SparkSqlInterpreterTest.java:61)

test(org.apache.zeppelin.spark.SparkSqlInterpreterTest)  Time elapsed: 
0.017 sec  <<< ERROR!
java.util.NoSuchElementException: spark.jars
at org.apache.spark.SparkConf$$anonfun$get$1.apply(SparkConf.scala:193)
at org.apache.spark.SparkConf$$anonfun$get$1.apply(SparkConf.scala:193)
at scala.Option.getOrElse(Option.scala:121)
at org.apache.spark.SparkConf.get(SparkConf.scala:193)
at 
org.apache.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:597)
at 
org.apache.zeppelin.spark.SparkSqlInterpreterTest.setUp(SparkSqlInterpreterTest.java:61)

testStruct(org.apache.zeppelin.spark.SparkSqlInterpreterTest)  Time 
elapsed: 0.02 sec  <<< ERROR!
java.util.NoSuchElementException: spark.jars
at org.apache.spark.SparkConf$$anonfun$get$1.apply(SparkConf.scala:193)
at org.apache.spark.SparkConf$$anonfun$get$1.apply(SparkConf.scala:193)
at scala.Option.getOrElse(Option.scala:121)
at org.apache.spark.SparkConf.get(SparkConf.scala:193)
at 
org.apache.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:597)
at 
org.apache.zeppelin.spark.SparkSqlInterpreterTest.setUp(SparkSqlInterpreterTest.java:61)
```

Could you take a look?


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


[GitHub] zeppelin pull request #1364: [MINOR] Remove unnecessary question mark

2016-08-26 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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 #1364: [MINOR] Remove unnecessary question mark

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

https://github.com/apache/zeppelin/pull/1364
  
Yes, ordering from the interpreter page would be better.



---
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 #1370: [ZEPPELIN-1379] Flink interpreter is missing sc...

2016-08-26 Thread lresende
Github user lresende closed the pull request at:

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


---
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 #1370: [ZEPPELIN-1379] Flink interpreter is missing sc...

2016-08-26 Thread lresende
GitHub user lresende reopened a pull request:

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

[ZEPPELIN-1379] Flink interpreter is missing scala libraries

### What is this PR for?
On Flink interpreter, remove provided scope from scala libraries to enable 
copying them to interpreter location.

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

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


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

$ git pull https://github.com/lresende/incubator-zeppelin flink-dependencies

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

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


commit 7d39c0d040a29ed92b515a70862bcd7a9e7c0824
Author: Luciano Resende 
Date:   2016-08-26T19:49:19Z

[FLINK-1379] Flink interpreter is missing scala libraries

Remove provided scope from scala libraries to enable copying
them to interpreter location.




---
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-1380) Inconsistent error reporting on "Zeppelin Tutorial" notebook

2016-08-26 Thread nirav patel (JIRA)
nirav patel created ZEPPELIN-1380:
-

 Summary: Inconsistent error reporting on  "Zeppelin Tutorial" 
notebook
 Key: ZEPPELIN-1380
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1380
 Project: Zeppelin
  Issue Type: Bug
Affects Versions: 0.6.1
Reporter: nirav patel


I built Zeppelin using following :
mvn clean -Pmapr41 -Pyarn -Pbuild-distr -Pspark-1.5 -Phadoop-2.6 -Ppyspark 
package -DskipTests -B

Tutorial notebook is failing with following. Besides this it also 
inconsistently report errors in U.  as you can see from screenshot stacktrace 
is visible only for one paragraph (last one) instead of appearing for every 
paragraph .

ERROR [2016-08-26 14:06:32,166] ({sparkDriver-akka.actor.default-dispatcher-5} 
Slf4jLogger.scala[apply$mcV$sp]:66) - Uncaught fatal error from thread 
[sparkDriver-akka.remote.default-remote-dispatcher-6] shutting down ActorSystem 
[sparkDriver]
java.lang.VerifyError: (class: 
org/jboss/netty/channel/socket/nio/NioWorkerPool, method: createWorker 
signature: 
(Ljava/util/concurrent/Executor;)Lorg/jboss/netty/channel/socket/nio/AbstractNioWorker;)
 Wrong return type in function
at 
akka.remote.transport.netty.NettyTransport.(NettyTransport.scala:283)
at 
akka.remote.transport.netty.NettyTransport.(NettyTransport.scala:240)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at 
akka.actor.ReflectiveDynamicAccess$$anonfun$createInstanceFor$2.apply(DynamicAccess.scala:78)
at scala.util.Try$.apply(Try.scala:161)
at 
akka.actor.ReflectiveDynamicAccess.createInstanceFor(DynamicAccess.scala:73)
at 
akka.actor.ReflectiveDynamicAccess$$anonfun$createInstanceFor$3.apply(DynamicAccess.scala:84)
at 
akka.actor.ReflectiveDynamicAccess$$anonfun$createInstanceFor$3.apply(DynamicAccess.scala:84)
at scala.util.Success.flatMap(Try.scala:200)
at 
akka.actor.ReflectiveDynamicAccess.createInstanceFor(DynamicAccess.scala:84)
at akka.remote.EndpointManager$$anonfun$9.apply(Remoting.scala:711)
at akka.remote.EndpointManager$$anonfun$9.apply(Remoting.scala:703)
at 
scala.collection.TraversableLike$WithFilter$$anonfun$map$2.apply(TraversableLike.scala:722)
at scala.collection.Iterator$class.foreach(Iterator.scala:727)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
at 
scala.collection.TraversableLike$WithFilter.map(TraversableLike.scala:721)
at 
akka.remote.EndpointManager.akka$remote$EndpointManager$$listens(Remoting.scala:703)
at 
akka.remote.EndpointManager$$anonfun$receive$2.applyOrElse(Remoting.scala:491)
at akka.actor.Actor$class.aroundReceive(Actor.scala:467)
at akka.remote.EndpointManager.aroundReceive(Remoting.scala:394)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
at akka.actor.ActorCell.invoke(ActorCell.scala:487)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
at akka.dispatch.Mailbox.run(Mailbox.scala:220)
at 
akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at 
scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at 
scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at 
scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
 INFO [2016-08-26 14:06:32,167] ({sparkDriver-akka.actor.default-dispatcher-5} 
Slf4jLogger.scala[apply$mcV$sp]:74) - Shutting down remote daemon.
 INFO [2016-08-26 14:06:32,168] ({sparkDriver-akka.actor.default-dispatcher-5} 
Slf4jLogger.scala[apply$mcV$sp]:74) - Remote daemon shut down; proceeding with 
flushing remote transports.
ERROR [2016-08-26 14:06:32,168] ({sparkDriver-akka.actor.default-dispatcher-5} 
Slf4jLogger.scala[apply$mcV$sp]:65) - Remoting system has been terminated 
abrubtly. Attempting to shut down transports
ERROR [2016-08-26 14:06:42,165] ({pool-1-thread-6} Logging.scala[logError]:96) 
- Error initializing SparkContext.
java.util.concurrent.TimeoutException: Futures timed out after [1 
milliseconds]
at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:219)
at 
scala.concurrent.impl.Promise$DefaultPromise.result(Promise.scala:223)
at 

[GitHub] zeppelin pull request #1371: [ZEPPELIN-1372]

2016-08-26 Thread Peilin-Yang
GitHub user Peilin-Yang opened a pull request:

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

[ZEPPELIN-1372]

### What is this PR for?
Automatically detect the data type for the contents in the table.
This enables the sorting on numerical columns.
Please see #1372 for details.


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

### Todos
* [ ] - Task

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

### How should this be tested?
Click on the title of columns and see whether the numeric contents are 
correctly sorted.

### Screenshots (if appropriate)
Before
![screen shot 2016-08-26 at 1 35 02 
pm](https://cloud.githubusercontent.com/assets/3334391/18019657/f6669852-6b91-11e6-9ff6-6bbde68bce20.png)
After
![screen shot 2016-08-26 at 1 34 00 
pm](https://cloud.githubusercontent.com/assets/3334391/18019661/fa6dcd8a-6b91-11e6-95ce-339218b53e5a.png)


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


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

$ git pull https://github.com/Peilin-Yang/zeppelin ZEPPELIN-1372

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

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


commit 0108732486d8fa4a95c58dcc2bd105ab4af96678
Author: Peilin Yang 
Date:   2016-08-26T20:27:49Z

automatic detect the type of the input in table for sorting purpose

commit 87c16108142425202728c3948cd619c0f2475cae
Author: Peilin Yang 
Date:   2016-08-26T20:27:49Z

automatic detect the type of the input in table for sorting purpose

commit 30fe6d81a4ad903cf006ca9862b0169cc677f94d
Author: Peilin Yang 
Date:   2016-08-26T20:29:16Z

Merge branch 'ZEPPELIN-1372' of https://github.com/Peilin-Yang/zeppelin 
into ZEPPELIN-1372




---
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 #1370: [FLINK-1379] Flink interpreter is missing scala librar...

2016-08-26 Thread lresende
Github user lresende commented on the issue:

https://github.com/apache/zeppelin/pull/1370
  
After the fix, performed a full build and compared scala libraries from 
flink and ignite

$ cd flink/
$ ls scala*
-rw-r--r--  1 lresende  staff14M Aug 26 12:39 scala-compiler-2.10.5.jar
-rw-r--r--  1 lresende  staff   6.8M Aug 26 12:39 scala-library-2.10.5.jar
-rw-r--r--  1 lresende  staff   3.1M Aug 26 12:39 scala-reflect-2.10.5.jar
$ cd ..
$ cd ignite/
$ ls scala*
-rw-r--r--  1 lresende  staff14M Aug 26 12:39 scala-compiler-2.10.5.jar
-rw-r--r--  1 lresende  staff   6.8M Aug 26 12:39 scala-library-2.10.5.jar
-rw-r--r--  1 lresende  staff   3.1M Aug 26 12:39 scala-reflect-2.10.5.jar


---
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 #1370: [FLINK-1379] Flink interpreter is missing scala...

2016-08-26 Thread lresende
GitHub user lresende opened a pull request:

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

[FLINK-1379] Flink interpreter is missing scala libraries

### What is this PR for?
On Flink interpreter, remove provided scope from scala libraries to enable 
copying them to interpreter location.

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

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


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

$ git pull https://github.com/lresende/incubator-zeppelin flink-dependencies

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

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


commit 7d39c0d040a29ed92b515a70862bcd7a9e7c0824
Author: Luciano Resende 
Date:   2016-08-26T19:49:19Z

[FLINK-1379] Flink interpreter is missing scala libraries

Remove provided scope from scala libraries to enable copying
them to interpreter location.




---
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-1379) Flink interpreter missing scala libraries

2016-08-26 Thread Luciano Resende (JIRA)
Luciano Resende created ZEPPELIN-1379:
-

 Summary: Flink interpreter missing scala libraries
 Key: ZEPPELIN-1379
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1379
 Project: Zeppelin
  Issue Type: Bug
  Components: zeppelin-interpreter
Affects Versions: 0.6.1
Reporter: Luciano Resende
Assignee: Luciano Resende


Original post : 
https://www.mail-archive.com/users@zeppelin.apache.org/msg00861.html

I tried the latest zeppelin release (binary with all interpreters), and in 
order to make the flink interpreter work in non-local mode, i had to copy all 
scala libraries from another interpreter to the flink interpreter.

After trying to connect to an existing flink cluster i got

zeppelin_1 | Exception in thread "pool-1-thread-2" 
java.lang.NoClassDefFoundError: scala/collection/Seq
zeppelin_1 |at java.lang.Class.forName0(Native Method)
zeppelin_1 |at java.lang.Class.forName(Class.java:264)
zeppelin_1 |at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer.createInterpreter(RemoteInterpreterServer.java:148)
zeppelin_1 |at 
org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Processor$createInterpreter.getResult(RemoteInterpreterService.java:1409)
zeppelin_1 |at 
org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Processor$createInterpreter.getResult(RemoteInterpreterService.java:1394)
zeppelin_1 |at 
org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
zeppelin_1 |at 
org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
zeppelin_1 |at 
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:285)
zeppelin_1 |at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
zeppelin_1 |at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
zeppelin_1 |at java.lang.Thread.run(Thread.java:745)
zeppelin_1 | Caused by: java.lang.ClassNotFoundException: 
scala.collection.Seq
zeppelin_1 |at 
java.net.URLClassLoader.findClass(URLClassLoader.java:381)
zeppelin_1 |at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
zeppelin_1 |at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
zeppelin_1 |at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
zeppelin_1 |... 11 more

to get it working i did

RUN cp /opt/zeppelin/interpreter/ignite/scala*jar 
/opt/zeppelin/interpreter/flink/

which would copy:

scala-compiler-2.11.7.jar
scala-library-2.11.7.jar
scala-parser-combinators_2.11-1.0.4.jar
scala-reflect-2.11.7.jar
scala-xml_2.11-1.0.4.jar

According to Trevor Grant (who helped me out on flink-user), that is a 
regression of upgrading Zeppelin to spark 2.0/Scala 2.11.



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


[GitHub] zeppelin pull request #1369: [ZEPPELIN-1376]

2016-08-26 Thread doanduyhai
GitHub user doanduyhai opened a pull request:

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

[ZEPPELIN-1376]

### What is this PR for?
When using Zeppelin behind corporate firewall, sometimes the dependencies 
download just fails silently. This PR has 2 objectives:

* add proxy credentials information for dependencies repo
* raise clear error message in case of dependencies download failure

There are 3 commits.

The first one add extra inputs in the form for adding new repository


![add_repo](https://cloud.githubusercontent.com/assets/1532977/18017489/0b486fda-6bd2-11e6-90c7-ceda18c53575.png)

The second commit fixes some issues and display a clear and explicit error 
message when download of dependencies fail.

Before that, when the download fails, we can see the below behaviour


![irrelevant_double_error_message](https://cloud.githubusercontent.com/assets/1532977/18017541/3cf0de1e-6bd2-11e6-8285-af03f222e8d2.gif)

* the error message is displayed twice because the call twice the method 
`checkDownloadingDependencies();`. One in the success callback of:

```javascript
 $scope.updateInterpreterSetting = function(form, settingId) {
  ...
$http.put(baseUrlSrv.getRestApiBase() + '/interpreter/setting/' 
+ settingId, request)
  .success(function(data, status, headers, config) {
$scope.interpreterSettings[index] = data.body;
removeTMPSettings(index);
thisConfirm.close();
checkDownloadingDependencies();
$route.reload();
  })
  .error(function(data, status, headers, config) {
 ...
};
```

Another call is inside success callback of `getInterpreterSettings()`

```javascript
var getInterpreterSettings = function() {
  $http.get(baseUrlSrv.getRestApiBase() + '/interpreter/setting')
  .success(function(data, status, headers, config) {
$scope.interpreterSettings = data.body;
checkDownloadingDependencies();
  }).error(function(data, status, headers, config) {
  
```

The problem is that `$route.reload();` in the success callback of 
`updateInterpreterSetting()` will trigger `init()` then 
`getInterpreterSettings()` so `checkDownloadingDependencies()` is called twice.

I remove the call to `checkDownloadingDependencies()` from success callback 
of `updateInterpreterSetting()` 

The second modification is on class `DependencyResolver`. In the screen 
capture above, we get a **cryptic** NullPointerException coming from 
`DefaultRepositorySystem`. The reason is that we do not set the **root 
dependency** when we create the class `DependencyRequest`. Now it is fixed:

```java

  public List getArtifactsWithDep(String dependency,
  Collection excludes) throws RepositoryException {
Artifact artifact = new DefaultArtifact(dependency);
DependencyFilter classpathFilter = 
DependencyFilterUtils.classpathFilter(JavaScopes.COMPILE);
PatternExclusionsDependencyFilter exclusionFilter =
new PatternExclusionsDependencyFilter(excludes);

CollectRequest collectRequest = new CollectRequest();
/** 
   * Create root dependency here
  **/
final Dependency rootDependency = new Dependency(artifact, 
JavaScopes.COMPILE);
collectRequest.setRoot(rootDependency);

synchronized (repos) {
  for (RemoteRepository repo : repos) {
collectRequest.addRepository(repo);
  }
}
DependencyRequest dependencyRequest = new 
DependencyRequest(collectRequest,
DependencyFilterUtils.andFilter(exclusionFilter, classpathFilter));
/** 
   * Inject root dependency here
  **/
dependencyRequest.setRoot(new DefaultDependencyNode(rootDependency));
return system.resolveDependencies(session, 
dependencyRequest).getArtifactResults();
  }
```

The result is much more cleaner


![dependencies_download_error_popup](https://cloud.githubusercontent.com/assets/1532977/18017780/8b589c1c-6bd3-11e6-831d-33eeb5e08696.gif)

The last commit is just doc update


![updated_docs](https://cloud.githubusercontent.com/assets/1532977/18017797/97302f14-6bd3-11e6-97cc-77bd52f25cde.png)


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

### Todos
* [ ] - Code Review
* [ ] - Simple test with no Internet connection
* [ ] - Test within a corporate firewall env with a third-party dependency, 
requiring download

### What is the Jira issue?
**[ZEPPELIN-1376]**

### How should this be tested?

# Simple test
* `git fetch origin pull/746/head:WebProxy`
* `git checkout 

[GitHub] zeppelin issue #1351: [ZEPPELIN/1356] The graph legend truncates at the near...

2016-08-26 Thread prasadwagle
Github user prasadwagle commented on the issue:

https://github.com/apache/zeppelin/pull/1351
  
Thanks @Peilin-Yang! This problem and the one in #1363 were reported by 
Twitter users and I am glad we are fixing them.

The build failures are due to flaky tests, You may want to see what tests 
are failing and create jira issues for those if they don't exist already.




---
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 #1351: [ZEPPELIN/1356] The graph legend truncates at t...

2016-08-26 Thread Peilin-Yang
Github user Peilin-Yang closed the pull request at:

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


---
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 #1351: [ZEPPELIN/1356] The graph legend truncates at t...

2016-08-26 Thread Peilin-Yang
GitHub user Peilin-Yang reopened a pull request:

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

[ZEPPELIN/1356] The graph legend truncates at the nearest period (.) in its 
grouping

### What is this PR for?
Fix the issue: in line graph if user uses the numbers that contains 
period(.), e.g. 3.14 in the groups the legend will only show 3 instead of 3.14.


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

### Todos

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

### How should this be tested?
Localhost test with screenshot

### Screenshots (if appropriate)
Before
https://cloud.githubusercontent.com/assets/3334391/17991618/10e38f20-6af5-11e6-9399-196f7c3a325a.png;>
After
https://cloud.githubusercontent.com/assets/3334391/17991506/3225d5e0-6af4-11e6-8090-5ea2319444d3.png;>


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



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

$ git pull https://github.com/Peilin-Yang/zeppelin ypeilin/ZEPPELIN-1356

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

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


commit 00527a5a0c35c0b292348a6b90110de22d8106c5
Author: Peilin Yang 
Date:   2016-08-22T19:40:24Z

fix ZEPPELIN/1356

commit 5dcf157f15f665ca27bd8802330a0a6e403d6a71
Author: Peilin Yang 
Date:   2016-08-26T02:51:05Z

remove 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 #1351: [ZEPPELIN/1356] The graph legend truncates at the near...

2016-08-26 Thread Peilin-Yang
Github user Peilin-Yang commented on the issue:

https://github.com/apache/zeppelin/pull/1351
  
@corneadoug should I make the CI build successful? I do not know the 
failure is because of my commit.


---
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 #1351: [ZEPPELIN/1356] The graph legend truncates at the near...

2016-08-26 Thread Peilin-Yang
Github user Peilin-Yang commented on the issue:

https://github.com/apache/zeppelin/pull/1351
  
@prabhjyotsingh I agree with @corneadoug 
truncation on numeric values in the legend to me is another 
improvement/feature.
What this PR does is to fix the bug of existing code.
Does that make sense to you?


---
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 #1366: ZEPPELIN-1342. Adding dependencies via SPARK_SUBMIT_OP...

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

https://github.com/apache/zeppelin/pull/1366
  
I think `spark.jars` & `spark.yarn.dist.jars` are duplicated here. 
`--packages` will pass all the jars of the package to `args.jars` which will 
passed to `spark.jars` & `spark.yarn.dist.jars`
Please refer the following code in spark
* 
https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala#L297
* 
https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala#L461
* 
https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala#L476

I also verify the PR in both local mode and yarn-client 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.
---


[jira] [Created] (ZEPPELIN-1378) Support multiple Spark versions at the same time

2016-08-26 Thread Vinay Shukla (JIRA)
Vinay Shukla created ZEPPELIN-1378:
--

 Summary: Support multiple Spark versions at the same time
 Key: ZEPPELIN-1378
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1378
 Project: Zeppelin
  Issue Type: Bug
Reporter: Vinay Shukla


With Spark 2.0 now default in Zeppelin 0.6.1 many are still using Spark 1.6.

Zeppelin UI should provide an easy way for end user to select Spark version. 

This would be handy to allow experimenting with latest Spark version before 
completely switching to the latest version.



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


[GitHub] zeppelin pull request #746: [ZEPPELIN-699] Add new synchronous paragraph run...

2016-08-26 Thread doanduyhai
Github user doanduyhai closed the pull request at:

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


---
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 #1366: ZEPPELIN-1342. Adding dependencies via SPARK_SUBMIT_OP...

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

https://github.com/apache/zeppelin/pull/1366
  
Thanks @zjffdu for the fix.

Spark sets `-classpath` with not only `spark.jars` but also 
`spark.yarn.dist.jars` in case of master is `yarn`. see

https://github.com/apache/spark/blob/v2.0.0/repl/scala-2.11/src/main/scala/org/apache/spark/repl/Main.scala#L57

https://github.com/apache/spark/blob/v2.0.0/core/src/main/scala/org/apache/spark/util/Utils.scala#L2411

Do you think Zeppelin need to do the same?


---
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 #932: Replace CXF with Jersey2 [ZEPPELIN-903]

2016-08-26 Thread echarles
Github user echarles commented on the issue:

https://github.com/apache/zeppelin/pull/932
  
Merged with latest master.

@bzz I don't know where I found CDDL 2.0 (sounded indeed strange when I was 
writing this some time ago). jax-rs is now CDDL 1.0, beanvalidation is now ASL2 
and finally, excluded javax.annotation jar (classes are shipped in JRE).


---
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 #746: [ZEPPELIN-699] Add new synchronous paragraph run...

2016-08-26 Thread doanduyhai
GitHub user doanduyhai reopened a pull request:

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

[ZEPPELIN-699] Add new synchronous paragraph run REST API

### What is this PR for?
Right now, when calling the REST API 
`http://:/api/notebook/job//` Zeppelin always 
returns **OK** as shown by this source code: 
https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/rest/NotebookRestApi.java#L477

This ticket will update the behavior so that Zeppelin also return the 
result of the paragraph execution

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

### Todos
* [ ] - Code Review
* [ ] - Simple Test

### Is there a relevant Jira issue?
**[ZEPPELIN-699]**

### How should this be tested?
* `git fetch origin pull/746/head:ParagraphExecutionRESTAPI`
* `git checkout ParagraphExecutionRESTAPI`
* `mvn clean package -DskipTests`
* `bin/zeppelin-daemon.sh restart`
* Create a new note
* In the first paragraph, put the following code

```scala
%sh

echo "Current time = "`date +"%T"
```

* Retrieve the current note id in the URL
* Retrieve the current paragraph id
* Use a REST Client like **[POSTman]** to create a HTTP POST query 
`http://:/api/notebook/run//` 
* You should receive something similar as follow for answer

```
{
"status": "OK",
"body": {
"code": "SUCCESS",
"type": "TEXT",
"msg": "Current time = 16:14:18\n"
}
}
```

### Screenshots (if appropriate)

![zeppelin_synchronous_rest_api](https://cloud.githubusercontent.com/assets/1532977/15748069/b4a26a46-28dd-11e6-8f51-aa13ddba3f1c.gif)

API Documentation update

**Existing asynchronous API**

![image](https://cloud.githubusercontent.com/assets/1532977/15773274/5b508cae-2976-11e6-9e52-14d8b7e7828e.png)

**New synchronous API**

![image](https://cloud.githubusercontent.com/assets/1532977/15773309/84965a94-2976-11e6-9719-81d8b555c3c4.png)


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

[ZEPPELIN-699]: https://issues.apache.org/jira/browse/ZEPPELIN-699
[POSTman]: https://www.getpostman.com/

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

$ git pull https://github.com/doanduyhai/incubator-zeppelin ZEPPELIN-699

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

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


commit 8367acfc0526965a884f58eea8f8ddda70d011d7
Author: DuyHai DOAN 
Date:   2016-06-02T14:15:46Z

[ZEPPELIN-699] Add new synchronous paragraph run REST API

commit fb0570ce70c47d3648ce4b9cc8265ebe51f6bdc8
Author: DuyHai DOAN 
Date:   2016-06-02T14:24:38Z

[ZEPPELIN-699] Update Notebook REST API documentation




---
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 #1362: [ZEPPELIN-1178] Tooltip: Show chart type when hovering...

2016-08-26 Thread vinayshukla
Github user vinayshukla commented on the issue:

https://github.com/apache/zeppelin/pull/1362
  
Thanks @vensant 


---
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 #1368: zeppelin-display dependency version built only ...

2016-08-26 Thread krystiannowak
GitHub user krystiannowak opened a pull request:

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

zeppelin-display dependency version built only for Scala binary version 2.11

### What is this PR for?
Makes the project build again when selecting Scala version 2.11

As per the comment to the @Leemoonsoo 's commit:

https://github.com/apache/zeppelin/commit/0c5a03e6be20a13eee60e84b75cdf2a9dd64d3f4#diff-4ce8d865f6ee3c2eea04aa4e650c38b9R56

It seems it needs to be changed explicitly to _zeppelin-display_2.10_ due 
to https://issues.apache.org/jira/browse/ZEPPELIN-1179 and 
https://github.com/apache/zeppelin/commit/6bb4b5ba8e7ecd6274dd437c6ec5c4a9b178e4d1
 as then when building with
```
mvn clean package -Pspark-2.0 -Phadoop-2.4 -Pyarn -Ppyspark -Pscala-2.11 
-DskipTests
```
doesn't work:
```
[INFO] 

[INFO] Reactor Summary:
[INFO] 
[INFO] Zeppelin ... SUCCESS [01:34 
min]
[INFO] Zeppelin: Interpreter .. SUCCESS [ 
27.248 s]
[INFO] Zeppelin: Zengine .. SUCCESS [ 
37.027 s]
[INFO] Zeppelin: Display system apis .. SUCCESS [ 
33.301 s]
[INFO] Zeppelin: Spark dependencies ... SUCCESS [10:01 
min]
[INFO] Zeppelin: Spark  FAILURE [01:58 
min]
[INFO] Zeppelin: Markdown interpreter . SKIPPED
[INFO] Zeppelin: Angular interpreter .. SKIPPED
[INFO] Zeppelin: Shell interpreter  SKIPPED
[INFO] Zeppelin: Livy interpreter . SKIPPED
[INFO] Zeppelin: HBase interpreter  SKIPPED
[INFO] Zeppelin: PostgreSQL interpreter ... SKIPPED
[INFO] Zeppelin: JDBC interpreter . SKIPPED
[INFO] Zeppelin: File System Interpreters . SKIPPED
[INFO] Zeppelin: Flink  SKIPPED
[INFO] Zeppelin: Apache Ignite interpreter  SKIPPED
[INFO] Zeppelin: Kylin interpreter  SKIPPED
[INFO] Zeppelin: Python interpreter ... SKIPPED
[INFO] Zeppelin: Lens interpreter . SKIPPED
[INFO] Zeppelin: Apache Cassandra interpreter . SKIPPED
[INFO] Zeppelin: Elasticsearch interpreter  SKIPPED
[INFO] Zeppelin: BigQuery interpreter . SKIPPED
[INFO] Zeppelin: Alluxio interpreter .. SKIPPED
[INFO] Zeppelin: web Application .. SKIPPED
[INFO] Zeppelin: Server ... SKIPPED
[INFO] Zeppelin: Packaging distribution ... SKIPPED
[INFO] 

[INFO] BUILD FAILURE
[INFO] 

[INFO] Total time: 15:14 min
[INFO] Finished at: 2016-08-26T11:22:35+00:00
[INFO] Final Memory: 52M/234M
[INFO] 

[ERROR] Failed to execute goal on project zeppelin-spark_2.10: Could not 
resolve dependencies for project 
org.apache.zeppelin:zeppelin-spark_2.10:jar:0.7.0-SNAPSHOT: Could not find 
artifact org.apache.zeppelin:zeppelin-display_2.11:jar:0.7.0-SNAPSHOT in 
apache.snapshots (http://repository.apache.org/snapshots) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, 
please read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the 
command
[ERROR]   mvn  -rf :zeppelin-spark_2.10
The command '/bin/sh -c mvn clean package -Pspark-2.0 -Phadoop-2.4 -Pyarn 
-Ppyspark -Pscala-2.11 -DskipTests' returned a non-zero code: 1
```
e.g. as in:
https://github.com/conker84/docker-zeppelin/blob/master/Dockerfile
and hence also this https://travis-ci.org/apache/zeppelin/jobs/155291535 
failure

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

### Todos
none

### What is the Jira issue?
* ZEPPELIN-1179 - might need to be reopened

### How should this be tested?
Build the project with mvn clean package -Pscala-2.11 -DskipTests

### Screenshots (if appropriate)

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

[jira] [Created] (ZEPPELIN-1377) Run remote interpreter process in remote machine

2016-08-26 Thread Jeff Zhang (JIRA)
Jeff Zhang created ZEPPELIN-1377:


 Summary: Run remote  interpreter process in remote machine
 Key: ZEPPELIN-1377
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1377
 Project: Zeppelin
  Issue Type: New Feature
Affects Versions: 0.6.1
Reporter: Jeff Zhang
Assignee: Jeff Zhang


For now, all the remote interpreter process are running in the same host as 
zeppelin server, this is fine for single user. But after we support multiple 
users, there would be many remote interpreter process on the same host as each 
user would run its own interpreter process, I have concern about the 
scalability. So it would be better to run them on a remote host. One candidate 
solution is to run them as yarn application.  This would be a big change, need 
design review before implementation. 



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


[GitHub] zeppelin pull request #:

2016-08-26 Thread krystiannowak
Github user krystiannowak commented on the pull request:


https://github.com/apache/zeppelin/commit/0c5a03e6be20a13eee60e84b75cdf2a9dd64d3f4#commitcomment-18792505
  
It seems it needs to be changed explicitly to _zeppelin-display_2.10_ due 
to https://issues.apache.org/jira/browse/ZEPPELIN-1179 and 
https://github.com/apache/zeppelin/commit/6bb4b5ba8e7ecd6274dd437c6ec5c4a9b178e4d1
 as then when building with
```
mvn clean package -Pspark-2.0 -Phadoop-2.4 -Pyarn -Ppyspark -Pscala-2.11 
-DskipTests
```
doesn't work:
```
[INFO] 

[INFO] Reactor Summary:
[INFO] 
[INFO] Zeppelin ... SUCCESS [01:34 
min]
[INFO] Zeppelin: Interpreter .. SUCCESS [ 
27.248 s]
[INFO] Zeppelin: Zengine .. SUCCESS [ 
37.027 s]
[INFO] Zeppelin: Display system apis .. SUCCESS [ 
33.301 s]
[INFO] Zeppelin: Spark dependencies ... SUCCESS [10:01 
min]
[INFO] Zeppelin: Spark  FAILURE [01:58 
min]
[INFO] Zeppelin: Markdown interpreter . SKIPPED
[INFO] Zeppelin: Angular interpreter .. SKIPPED
[INFO] Zeppelin: Shell interpreter  SKIPPED
[INFO] Zeppelin: Livy interpreter . SKIPPED
[INFO] Zeppelin: HBase interpreter  SKIPPED
[INFO] Zeppelin: PostgreSQL interpreter ... SKIPPED
[INFO] Zeppelin: JDBC interpreter . SKIPPED
[INFO] Zeppelin: File System Interpreters . SKIPPED
[INFO] Zeppelin: Flink  SKIPPED
[INFO] Zeppelin: Apache Ignite interpreter  SKIPPED
[INFO] Zeppelin: Kylin interpreter  SKIPPED
[INFO] Zeppelin: Python interpreter ... SKIPPED
[INFO] Zeppelin: Lens interpreter . SKIPPED
[INFO] Zeppelin: Apache Cassandra interpreter . SKIPPED
[INFO] Zeppelin: Elasticsearch interpreter  SKIPPED
[INFO] Zeppelin: BigQuery interpreter . SKIPPED
[INFO] Zeppelin: Alluxio interpreter .. SKIPPED
[INFO] Zeppelin: web Application .. SKIPPED
[INFO] Zeppelin: Server ... SKIPPED
[INFO] Zeppelin: Packaging distribution ... SKIPPED
[INFO] 

[INFO] BUILD FAILURE
[INFO] 

[INFO] Total time: 15:14 min
[INFO] Finished at: 2016-08-26T11:22:35+00:00
[INFO] Final Memory: 52M/234M
[INFO] 

[ERROR] Failed to execute goal on project zeppelin-spark_2.10: Could not 
resolve dependencies for project 
org.apache.zeppelin:zeppelin-spark_2.10:jar:0.7.0-SNAPSHOT: Could not find 
artifact org.apache.zeppelin:zeppelin-display_2.11:jar:0.7.0-SNAPSHOT in 
apache.snapshots (http://repository.apache.org/snapshots) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, 
please read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the 
command
[ERROR]   mvn  -rf :zeppelin-spark_2.10
The command '/bin/sh -c mvn clean package -Pspark-2.0 -Phadoop-2.4 -Pyarn 
-Ppyspark -Pscala-2.11 -DskipTests' returned a non-zero code: 1
```
e.g. as in:
https://github.com/conker84/docker-zeppelin/blob/master/Dockerfile


---
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 #1356: [ZEPPELIN-1346] Add contribution guidelines to the web...

2016-08-26 Thread corneadoug
Github user corneadoug commented on the issue:

https://github.com/apache/zeppelin/pull/1356
  
@Leemoonsoo Let me try playing a bit more with the layout, I will post 
screenshots once its done


---
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 #1362: [ZEPPELIN-1178] Tooltip: Show chart type when hovering...

2016-08-26 Thread corneadoug
Github user corneadoug commented on the issue:

https://github.com/apache/zeppelin/pull/1362
  
@vensant Thank you! Merging if there is no more 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.
---


[jira] [Created] (ZEPPELIN-1376) Add proxy credentials for dependency repo for corporate firewall use-cases

2016-08-26 Thread DOAN DuyHai (JIRA)
DOAN DuyHai created ZEPPELIN-1376:
-

 Summary: Add proxy credentials for dependency repo for corporate 
firewall use-cases
 Key: ZEPPELIN-1376
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1376
 Project: Zeppelin
  Issue Type: Improvement
  Components: documentation, front-end, GUI, zeppelin-interpreter
Affects Versions: 0.7.0
Reporter: DOAN DuyHai
Assignee: DOAN DuyHai


When using Zeppelin behind corporate firewall, sometimes the dependencies 
download just fails silently. This JIRA has 2 objectives:

 - add proxy credentials information for dependencies repo
 - raise clear error message in case of dependencies download failure



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


[GitHub] zeppelin issue #1362: [ZEPPELIN-1178] Tooltip: Show chart type when hovering...

2016-08-26 Thread vensant
Github user vensant commented on the issue:

https://github.com/apache/zeppelin/pull/1362
  
Code changes done as per the review 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 #1366: ZEPPELIN-1342. Adding dependencies via SPARK_SUBMIT_OP...

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

https://github.com/apache/zeppelin/pull/1366
  
LGTM. :+1: 


---
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 #1367: [ZEPPELIN-1040] Show the time when the result i...

2016-08-26 Thread rajarajan-g
GitHub user rajarajan-g opened a pull request:

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

 [ZEPPELIN-1040] Show the time when the result is updated

### What is this PR for?
As per existing usage, the time shown in end of each paragraph is the time 
the paragraph is updated not when the paragraph is actually executed/run.

_" Took 10 sec. Last updated by anonymous at **August 26 2016, 1:52:01 
PM.** "_

PR is aimed at changing the existing usage to show when the paragraph is 
last executed as this gives  clarification to users about the executed time of 
paragraph


### What type of PR is it?
 Improvement 

### Todos
* [ ] - Task

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

### How should this be tested?
1. Start the server and create a new note book
2. create a new paragraph and execute the paragraph
3. Now rerun the paragraph, the time should get updated now inline with 
execution of the paragraph

### 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/rajarajan-g/zeppelin ZEPPELIN-1040

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

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


commit d30f1b28e3a7c3a3160a3eab7e6e30aa1f53083c
Author: rajarajan-g 
Date:   2016-08-26T08:30:10Z

code changed for showing last run time after execution of 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.
---


[GitHub] zeppelin issue #1364: [MINOR] Remove unnecessary question mark

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

https://github.com/apache/zeppelin/pull/1364
  
Thanks @AhyoungRyu , I have added `bigquery` in the following commit.
BTW, I don't this is a good idea to define the interpreter order in this 
way. Because it brings extra overhead when adding new interpreter. And I think 
it will break when we have multiple interpreter setting for the same 
interpreter (e.g. 2 interpreter setting for spark, one for spark1, another for 
spark2).

So I am thinking that maybe we can allow user to define the ordering in the 
interpreter page, the available interpreter can be fetched through rest api. So 
that we won't miss any interpreter when new interpreter is added.  \cc 
@Leemoonsoo @jongyoul 


---
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 #1351: [ZEPPELIN/1356] The graph legend truncates at the near...

2016-08-26 Thread corneadoug
Github user corneadoug commented on the issue:

https://github.com/apache/zeppelin/pull/1351
  
@prabhjyotsingh I guess the tooltip value that is truncated can be the 
subject of another issue.


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


[GitHub] zeppelin issue #1283: Buffer append output results + fix extra incorrect res...

2016-08-26 Thread corneadoug
Github user corneadoug commented on the issue:

https://github.com/apache/zeppelin/pull/1283
  
I tested both cases:
__Case1:__ master (X), this branch (X)
__Case2:__ master (O), this branch(X)

However the first time I tried this branch and commented, the Case 2 was 
fine in this Branch


---
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 #1351: [ZEPPELIN/1356] The graph legend truncates at the near...

2016-08-26 Thread prabhjyotsingh
Github user prabhjyotsingh commented on the issue:

https://github.com/apache/zeppelin/pull/1351
  
IMO shouldn't it be the other way, in tool tip, show the whole number 
without truncate, generally not to huge number.
Otherwise 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 #1357: ZEPPELIN-1364: Return only the ran paragraph details f...

2016-08-26 Thread vipul1409
Github user vipul1409 commented on the issue:

https://github.com/apache/zeppelin/pull/1357
  
Yes It is ready for review.
The reason for CI failure looks unrelated to my changes as the build is 
failing in npm side and I have not made any JS changes.
The build is passing for few profiles and failing for few looks 
intermittent.
This is the error. 

> [ERROR] npm ERR! Callback called more than once.
> [ERROR] npm ERR! 

Any suggestion?


---
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 #1351: [ZEPPELIN/1356] The graph legend truncates at the near...

2016-08-26 Thread corneadoug
Github user corneadoug commented on the issue:

https://github.com/apache/zeppelin/pull/1351
  
@prabhjyotsingh It is already, that's why there is 1.412 shown in the 
tooltip.
The other one is the group name.

The original purpose of this PR is that in case of the group name we should 
not remove what is after the coma.

To give a non numerical example:

# Before the PR
Group Name would go from `hello.world` -> `hello` in the legend

# After the PR
Group Name would be shown as `hello.world` in the legend


---
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 #1366: ZEPPELIN-1342. Adding dependencies via SPARK_SUBMIT_OP...

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

https://github.com/apache/zeppelin/pull/1366
  
\cc @Leemoonsoo  Ready for review. 


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


[GitHub] zeppelin pull request #1366: ZEPPELIN-1342. Adding dependencies via SPARK_SU...

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

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

ZEPPELIN-1342. Adding dependencies via SPARK_SUBMIT_OPTIONS doesn't work on 
Spark 2.0.0

### What is this PR for?

The root cause is due to the change of repl of scala-2.11. User needs to 
specify the jars in the repl setting explicitly.

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

### Todos
* [ ] - Task

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

### How should this be tested?
Tested manually as shown in the screenshot. 

### Screenshots (if appropriate)


![image](https://cloud.githubusercontent.com/assets/164491/17997416/f26c262c-6ba0-11e6-8586-22a6a633b21b.png)

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



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

$ git pull https://github.com/zjffdu/zeppelin ZEPPELIN-1342

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

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


commit 56925d61e937fd8b14590a011c1139d3a1b27e4a
Author: Jeff Zhang 
Date:   2016-08-26T07:19:51Z

ZEPPELIN-1342. Adding dependencies via SPARK_SUBMIT_OPTIONS doesn't work on 
Spark 2.0.0




---
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 #1351: [ZEPPELIN/1356] The graph legend truncates at the near...

2016-08-26 Thread prabhjyotsingh
Github user prabhjyotsingh commented on the issue:

https://github.com/apache/zeppelin/pull/1351
  
IMO, instead of UI showing "1.41234312421341234213" it should get 
truncated/ceil/floor to say not more than 3 places of decimal.


---
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 #1351: [ZEPPELIN/1356] The graph legend truncates at the near...

2016-08-26 Thread corneadoug
Github user corneadoug commented on the issue:

https://github.com/apache/zeppelin/pull/1351
  
@prabhjyotsingh which trailing decimal and what is supposed to be the 
result?


---
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-1375) 500 server error when get "/helium/suggest/noteId/paragraphId

2016-08-26 Thread Ahyoung Ryu (JIRA)
Ahyoung Ryu created ZEPPELIN-1375:
-

 Summary: 500 server error when get 
"/helium/suggest/noteId/paragraphId 
 Key: ZEPPELIN-1375
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1375
 Project: Zeppelin
  Issue Type: Bug
Reporter: Ahyoung Ryu


In latest master branch, I got 500 server error regarding 
{code}/helium/suggest/noteId/paragraphId{code} like attached screenshot.

Just curious. Is this known issue? or is it happened only for me?



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


[GitHub] zeppelin issue #1351: [ZEPPELIN/1356] The graph legend truncates at the near...

2016-08-26 Thread prabhjyotsingh
Github user prabhjyotsingh commented on the issue:

https://github.com/apache/zeppelin/pull/1351
  
Can you take care of the trailing decimal as well ?

https://cloud.githubusercontent.com/assets/674497/17996351/eae88dde-6b85-11e6-91ea-c77671244484.png;>



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