[GitHub] zeppelin issue #1117: [ZEPPELIN-1086] Auto Completion for Interpreter.

2016-07-13 Thread bzz
Github user bzz commented on the issue:

https://github.com/apache/zeppelin/pull/1117
  
What I mean is - as a user, when I auto-complete the interpreter name, I 
would expect a suggestion list that contains only interpreter names and nothing 
else.

Right now list of suggestion includes things like "NoSuchMethod" and 
`AbstractMethodError`.

If it is hard to remove such things from the suggestions list in this case 
- let's keep them. But if that is something we could implement in this PR - 
that would be nice.

How do you think?


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


[GitHub] zeppelin issue #1182: ZEPPELIN-1170 Handsontable fails to display data on se...

2016-07-13 Thread bzz
Github user bzz commented on the issue:

https://github.com/apache/zeppelin/pull/1182
  
@corneadoug from what you say, it's still not clear what's the plan with 
this one.

I do not think it was rebased, where `rebased = git rebase` - that way all 
the commits would show up AFTER the conversation as history get's re-written. 

Also we would not have commit messages like "Merge remote-tracking branch 
'upstream/master' into ZEPPELIN-1170" in case of rebase.


---
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 #1164: ZEPPELIN-1115: Python - interpreter for SQL over DataF...

2016-07-13 Thread khalidhuseynov
Github user khalidhuseynov commented on the issue:

https://github.com/apache/zeppelin/pull/1164
  
Thanks for the improvement, 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.
---


Running Selenium tests

2016-07-13 Thread Corneau Damien
Hi,

Does anybody have a good way to run Selenium tests from command line?
There isn't much documentation about it, and I can't get it to run anymore.

I tried both:

*TEST_SELENIUM="true" mvn package -DfailIfNoTests=false -pl
'zeppelin-interpreter,zeppelin-zengine,zeppelin-server'
-Dtest=ParagraphActionsIT*
(Next to running Zeppelin)

and

*PATH=~/Applications/Firefox.app/Contents/MacOS/:$PATH CI="true" mvn verify
-Pspark-1.6 -Phadoop-2.3 -Ppyspark -B -pl
"zeppelin-interpreter,zeppelin-zengine,zeppelin-server,zeppelin-display,spark-dependencies,spark"
-Dtest="org.apache.zeppelin.AbstractFunctionalSuite" -DfailIfNoTests=false*

(Just like CI)
But no luck.

When trying to fix tests, it can take a lot of trials, and making a commit
and waiting for CI isn't an option.


[GitHub] zeppelin issue #1176: [Zeppelin 1165 : improve] Paragraph dynamic relationsh...

2016-07-13 Thread cloverhearts
Github user cloverhearts commented on the issue:

https://github.com/apache/zeppelin/pull/1176
  
Thank you for your opinion.
I understood as a story about running redundant during the workflow.
If the current functional design is supposed to run at the same time, as 
follows 
It is to share the results of the job.


![job_repl](https://cloud.githubusercontent.com/assets/10525473/16828860/96e601b8-49ce-11e6-87d0-6f7fc30ce751.png)

But if the situation need to run the job at the same time, subject to their 
execution flow.
Did you find this answer?


---
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 #1176: [Zeppelin 1165 : improve] Paragraph dynamic relationsh...

2016-07-13 Thread prabhjyotsingh
Github user prabhjyotsingh commented on the issue:

https://github.com/apache/zeppelin/pull/1176
  
Cool feature, even I wanted to have something similar. Will test it, and 
give more feedback, in the mean while, and referring to the gif posted in 
screenshot segment, can the rest of the paragraph go into pending state.

For example in this case can the last paragraph `%md` go into pending state 
while `%spark` was executing ?


---
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 #1157: [ZEPPELIN-1146] Zeppelin JDBC interpreter should work ...

2016-07-13 Thread jongyoul
Github user jongyoul commented on the issue:

https://github.com/apache/zeppelin/pull/1157
  
@prabhjyotsingh This PR is not passed. Why do you merge it? I think we need 
to pass the CI even though we have some flaky tests. Could you please check it 
again?


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


[GitHub] zeppelin issue #1160: [Zeppelin - 1152] Listing note revision history

2016-07-13 Thread khalidhuseynov
Github user khalidhuseynov commented on the issue:

https://github.com/apache/zeppelin/pull/1160
  
@corneadoug thanks for the help with rendering list, and i've fixed the 
tests. CI is green and ready for review.


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


[GitHub] zeppelin issue #1181: ZEPPELIN-1168 Add http header X-Requested-By in post r...

2016-07-13 Thread prabhjyotsingh
Github user prabhjyotsingh commented on the issue:

https://github.com/apache/zeppelin/pull/1181
  
Merging this if no more discussion.


---
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 #1155: [ZEPPELIN-1143] Interpreter dependencies are not downl...

2016-07-13 Thread prabhjyotsingh
Github user prabhjyotsingh commented on the issue:

https://github.com/apache/zeppelin/pull/1155
  
Merging this if no more discussion.


---
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 #1140: [ZEPPELIN-1125] Application does not logout user when ...

2016-07-13 Thread prabhjyotsingh
Github user prabhjyotsingh commented on the issue:

https://github.com/apache/zeppelin/pull/1140
  
@corneadoug should we merge this, so that, `grunt serve` starts working, 
and tune this later ?


---
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-1172) NPE in ResourcePoolUtils when creating remote interepter

2016-07-13 Thread Jeff Zhang (JIRA)
Jeff Zhang created ZEPPELIN-1172:


 Summary: NPE in ResourcePoolUtils when creating remote interepter
 Key: ZEPPELIN-1172
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1172
 Project: Zeppelin
  Issue Type: Bug
Affects Versions: 0.6.0
Reporter: Jeff Zhang


