Skip to content

Commit 60da1c3

Browse files
author
astroshim
committed
fix condition
1 parent ee2a29b commit 60da1c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spark/src/main/java/org/apache/zeppelin/spark/PySparkInterpreter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ public InterpreterResult interpret(String st, InterpreterContext context) {
317317
long startTime = System.currentTimeMillis();
318318
while (pythonScriptInitialized == false
319319
&& pythonscriptRunning
320-
&& System.currentTimeMillis() - startTime > MAX_TIMEOUT_SEC * 1000) {
320+
&& System.currentTimeMillis() - startTime < MAX_TIMEOUT_SEC * 1000) {
321321
try {
322322
pythonScriptInitializeNotifier.wait(1000);
323323
} catch (InterruptedException e) {

0 commit comments

Comments
 (0)