diff --git a/zeppelin-web/src/app/interpreter/interpreter-create/interpreter-create.html b/zeppelin-web/src/app/interpreter/interpreter-create/interpreter-create.html index 2638dd84e3..9013aabf66 100644 --- a/zeppelin-web/src/app/interpreter/interpreter-create/interpreter-create.html +++ b/zeppelin-web/src/app/interpreter/interpreter-create/interpreter-create.html @@ -37,45 +37,165 @@ limitations under the License.
Option
- - - - - - - - - - -
+
+
+ The interpreter will be instantiated + + + + + in + + + + + process. + + + + + +
+
+   +
+
+
+
+ + + And + + + + in + + + + + process. + + +
+
+
diff --git a/zeppelin-web/src/app/interpreter/interpreter.html b/zeppelin-web/src/app/interpreter/interpreter.html index e0e861343b..ce716d5341 100644 --- a/zeppelin-web/src/app/interpreter/interpreter.html +++ b/zeppelin-web/src/app/interpreter/interpreter.html @@ -250,62 +250,62 @@ limitations under the License.  
-
-
- - - - And - - - - in - - - - - process. - + in + + + + + process. +
-
-   -
diff --git a/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Paragraph.java b/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Paragraph.java index 183da2fe55..a1daeb5471 100644 --- a/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Paragraph.java +++ b/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Paragraph.java @@ -293,9 +293,12 @@ public class Paragraph extends Job implements Serializable, Cloneable { logger.error("Can not find interpreter name " + repl); throw new RuntimeException("Can not find interpreter for " + getRequiredReplName()); } - + InterpreterSetting intp = getInterpreterSettingById(repl.getInterpreterGroup().getId()); + while (intp.getStatus().equals( + org.apache.zeppelin.interpreter.InterpreterSetting.Status.DOWNLOADING_DEPENDENCIES)) { + Thread.sleep(200); + } if (this.noteHasUser() && this.noteHasInterpreters()) { - InterpreterSetting intp = getInterpreterSettingById(repl.getInterpreterGroup().getId()); if (intp != null && interpreterHasUser(intp) && isUserAuthorizedToAccessInterpreter(intp.getOption()) == false) {