Although eventually, the remote interpreter will be created, seem no function 
is affected. But this kind of log is very confusing and scaring. 

{format}
 INFO [2016-07-14 11:25:18,047] ({pool-2-thread-2} 
RemoteInterpreterManagedProcess.java[start]:114) - Run interpreter process 
[/Users/jzhang/github/zeppelin/bin/interpreter.sh, -d, 
/Users/jzhang/github/zeppelin/interpreter/spark, -p, 54477, -l, 
/Users/jzhang/github/zeppelin/local-repo/2B92N2SP5]
ERROR [2016-07-14 11:25:18,068] ({qtp1458849419-16} 
ResourcePoolUtils.java[getAllResourcesExcept]:64) -
java.lang.NullPointerException
at 
org.apache.zeppelin.resource.ResourcePoolUtils.getAllResourcesExcept(ResourcePoolUtils.java:58)
at 
org.apache.zeppelin.resource.ResourcePoolUtils.getAllResources(ResourcePoolUtils.java:36)
at org.apache.zeppelin.helium.Helium.suggestApp(Helium.java:153)
at org.apache.zeppelin.rest.HeliumRestApi.suggest(HeliumRestApi.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at 
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
at 
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:192)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:100)
at 
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:57)
at 
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:93)
at 
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
at 
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at 
org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)
at 
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:248)
at 
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:222)
at 
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:153)
at 
org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:167)
at 
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
at 
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:211)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
at 
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at 
org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
at 
org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
...
{format}



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


[GitHub] zeppelin pull request #1110: [ZEPPELIN-1091] Disable ace editor's showSettin...

2016-07-13 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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 #1168: [MINOR] Add formatter

2016-07-13 Thread bzz
Github user bzz commented on the issue:

https://github.com/apache/zeppelin/pull/1168
  
I have applied `ZeppelinStyle` Java formatter in Eclipse and re-formatted 
`ZeppelinServer.java` here is the diff below

```
diff --git 
a/zeppelin-server/src/main/java/org/apache/zeppelin/server/ZeppelinServer.java 
b/zeppelin-server/src/main/java/org/apache/zeppelin/server/ZeppelinServer.java
index 4ef6f44..686d6ea 100644
--- 
a/zeppelin-server/src/main/java/org/apache/zeppelin/server/ZeppelinServer.java
+++ 
b/zeppelin-server/src/main/java/org/apache/zeppelin/server/ZeppelinServer.java
@@ -1,18 +1,16 @@
 /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Licensed to the Apache Software Foundation (ASF) under one or more 
contributor license
+ * agreements. See the NOTICE file distributed with this work for 
additional information regarding
+ * copyright ownership. The ASF licenses this file to You under the Apache 
License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the 
License. You may obtain a
+ * copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software 
distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF 
ANY KIND, either express
+ * or implied. See the License for the specific language governing 
permissions and limitations under
+ * the License.
  */
 
 package org.apache.zeppelin.server;
@@ -105,8 +103,9 @@ public class ZeppelinServer extends Application {
 this.notebookIndex = new LuceneSearch();
 this.notebookAuthorization = new NotebookAuthorization(conf);
 this.credentials = new Credentials(conf.credentialsPersist(), 
conf.getCredentialsPath());
-notebook = new Notebook(conf, notebookRepo, schedulerFactory, 
replFactory, notebookWsServer,
-notebookIndex, notebookAuthorization, credentials);
+notebook =
+new Notebook(conf, notebookRepo, schedulerFactory, replFactory, 
notebookWsServer,
+notebookIndex, notebookAuthorization, credentials);
 
 // to update notebook from application event from remote process.
 heliumApplicationFactory.setNotebook(notebook);
@@ -135,12 +134,12 @@ public class ZeppelinServer extends Application {
 // Notebook server
 setupNotebookServer(webApp, conf);
 
-//Below is commented since zeppelin-docs module is removed.
-//final WebAppContext webAppSwagg = setupWebAppSwagger(conf);
+// Below is commented since zeppelin-docs module is removed.
+// final WebAppContext webAppSwagg = setupWebAppSwagger(conf);
 
 LOG.info("Starting zeppelin server");
 try {
-  jettyWebServer.start(); //Instantiates ZeppelinServer
+  jettyWebServer.start(); // Instantiates ZeppelinServer
 } catch (Exception e) {
   LOG.error("Error while running jettyServer", e);
   System.exit(-1);
@@ -148,7 +147,8 @@ public class ZeppelinServer extends Application {
 LOG.info("Done, zeppelin server started");
 
 Runtime.getRuntime().addShutdownHook(new Thread() {
-  @Override public void run() {
+  @Override
+  public void run() {
 LOG.info("Shutting down Zeppelin Server ... ");
 try {
   jettyWebServer.stop();
@@ -192,13 +192,13 @@ public class ZeppelinServer extends Application {
   HttpConfiguration httpsConfig = new HttpConfiguration(httpConfig);
   SecureRequestCustomizer src = new SecureRequestCustomizer();
   // Only with Jetty 9.3.x
-  //  src.setStsMaxAge(2000);
-  //  src.setStsIncludeSubDomains(true);
+  // src.setStsMaxAge(2000);
+  // src.setStsIncludeSubDomains(true);
   httpsConfig.addCustomizer(src);
 
-  connector = new ServerConnector(server,
-  new SslConnectionFactory(getSslContextFactory(conf), 

[GitHub] zeppelin pull request #1177: change the jquery-ui css file name

2016-07-13 Thread corneadoug
Github user corneadoug closed the pull request at:

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


---
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 #1177: change the jquery-ui css file name

2016-07-13 Thread corneadoug
GitHub user corneadoug reopened a pull request:

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

change the jquery-ui css file name

### What is this PR for?
The Jquery-ui css file name changed between version and is now missing
![screen shot 2016-07-13 at 3 37 02 
pm](https://cloud.githubusercontent.com/assets/710411/16794236/707df05c-4911-11e6-8b11-e6bb385c23d0.png)

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

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

### How should this be tested?
You can run in a paragraph and click inside the input:
```
%angular

  $( function() {
$( "#datepicker" ).datepicker();
  } );

