Repository: zeppelin
Updated Branches:
  refs/heads/branch-0.6 db6901cd5 -> ae67547b0


[ZEPPELIN-936] Fix flaky test SparkRTest

### What is this PR for?
This PR fixes test failure described in ZEPPELIN-936,
or hanging on SparkRTest

```
Spark version detected 1.6.1
23:52:30,005  INFO org.apache.zeppelin.notebook.Paragraph:252 - run paragraph 
20160623-235230_1368989448 using r 
org.apache.zeppelin.interpreter.LazyOpenInterpreter5221ff81

No output has been received in the last 10 minutes, this potentially indicates 
a stalled build or something wrong with the build itself.

The build has been terminated
```

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

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

Author: Lee moon soo <[email protected]>

Closes #1078 from Leemoonsoo/disable_flaky_test and squashes the following 
commits:

4872d66 [Lee moon soo] trigger ci
b5b7b83 [Lee moon soo] trigger ci
4f75ade [Lee moon soo] trigger ci
31a247c [Lee moon soo] trigger ci
9183e2a [Lee moon soo] trigger ci
582b6e1 [Lee moon soo] reduce spark.cores.max on testing

(cherry picked from commit 6497008cc309f88bd8816c3c3e374887db524aae)
Signed-off-by: Lee moon soo <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/ae67547b
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/ae67547b
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/ae67547b

Branch: refs/heads/branch-0.6
Commit: ae67547b0886cf09e54d995f1bc2afbc641a9207
Parents: db6901c
Author: Lee moon soo <[email protected]>
Authored: Thu Jun 23 23:52:29 2016 -0700
Committer: Lee moon soo <[email protected]>
Committed: Fri Jun 24 00:23:05 2016 -0700

----------------------------------------------------------------------
 .../test/java/org/apache/zeppelin/rest/AbstractTestRestApi.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zeppelin/blob/ae67547b/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 5ea3c09..7bedd28 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
@@ -127,8 +127,9 @@ public abstract class AbstractTestRestApi {
           }
         }
 
-        // set spark master
+        // set spark master and other properties
         sparkIntpSetting.getProperties().setProperty("master", "spark://" + 
getHostname() + ":7071");
+        sparkIntpSetting.getProperties().setProperty("spark.cores.max", "2");
 
         // set spark home for pyspark
         sparkIntpSetting.getProperties().setProperty("spark.home", 
getSparkHome());

Reply via email to