Pietro Pugni created ZEPPELIN-2515: -------------------------------------- Summary: spark.r interpreter becomes unresponsive after some time and R process quits silently Key: ZEPPELIN-2515 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2515 Project: Zeppelin Issue Type: Bug Components: Interpreters, r-interpreter Affects Versions: 0.7.1, 0.7.0 Environment: Ubuntu 16.04.2 LTS Server Reporter: Pietro Pugni
On Zeppelin 0.7.1 R process quits/crash/gets killed but Spark session remain active, so %spark.r interpreter needs to be restarted. On 0.7.0 sometimes restarting the interpreter doesn't work, so Zeppelin requires a full restart. These are the steps I followed to produce this behaviour: 1) Enable log4j debug properties. 2) Start a brand new instance of zeppelin issuing: service zeppelin start 3) Open an existing notebook or create a new one and execute this block of code: %spark.r 2+2 4) Wait for 3) to finish and close the browser. The zeppelin log should report something like this: INFO [2017-05-08 12:26:15,879] ({qtp423031029-60} NotebookServer.java[onClose]:363) - Closed connection to 127.0.0.1 : 33798. (1001) null 5) Wait several minutes without using zeppelin and without reconnecting via browser and at a certain point R will quit. The interpreter log file should contain something similar to these lines: DEBUG [2017-05-08 13:08:00,187] ({Exec Stream Pumper} InterpreterOutputStream.java[processLine]:72) - Interpreter output:Error in handleErrors(returnStatus, conn) : DEBUG [2017-05-08 13:08:00,188] ({Exec Stream Pumper} InterpreterOutputStream.java[processLine]:72) - Interpreter output: No status is returned. Java SparkR backend might have failed. DEBUG [2017-05-08 13:08:00,188] ({Exec Stream Pumper} InterpreterOutputStream.java[processLine]:72) - Interpreter output:Calls: <Anonymous> -> invokeJava -> handleErrors DEBUG [2017-05-08 13:08:00,188] ({Exec Stream Pumper} InterpreterOutputStream.java[processLine]:72) - Interpreter output:Execution halted This issue has been discussed here: https://lists.apache.org/thread.html/17d8bbea0b755a9cf866a6d78909493d63b09bfa92a477bc0e28bc1c@%3Cusers.zeppelin.apache.org%3E -- This message was sent by Atlassian JIRA (v6.3.15#6346)