Date: 
```

### Screenshots (if appropriate)
Before:
![screen shot 2016-07-13 at 3 36 47 
pm](https://cloud.githubusercontent.com/assets/710411/16794252/88cd44d2-4911-11e6-8a8c-465d44302475.png)

After:
![screen shot 2016-07-13 at 3 37 59 
pm](https://cloud.githubusercontent.com/assets/710411/16794255/8b9a01fa-4911-11e6-802f-12868e48484b.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/corneadoug/incubator-zeppelin ZEPPELIN-1166

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

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


commit c1291be3c927871a0e79b0986519461ab71e4846
Author: Damien CORNEAU 
Date:   2016-07-13T06:48:14Z

change the jquery-ui css file name




---
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 #1177: change the jquery-ui css file name

2016-07-13 Thread AhyoungRyu
Github user AhyoungRyu commented on the issue:

https://github.com/apache/zeppelin/pull/1177
  
@corneadoug I also saw this error in my console. 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 #1176: [Zeppelin 1165 : improve] Paragraph dynamic relationsh...

2016-07-13 Thread cloverhearts
Github user cloverhearts commented on the issue:

https://github.com/apache/zeppelin/pull/1176
  
jira re link - ZEPPELIN-1165

https://issues.apache.org/jira/browse/ZEPPELIN-1165


---
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 #1168: [MINOR] Add formatter

2016-07-13 Thread bzz
Github user bzz commented on the issue:

https://github.com/apache/zeppelin/pull/1168
  
@jongyoul do you think we should update our documentation for contributors, 
mentioning this IDE setup as well?



---
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 #1182: ZEPPELIN-1170 Handsontable fails to display data on se...

2016-07-13 Thread bzz
Github user bzz commented on the issue:

https://github.com/apache/zeppelin/pull/1182
  
So what is the consensus, shall we actually *rebase* this one on master and 
merge, or just close, as soon as #1171 is merged?


---
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 #747: [ZEPPELIN-605] Add support for Scala 2.11

2016-07-13 Thread bzz
Github user bzz commented on the issue:

https://github.com/apache/zeppelin/pull/747
  
Looks great to me! Thank you @lresende 

Let's merge if there is no further discussion


---
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 #1164: ZEPPELIN-1115: Python - interpreter for SQL over DataF...

2016-07-13 Thread bzz
Github user bzz commented on the issue:

https://github.com/apache/zeppelin/pull/1164
  
Documentation review addressed in e432961


---
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 #928: [ZEPPELIN-116][WIP] Add Mahout Support for Spark Interp...

2016-07-13 Thread rawkintrevo
Github user rawkintrevo commented on the issue:

https://github.com/apache/zeppelin/pull/928
  
@bzz, I can't recreate the build failure.

I can say
- Spark, pySpark, and Mahout notebooks and paragraphs run as expected.
- Spark and pySpark tests pass. Also, integration tests pass in 
`zeppelin-server`.  The only thing that fails is the Spark Cluster test. 
- The part of the Spark Cluster Test that fails is python not being found 
when testing via the REST API
- I can also confirm that all of the failing tests ALSO work as expected 
against a built Zeppein (see following python script to recreate tests)


``` python

# build zeppelin like this:
#
# mvn clean package -DskipTests -Psparkr -Ppyspark -Pspark-1.6

from requests import post, get, delete
from json import dumps

ZEPPELIN_SERVER = "localhost"
ZEPPELIN_PORT = 8080
base_url = "http://%s:%i; % (ZEPPELIN_SERVER, ZEPPELIN_PORT)



def create_notebook(name_of_new_notebook):
payload = {"name": name_of_new_notebook}
notebook_url = base_url + "/api/notebook"
r = post(notebook_url, dumps(payload))
return r.json()

def delete_notebook(notebook_id):
target_url = base_url + "/api/notebook/%s" % notebook_id
r = delete(target_url)
return r


def create_paragraph(code, notebook_id, title=""):
target_url = base_url + "/api/notebook/%s/paragraph" % notebook_id
payload = { "title": title, "text": code }
r = post(target_url, dumps(payload))
return r.json()["body"]


notebook_id = create_notebook("test1")["body"]

test_codes = [
"%spark print(sc.parallelize(1 to 10).reduce(_ + _))",
"%r localDF <- data.frame(name=c(\"a\", \"b\", \"c\"), age=c(19, 23, 
18))\n" +
"df <- createDataFrame(sqlContext, localDF)\n" +
"count(df)",
"%pyspark print(sc.parallelize(range(1, 11)).reduce(lambda a, b: a + 
b))",
"%pyspark print(sc.parallelize(range(1, 11)).reduce(lambda a, b: a + 
b))",
"%pyspark\nfrom pyspark.sql.functions import *\n"
+ "print(sqlContext.range(0, 10).withColumn('uniform', rand(seed=10) * 
3.14).count())",
"%spark z.run(1)"
]

para_ids = [create_paragraph(c, notebook_id) for c in test_codes]

# run all paragraphs:
post(base_url + "/api/notebook/job/%s" % notebook_id)

