You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by mi...@apache.org on 2016/09/26 01:34:33 UTC
zeppelin git commit: [HOTFIX] Fix CI on branch-0.6
Repository: zeppelin
Updated Branches:
refs/heads/branch-0.6 7d8bcbb30 -> e2187f2e5
[HOTFIX] Fix CI on branch-0.6
### What is this PR for?
Set `zeppelin.home` property to avoid NullPointer Exception for `getSparkHome` method.
```
Results :
Tests in error:
InterpreterRestApiTest.init:54->AbstractTestRestApi.startUp:163->AbstractTestRestApi.getSparkHome:211 » NullPointer
CredentialsRestApiTest.init:39->AbstractTestRestApi.startUp:163->AbstractTestRestApi.getSparkHome:211 » NullPointer
ZeppelinRestApiTest.init:56->AbstractTestRestApi.startUp:163->AbstractTestRestApi.getSparkHome:211 » NullPointer
NotebookRestApiTest.init:54->AbstractTestRestApi.startUp:163->AbstractTestRestApi.getSparkHome:211 » NullPointer
SecurityRestApiTest.init:44->AbstractTestRestApi.startUp:163->AbstractTestRestApi.getSparkHome:211 » NullPointer
ConfigurationsRestApiTest.init:39->AbstractTestRestApi.startUp:163->AbstractTestRestApi.getSparkHome:211 » NullPointer
ZeppelinSparkClusterTest.init:48->AbstractTestRestApi.startUp:163->AbstractTestRestApi.getSparkHome:211 » NullPointer
NotebookServerTest.init:63->AbstractTestRestApi.startUp:163->AbstractTestRestApi.getSparkHome:211 » NullPointer
Tests run: 23, Failures: 0, Errors: 8, Skipped: 0
```
https://s3.amazonaws.com/archive.travis-ci.org/jobs/162374466/log.txt
### What type of PR is it?
Hot Fix
### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no
Author: Mina Lee <mi...@apache.org>
Closes #1456 from minahlee/fixCI and squashes the following commits:
874a503 [Mina Lee] set zeppelin.home property
Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/e2187f2e
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/e2187f2e
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/e2187f2e
Branch: refs/heads/branch-0.6
Commit: e2187f2e5326b7196762424504526a5187ffa563
Parents: 7d8bcbb
Author: Mina Lee <mi...@apache.org>
Authored: Sun Sep 25 03:39:48 2016 +0900
Committer: Mina Lee <mi...@apache.org>
Committed: Mon Sep 26 10:34:25 2016 +0900
----------------------------------------------------------------------
.../src/test/java/org/apache/zeppelin/rest/AbstractTestRestApi.java | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/zeppelin/blob/e2187f2e/zeppelin-server/src/test/java/org/apache/zeppelin/rest/AbstractTestRestApi.java
----------------------------------------------------------------------
diff --git a/zeppelin-server/src/test/java/org/apache/zeppelin/rest/AbstractTestRestApi.java b/zeppelin-server/src/test/java/org/apache/zeppelin/rest/AbstractTestRestApi.java
index 371211a..34b0cc5 100644
--- a/zeppelin-server/src/test/java/org/apache/zeppelin/rest/AbstractTestRestApi.java
+++ b/zeppelin-server/src/test/java/org/apache/zeppelin/rest/AbstractTestRestApi.java
@@ -102,6 +102,7 @@ public abstract class AbstractTestRestApi {
protected static void startUp() throws Exception {
if (!wasRunning) {
+ System.setProperty(ZeppelinConfiguration.ConfVars.ZEPPELIN_HOME.getVarName(), "../");
LOG.info("Staring test Zeppelin up...");