zeppelin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jongy...@apache.org
Subject incubator-zeppelin git commit: Zeppelin-472 ] Shortcuts execution bugs.
Date Mon, 07 Dec 2015 07:24:56 GMT
Repository: incubator-zeppelin
Updated Branches:
  refs/heads/master bb7705022 -> 52b41438b


Zeppelin-472 ] Shortcuts execution bugs.

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

If you use the Shift + Enter keys to execute the Paragraph,
If you continue to run while Paragraph enter the Shift + Enter key,
Paragraph enter that this is done constantly being requested RUNNING state.

Case)

Pragraph details

Scala) Thread.sleep (1000);
Key press running SHIFT + Enter * 10

Author: CloverHearts <estail7s@gmail.com>

Closes #496 from cloverhearts/bug_fix/ZEPPELIN-472 and squashes the following commits:

6158afd [CloverHearts] I changed 'brace syntax' In accordance with the coding style.
47eca0c [CloverHearts] Zeppelin-472 ] Shortcuts execution bugs.


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

Branch: refs/heads/master
Commit: 52b41438bea41b1b7ca605a7cdad80f6bd84c2a6
Parents: bb77050
Author: CloverHearts <estail7s@gmail.com>
Authored: Wed Dec 2 11:56:08 2015 +0900
Committer: Jongyoul Lee <jongyoul@apache.org>
Committed: Mon Dec 7 16:24:42 2015 +0900

----------------------------------------------------------------------
 zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/52b41438/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js
----------------------------------------------------------------------
diff --git a/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js b/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js
index 533b9d9..e8aa6ed 100644
--- a/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js
+++ b/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js
@@ -592,7 +592,9 @@ angular.module('zeppelinWebApp')
         exec: function(editor) {
           var editorValue = editor.getValue();
           if (editorValue) {
-            $scope.runParagraph(editorValue);
+            if (!($scope.paragraph.status === 'RUNNING' || $scope.paragraph.status === 'PENDING'))
{
+              $scope.runParagraph(editorValue);
+            }
           }
         },
         readOnly: false


Mime
View raw message