#delete_notebook(notebook_id)
```

After two weeks of chasing dead ends and my tail, I call this is an issue 
with the testing env, not the mahout interpreter.


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


[GitHub] zeppelin issue #747: [ZEPPELIN-605] Add support for Scala 2.11

2016-07-13 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/747
  
Looks good to me!


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


[GitHub] zeppelin pull request #1171: [ZEPPELIN-1150] Table contents disappear 2nd ru...

2016-07-13 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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 #1157: [ZEPPELIN-1146] Zeppelin JDBC interpreter should work ...

2016-07-13 Thread prabhjyotsingh
Github user prabhjyotsingh commented on the issue:

https://github.com/apache/zeppelin/pull/1157
  
You can either use %hive or %jdbc(hive), for 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 #1170: BigQuery Interpreter for Apazhe Zeppelin[ZEPPELIN-1153...

2016-07-13 Thread babupe
Github user babupe commented on the issue:

https://github.com/apache/zeppelin/pull/1170
  
Thanks! I will work on incorporating the feedback.


---
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 #1157: [ZEPPELIN-1146] Zeppelin JDBC interpreter should work ...

2016-07-13 Thread rja1
Github user rja1 commented on the issue:

https://github.com/apache/zeppelin/pull/1157
  
Thanks @prabhjyotsingh.  Novice question: how to you make the distinction 
in the notebook that you want jdbc hive vs jdbc postgresql, jdbc phoenix, etc..

If I run:
%jdbc
show tables;

Zeppelin defaults to trying to connect to postgres (as that's the default 
driver, which makes sense).
I'm guessing you're doing something like:
%jdbc.hive?
show tables;




 







---
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 #1171: [ZEPPELIN-1150] Table contents disappear 2nd run onwar...

2016-07-13 Thread prabhjyotsingh
Github user prabhjyotsingh commented on the issue:

https://github.com/apache/zeppelin/pull/1171
  
👍 


---
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 #1182: ZEPPELIN-1170 Handsontable fails to display data on se...

2016-07-13 Thread prabhjyotsingh
Github user prabhjyotsingh commented on the issue:

https://github.com/apache/zeppelin/pull/1182
  
@Leemoonsoo Yes, I agree, we should merge #1171. 


---
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 #1171: [ZEPPELIN-1150] Table contents disappear 2nd run onwar...

2016-07-13 Thread prabhjyotsingh
Github user prabhjyotsingh commented on the issue:

https://github.com/apache/zeppelin/pull/1171
  
I missed this (which solve the same problem as 
https://github.com/apache/zeppelin/pull/1182), let me check this. 


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


[GitHub] zeppelin issue #1182: [HOTFIX] ZEPPELIN-1170 Handsontable fails to display d...

2016-07-13 Thread prabhjyotsingh
Github user prabhjyotsingh commented on the issue:

https://github.com/apache/zeppelin/pull/1182
  
LGTM!

This has been happening in my machine as well for quite some time. Thanks 
@r-kamath for the fix.

@corneadoug, @Leemoonsoo Please review will merge this a hot fix.


---
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 #1181: ZEPPELIN-1168 Add http header X-Requested-By in post r...

2016-07-13 Thread prabhjyotsingh
Github user prabhjyotsingh commented on the issue:

https://github.com/apache/zeppelin/pull/1181
  
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 #1182: [HOTFIX] ZEPPELIN-1170 Handsontable fails to display d...

2016-07-13 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/1182
  
@r-kamath Thanks for the fix. How this fix is different from #1171 ?


---
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 #1182: [HOTFIX] ZEPPELIN-1170 Handsontable fails to di...

2016-07-13 Thread r-kamath
GitHub user r-kamath opened a pull request:

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

[HOTFIX] ZEPPELIN-1170 Handsontable fails to display data on second run

### What is this PR for?
Handsontable fails to display data on second run if first run did not 
render table due to an error the query.
Fix for a render issue caused by #1059

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

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

### How should this be tested?
Please ref the screenshots

### Screenshots (if appropriate)
**Before**

![old](https://cloud.githubusercontent.com/assets/2031306/16809245/35f0ced8-493d-11e6-8e1a-74c24100487a.gif)

**After**

![new](https://cloud.githubusercontent.com/assets/2031306/16809256/41a4de22-493d-11e6-9a4f-31c6ae654ceb.gif)



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



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

$ git pull https://github.com/r-kamath/zeppelin ZEPPELIN-1170

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

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


commit d63d517ae2bcd12047b390e0723c3ecd2cd8f1e8
Author: Renjith Kamath 
Date:   2016-07-13T15:31:22Z

ZEPPELIN-1170 Handsontable fails to display data on second run




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

2016-07-13 Thread Leemoonsoo
Github user Leemoonsoo commented on the pull request:


https://github.com/apache/zeppelin/commit/8790ba97caf0a08f7d73a3dec6b583f572f18189#commitcomment-18231592
  
I think this change is somehow related to 
https://issues.apache.org/jira/browse/ZEPPELIN-1169. @jongyoul, could you take 
a look https://issues.apache.org/jira/browse/ZEPPELIN-1169?


---
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-1170) Handson table fails to display data on second run

2016-07-13 Thread Renjith Kamath (JIRA)
Renjith Kamath created ZEPPELIN-1170:


 Summary: Handson table fails to display data on second run
 Key: ZEPPELIN-1170
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1170
 Project: Zeppelin
  Issue Type: Bug
Reporter: Renjith Kamath
Assignee: Renjith Kamath
 Attachments: old.gif

Handsontable fails to display data on second run if first run did not render 
table due to an error the query.




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


[jira] [Created] (ZEPPELIN-1169) Wrong guava version in the classpath

2016-07-13 Thread Lee moon soo (JIRA)
Lee moon soo created ZEPPELIN-1169:
--

 Summary: Wrong guava version in the classpath
 Key: ZEPPELIN-1169
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1169
 Project: Zeppelin
  Issue Type: Bug
 Environment: 0.7.0-SNAPSHOT
Reporter: Lee moon soo


{code}
%spark
val data = sc.textFile("/tmp/test.csv")
data.collect
{code}

raise error

{code}
data: org.apache.spark.rdd.RDD[String] = /tmp/test.csv MapPartitionsRDD[3] at 
textFile at :29
java.lang.IllegalAccessError: tried to access method 
com.google.common.base.Stopwatch.()V from class 
org.apache.hadoop.mapred.FileInputFormat
at 
org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:312)
at org.apache.spark.rdd.HadoopRDD.getPartitions(HadoopRDD.scala:199)
at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:239)
at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:237)
at scala.Option.getOrElse(Option.scala:120)
at org.apache.spark.rdd.RDD.partitions(RDD.scala:237)
at 
org.apache.spark.rdd.MapPartitionsRDD.getPartitions(MapPartitionsRDD.scala:35)
at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:239)
at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:237)
at scala.Option.getOrElse(Option.scala:120)
at org.apache.spark.rdd.RDD.partitions(RDD.scala:237)
at org.apache.spark.SparkContext.runJob(SparkContext.scala:1929)
at org.apache.spark.rdd.RDD$$anonfun$collect$1.apply(RDD.scala:927)
at 
org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:150)
at 
org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:111)
at org.apache.spark.rdd.RDD.withScope(RDD.scala:316)
at org.apache.spark.rdd.RDD.collect(RDD.scala:926)
at $iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:32)
at $iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:37)
at $iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:39)
at $iwC$$iwC$$iwC$$iwC$$iwC.(:41)
at $iwC$$iwC$$iwC$$iwC.(:43)
at $iwC$$iwC$$iwC.(:45)
at $iwC$$iwC.(:47)
at $iwC.(:49)
at (:51)
at .(:55)
at .()
at .(:7)
at .()
at $print()
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.apache.spark.repl.SparkIMain$ReadEvalPrint.call(SparkIMain.scala:1065)
at 
org.apache.spark.repl.SparkIMain$Request.loadAndRun(SparkIMain.scala:1346)
at 
org.apache.spark.repl.SparkIMain.loadAndRunReq$1(SparkIMain.scala:840)
at org.apache.spark.repl.SparkIMain.interpret(SparkIMain.scala:871)
at org.apache.spark.repl.SparkIMain.interpret(SparkIMain.scala:819)
at 
org.apache.zeppelin.spark.SparkInterpreter.interpretInput(SparkInterpreter.java:811)
at 
org.apache.zeppelin.spark.SparkInterpreter.interpret(SparkInterpreter.java:757)
at 
org.apache.zeppelin.spark.SparkInterpreter.interpret(SparkInterpreter.java:750)
at 
org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:94)
at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:383)
at org.apache.zeppelin.scheduler.Job.run(Job.java:176)
at 
org.apache.zeppelin.scheduler.FIFOScheduler$1.run(FIFOScheduler.java:139)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
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)
{code}

where /tmp/test.csv is any text file.

Tested with spark interpreter local mode.



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



[GitHub] zeppelin issue #1114: [DOC] Proxy build - removed Bower note

2016-07-13 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/1114
  
I'm merging it into master, if there is no further discussions, 
verification.


---
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 #1175: use static field logger instead of function

2016-07-13 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/1175
  
Thanks @zjffdu for the contribution
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 #1180: [ZEPPELIN-1059] Fix the Print CSS file

2016-07-13 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/1180
  
This is cool!!
Tested and 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 #1171: [ZEPPELIN-1150] Table contents disappear 2nd run onwar...

2016-07-13 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/1171
  
Thanks @astroshim @corneadoug for review this!

Merge it into master if there're 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.
---


[GitHub] zeppelin issue #1177: change the jquery-ui css file name

2016-07-13 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/1177
  
Test and LGTM.
CI failure doesn't look relevant.
 


---
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 #747: [ZEPPELIN-605] Add support for Scala 2.11

2016-07-13 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/747
  
Looks like there were some network problem on last CI bulid. Could you 
trigger ci once again and see if it goes to green?


---
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 #1077: [ZEPPELIN-921] Apply new mechanism to KnitR and RRepl

2016-07-13 Thread rerngvit
Github user rerngvit commented on the issue:

https://github.com/apache/zeppelin/pull/1077
  
@elbamos Thanks for your information. I found that moving 
"zeppelin-zrinterpreter-0.6.0-SNAPSHOT.jar" to under "interpreter/r" will 
resolve the issue and enable the registration process for Knitr and RRepl to 
take place. However, it would result in a different runtime error when trying 
to run an R paragraph. I think this issue should be waited until that dependant 
problem is resolved.


---
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 #1176: [Zeppelin 1165 : improve] Paragraph dynamic relationsh...

2016-07-13 Thread cloverhearts
Github user cloverhearts commented on the issue:

https://github.com/apache/zeppelin/pull/1176
  
update to description.

This feature ensures a certain execution order Notebook with each 
Interpreter.



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


[GitHub] zeppelin pull request #1181: ZEPPELIN-1168 Add http header X-Requested-By in...

2016-07-13 Thread r-kamath
GitHub user r-kamath opened a pull request:

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

ZEPPELIN-1168 Add http header X-Requested-By in post request to Livy for 
CSRF protection

### What is this PR for?
Add http header X-Requested-By in post request to Livy for CSRF protection

### What type of PR is it?
Improvement

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

### How should this be tested?
enable csrf_protection on livy and check for "CSRF protection is enabled" 
message in the Livy logs. If this header is missing Livy server will send the 
following error message "Missing Required Header for CSRF protection."

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


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

$ git pull https://github.com/r-kamath/zeppelin ZEPPELIN-1168

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

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


commit 3bae7a5e87fd614a1e90d0d5aa128a78c68342f0
Author: Renjith Kamath 
Date:   2016-07-13T11:11:21Z

ZEPPELIN-1168 Add http header X-Requested-By in post request to Livy 
Interpreter




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


[jira] [Created] (ZEPPELIN-1168) Add http header X-Requested-By in post request to Livy Interpreter

2016-07-13 Thread Renjith Kamath (JIRA)
Renjith Kamath created ZEPPELIN-1168:


 Summary: Add http header X-Requested-By in post request to Livy 
Interpreter
 Key: ZEPPELIN-1168
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1168
 Project: Zeppelin
  Issue Type: Improvement
Reporter: Renjith Kamath
Assignee: Renjith Kamath






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


[GitHub] zeppelin issue #1175: use static field logger instead of function

2016-07-13 Thread prabhjyotsingh
Github user prabhjyotsingh commented on the issue:

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


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


[GitHub] zeppelin pull request #1180: [ZEPPELIN-1059] Fix the Print CSS file

2016-07-13 Thread corneadoug
GitHub user corneadoug opened a pull request:

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

[ZEPPELIN-1059] Fix the Print CSS file

### What is this PR for?
While investigating the original issue, I discovered that the 
`printMode.css` file was never used before.
I changed it so it is taken into account when printing, and added some CSS 
to remove unnecessary components in the printing page.


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

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

### How should this be tested?
Try to print a Note with your web-browser and look at the preview.
There shouldn't be the Zeppelin Navbar or a weird Title hiding the content.

### Screenshots (if appropriate)
After this PR:
![screen shot 2016-07-13 at 7 16 50 
pm](https://cloud.githubusercontent.com/assets/710411/16800158/d275a8dc-492e-11e6-9230-bc56e7d029c1.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/corneadoug/incubator-zeppelin ZEPPELIN-1059

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

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


commit bb3542d135765ff123f69b74bf6ec2b1e77e66e7
Author: Damien CORNEAU 
Date:   2016-07-13T10:18:33Z

fix the print css




---
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 #1179: [ZEPPELIN-1109] Remove bootstrap dialog fade-in...

2016-07-13 Thread AhyoungRyu
GitHub user AhyoungRyu opened a pull request:

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

[ZEPPELIN-1109] Remove bootstrap dialog fade-in/out animation

### What is this PR for?
This PR will fix 
[ZEPPELIN-1109](https://issues.apache.org/jira/browse/ZEPPELIN-1109). 
I'm not sure this approach can be the best way for fixing this issue. So if 
anyone has better idea, please let me know. 

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

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

### How should this be tested?
1. Press `Enter` button right after clicking any bootstrap dialog (i.e. 
trash can icon in the notebook) 
-> Bootstrap dialog will be shown up multiple times
2. Apply this patch and [build 
`zeppelin-web`](https://github.com/apache/zeppelin/tree/master/zeppelin-web#configured-environment)
3. Try number 1 again -> you can see there is no fade animation so you 
don't have time interval to generate multi dialogs

### Screenshots (if appropriate)
 - Before 

![multiple_dialog](https://cloud.githubusercontent.com/assets/10060731/16799515/25973fb0-492c-11e6-981e-19d46db31520.gif)

 - After

![remove_animation](https://cloud.githubusercontent.com/assets/10060731/16799517/2980f6d4-492c-11e6-8a5a-905800665e9f.gif)

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



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

$ git pull https://github.com/AhyoungRyu/zeppelin ZEPPELIN-1109

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

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


commit 77c94eeaca732fed4410cf9a39ba4c86a7b6eb37
Author: AhyoungRyu 
Date:   2016-07-13T09:53:59Z

Remove bootstrap dialog animation by default




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


Re: Zeppelin 0.6.0 on CDH 5.7.1

2016-07-13 Thread Felix Cheung
Spark would need hive-site.xml be on CLASS_PATH, hence I'd suggest putting a 
copy under SPARK_HOME/conf. I don't recall zeppelin/conf is on, and that would 
probably be the reason why it wouldn't work.

Do you have the exception stack for %sql not working?


_
From: Benjamin Kim >
Sent: Monday, July 11, 2016 9:17 PM
Subject: Re: Zeppelin 0.6.0 on CDH 5.7.1
To: Felix Cheung >
Cc: >


That fixed the problem with using SQLContext in Scala code. The error below 
went away. But, using Spark SQL (%spark.sql) still gets the error below. Is 
there somewhere else hive-site.xml is needed?

Thanks,
Ben

On Jul 11, 2016, at 8:56 PM, Felix Cheung 
> wrote:

This error looks different - it doesn't have JavaDeserializationStream on the 
stack, instead it has hive.client.ClientWrapper.conf.

Do you still have hive-site.xml under SPARK_HOME/conf?


_
From: Benjamin Kim >
Sent: Monday, July 11, 2016 3:20 PM
Subject: Re: Zeppelin 0.6.0 on CDH 5.7.1
To: Felix Cheung >
Cc: >


It looks like not mismatched versions. I tried local[*] mode and got the same 
error again just for Spark SQL (SQLContext).

java.lang.NullPointerException
at org.apache.spark.sql.hive.client.ClientWrapper.conf(ClientWrapper.scala:205)
at 
org.apache.spark.sql.hive.client.ClientWrapper.client(ClientWrapper.scala:261)
at 
org.apache.spark.sql.hive.client.ClientWrapper$$anonfun$withHiveState$1.apply(ClientWrapper.scala:273)
at 
org.apache.spark.sql.hive.client.ClientWrapper.liftedTree1$1(ClientWrapper.scala:228)
at 
org.apache.spark.sql.hive.client.ClientWrapper.retryLocked(ClientWrapper.scala:227)
at 
org.apache.spark.sql.hive.client.ClientWrapper.withHiveState(ClientWrapper.scala:270)
at org.apache.spark.sql.hive.HiveQLDialect.parse(HiveContext.scala:65)
at org.apache.spark.sql.SQLContext$$anonfun$2.apply(SQLContext.scala:211)
at org.apache.spark.sql.SQLContext$$anonfun$2.apply(SQLContext.scala:211)
at 
org.apache.spark.sql.execution.SparkSQLParser$$anonfun$org$apache$spark$sql$execution$SparkSQLParser$$others$1.apply(SparkSQLParser.scala:114)
at 
org.apache.spark.sql.execution.SparkSQLParser$$anonfun$org$apache$spark$sql$execution$SparkSQLParser$$others$1.apply(SparkSQLParser.scala:113)
at scala.util.parsing.combinator.Parsers$Success.map(Parsers.scala:136)
at scala.util.parsing.combinator.Parsers$Success.map(Parsers.scala:135)
at 
scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:242)
at 
scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:242)
at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:222)
at 
scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1$$anonfun$apply$2.apply(Parsers.scala:254)
at 
scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1$$anonfun$apply$2.apply(Parsers.scala:254)
at scala.util.parsing.combinator.Parsers$Failure.append(Parsers.scala:202)
at 
scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1.apply(Parsers.scala:254)
at 
scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1.apply(Parsers.scala:254)
at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:222)
at 
scala.util.parsing.combinator.Parsers$$anon$2$$anonfun$apply$14.apply(Parsers.scala:891)
at 
scala.util.parsing.combinator.Parsers$$anon$2$$anonfun$apply$14.apply(Parsers.scala:891)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
at scala.util.parsing.combinator.Parsers$$anon$2.apply(Parsers.scala:890)
at 
scala.util.parsing.combinator.PackratParsers$$anon$1.apply(PackratParsers.scala:110)
at 
org.apache.spark.sql.catalyst.AbstractSparkSQLParser.parse(AbstractSparkSQLParser.scala:34)
at org.apache.spark.sql.SQLContext$$anonfun$1.apply(SQLContext.scala:208)
at org.apache.spark.sql.SQLContext$$anonfun$1.apply(SQLContext.scala:208)
at 
org.apache.spark.sql.execution.datasources.DDLParser.parse(DDLParser.scala:43)
at org.apache.spark.sql.SQLContext.parseSql(SQLContext.scala:231)
at org.apache.spark.sql.hive.HiveContext.parseSql(HiveContext.scala:333)
at org.apache.spark.sql.SQLContext.sql(SQLContext.scala:817)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at 
org.apache.zeppelin.spark.SparkSqlInterpreter.interpret(SparkSqlInterpreter.java:117)
at 
org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:94)
at 

[GitHub] zeppelin issue #930: Make path for .spark-dist folder always accessible [ZEP...

2016-07-13 Thread corneadoug
Github user corneadoug commented on the issue:

https://github.com/apache/zeppelin/pull/930
  
@echarles @bzz So is this Ready for merge?


---
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 #1178: [Zeppelin-1167] Group $scope.$on functions

2016-07-13 Thread corneadoug
GitHub user corneadoug opened a pull request:

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

[Zeppelin-1167] Group $scope.$on functions

### What is this PR for?
This is a small refactoring PR for zeppelin-web.
This is moving all the code's `$scope.$on` functions together at the end of 
each controller file.


### What type of PR is it?
Refactoring

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

### How should this be tested?
No test is needed, the code was just moved around

### 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/corneadoug/incubator-zeppelin ZEPPELIN-1167

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

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


commit fd35dbd4cf48a8b32e50c15d2b9f0c5e143f9ce9
Author: Damien CORNEAU 
Date:   2016-07-13T07:51:25Z

group .on functions at the end of the controllers

commit d82300437025856e592fea28316061e5c136f5e0
Author: Damien CORNEAU 
Date:   2016-07-13T07:52:01Z

Fix indentation in result-list controller




---
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-1167) Refactoring - Group $scope.$on functions at the bottom of controllers

2016-07-13 Thread CORNEAU Damien (JIRA)
CORNEAU Damien created ZEPPELIN-1167:


 Summary: Refactoring - Group $scope.$on functions at the bottom of 
controllers
 Key: ZEPPELIN-1167
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1167
 Project: Zeppelin
  Issue Type: Improvement
  Components: front-end
Reporter: CORNEAU Damien
Assignee: CORNEAU Damien
Priority: Minor
 Fix For: 0.7.0


This issue is a small refactoring of the zeppelin-web controllers.

This group all the $scope.$on functions together at the end of the controllers.



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


[GitHub] zeppelin issue #1176: [Zeppelin 1165 : improve] Paragraph dynamic relationsh...

2016-07-13 Thread cloverhearts
Github user cloverhearts commented on the issue:

https://github.com/apache/zeppelin/pull/1176
  
@AhyoungRyu 
It has been completed.
However, if the part you want, please tell us at any time.
Thank 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 #1176: [Zeppelin 1165 : improve] Paragraph dynamic relationsh...

2016-07-13 Thread cloverhearts
Github user cloverhearts commented on the issue:

https://github.com/apache/zeppelin/pull/1176
  
Test description modified.


---
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 #1162: [ZEPPELIN-909] Apply new mechanism to Elasticsearch in...

2016-07-13 Thread AhyoungRyu
Github user AhyoungRyu commented on the issue:

https://github.com/apache/zeppelin/pull/1162
  
@bzz CI is green now :)


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


[GitHub] zeppelin issue #1176: [Zeppelin 1165 : improve] Paragraph dynamic relationsh...

2016-07-13 Thread astroshim
Github user astroshim commented on the issue:

https://github.com/apache/zeppelin/pull/1176
  
Great feature! 
Can you add documents for this or please explain more detail to 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 #1177: change the jquery-ui css file name

2016-07-13 Thread corneadoug
GitHub user corneadoug opened a pull request:

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

change the jquery-ui css file name

### What is this PR for?
The Jquery-ui css file name changed between version and is now missing
![screen shot 2016-07-13 at 3 37 02 
pm](https://cloud.githubusercontent.com/assets/710411/16794236/707df05c-4911-11e6-8b11-e6bb385c23d0.png)

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

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

### How should this be tested?
You can run in a paragraph and click inside the input:
```
%angular

  $( function() {
$( "#datepicker" ).datepicker();
  } );

