You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by zj...@apache.org on 2017/04/20 05:56:51 UTC

zeppelin git commit: [HOTFIX] Fix compilation issue

Repository: zeppelin
Updated Branches:
  refs/heads/master 19b0f30f8 -> 8dd1fb184


[HOTFIX] Fix compilation issue

### What is this PR for?

Fix the compilation issue due to #2233

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

### Todos
* [ ] - Task

### How should this be tested?
Outline the steps to test the PR here.

### Screenshots (if appropriate)

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

Author: Jeff Zhang <zj...@apache.org>

Closes #2266 from zjffdu/hotfix and squashes the following commits:

43e7cd9 [Jeff Zhang] [HOTFIX] Fix compilation issue


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

Branch: refs/heads/master
Commit: 8dd1fb184579621133f3212b07b074ee42271bb7
Parents: 19b0f30
Author: Jeff Zhang <zj...@apache.org>
Authored: Thu Apr 20 13:20:13 2017 +0800
Committer: Jeff Zhang <zj...@apache.org>
Committed: Thu Apr 20 13:56:42 2017 +0800

----------------------------------------------------------------------
 .../java/org/apache/zeppelin/rest/ZeppelinSparkClusterTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zeppelin/blob/8dd1fb18/zeppelin-server/src/test/java/org/apache/zeppelin/rest/ZeppelinSparkClusterTest.java
----------------------------------------------------------------------
diff --git a/zeppelin-server/src/test/java/org/apache/zeppelin/rest/ZeppelinSparkClusterTest.java b/zeppelin-server/src/test/java/org/apache/zeppelin/rest/ZeppelinSparkClusterTest.java
index ed84caf..ec0e0bd 100644
--- a/zeppelin-server/src/test/java/org/apache/zeppelin/rest/ZeppelinSparkClusterTest.java
+++ b/zeppelin-server/src/test/java/org/apache/zeppelin/rest/ZeppelinSparkClusterTest.java
@@ -519,7 +519,7 @@ public class ZeppelinSparkClusterTest extends AbstractTestRestApi {
     @Test
     public void testPySparkZeppelinContextDynamicForms() throws IOException {
         Note note = ZeppelinServer.notebook.createNote(anonymous);
-        Paragraph p = note.addParagraph(AuthenticationInfo.ANONYMOUS);
+        Paragraph p = note.addNewParagraph(AuthenticationInfo.ANONYMOUS);
         note.setName("note");
         Map config = p.getConfig();
         config.put("enabled", true);