Date: 
```

### Screenshots (if appropriate)
Before:
![screen shot 2016-07-13 at 3 36 47 
pm](https://cloud.githubusercontent.com/assets/710411/16794252/88cd44d2-4911-11e6-8a8c-465d44302475.png)

After:
![screen shot 2016-07-13 at 3 37 59 
pm](https://cloud.githubusercontent.com/assets/710411/16794255/8b9a01fa-4911-11e6-802f-12868e48484b.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/corneadoug/incubator-zeppelin ZEPPELIN-1166

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

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


commit c1291be3c927871a0e79b0986519461ab71e4846
Author: Damien CORNEAU 
Date:   2016-07-13T06:48:14Z

change the jquery-ui css file name




---
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 #1176: [Zeppelin 1165 : improve] Paragraph dynamic relationsh...

2016-07-13 Thread AhyoungRyu
Github user AhyoungRyu commented on the issue:

https://github.com/apache/zeppelin/pull/1176
  
@cloverhearts Is this PR WIP?


---
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 #1176: [Zeppelin 1165 : improve] Paragraph dynamic rel...

2016-07-13 Thread cloverhearts
GitHub user cloverhearts opened a pull request:

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

[Zeppelin 1165 : improve]  Paragraph dynamic relationship executable form

### What is this PR for?
Through a dynamic form, you can execute the order in para graph.
There is a difference with traditional methods.
Please check the following flowchart.

![workflowdynamicformcontrol](https://cloud.githubusercontent.com/assets/10525473/16791726/a4b96ff0-48fc-11e6-8e23-9ec577066bb7.png)

** The results will have to succeed, the following paragraph will be 
executed. **

### What type of PR is it?
Improvement

### How should this be tested?

```
%md

${workflow:workflow=MyWorkflowName,NotebookId01:ParagraphId01|NotebookId02:ParagraphId02}
```

### Screenshots (if appropriate)

![2](https://cloud.githubusercontent.com/assets/10525473/16791758/ea6b66fc-48fc-11e6-99da-9674a8af10f5.gif)

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


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

$ git pull https://github.com/cloverhearts/zeppelin 
ZEPPELIN-1165-paragraph-relation-execution

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

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


commit 0d420ab3bc4576b6e9b5d770675f11b69ce4a8d2
Author: CloverHearts 
Date:   2016-07-13T06:27:59Z

implement backend for relation execution paragraph.

commit ff37526150ce7590c809bbb21285045f7ea98cb4
Author: CloverHearts 
Date:   2016-07-13T06:40:46Z

Implement frontend for relation execution paragraph

commit 8acab2eccd490141b6c9565fbe37214cf5b9dc02
Author: CloverHearts 
Date:   2016-07-13T06:43:19Z

remove log for devleop




---
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-1166) Missing Jquery-ui CSS

2016-07-13 Thread CORNEAU Damien (JIRA)
CORNEAU Damien created ZEPPELIN-1166:


 Summary: Missing Jquery-ui CSS
 Key: ZEPPELIN-1166
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1166
 Project: Zeppelin
  Issue Type: Bug
Reporter: CORNEAU Damien
Assignee: CORNEAU Damien
 Fix For: 0.7.0


There is a missing jquery-ui css message in the console.
It seems that the name of that file changed from one version to another.



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


[GitHub] zeppelin issue #1171: [ZEPPELIN-1150] Table contents disappear 2nd run onwar...

2016-07-13 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/1171
  
@corneadoug 413 and 473 "together" are alternative fix for ZEPPELIN-1078 
for better performance.

Without 413, applying 473 will bring ZEPPELIN-1078 problem again.


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


[GitHub] zeppelin issue #1172: [Zeppelin-1161] Revert precise execution time

2016-07-13 Thread AhyoungRyu
Github user AhyoungRyu commented on the issue:

https://github.com/apache/zeppelin/pull/1172
  
@corneadoug When I build this PR in my local, i got this jscs warnings. 

https://cloud.githubusercontent.com/assets/10060731/16793638/7b1dc450-490d-11e6-837d-8f271a40d049.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.
---


[GitHub] zeppelin pull request #1153: Block all routes except Home when user isn't lo...

2016-07-13 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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 #1172: [Zeppelin-1161] Revert precise execution time

2016-07-13 Thread AhyoungRyu
Github user AhyoungRyu commented on the issue:

https://github.com/apache/zeppelin/pull/1172
  
@corneadoug more graceful! Thanks for taking care of this 👍  


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


[GitHub] zeppelin issue #1171: [ZEPPELIN-1150] Table contents disappear 2nd run onwar...

2016-07-13 Thread corneadoug
Github user corneadoug commented on the issue:

https://github.com/apache/zeppelin/pull/1171
  
@Leemoonsoo I tested again, originally I was testing with previous `|| 
resultRefreshed`
473 does help the text rendering indeed. However I have the same 
improvement without 413 for both TABLE and TEXT types


---
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 #1171: [ZEPPELIN-1150] Table contents disappear 2nd run onwar...

2016-07-13 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/1171
  
@corneadoug I tried more and it looks like slowing down without 413 and 473 
change is not consistently reproducible.

Anyway, logically, 413 and 473 change reduce text rendering from
4 times (rendering 4 status change FINISHED -> PENDING -> RUNNING -> 
FINISHED)
to 
1 time (RUNNING -> FINISHED)

So, i'd like to keep it while it doesn't bring any side effect or increase 
complexity of code.


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