sergeymazin edited a comment on issue #3396: [ZEPPELIN-4150] Livy interpreter session auto restart doesn't work with livy 0.6.0 URL: https://github.com/apache/zeppelin/pull/3396#issuecomment-508398553 @zjffdu Tested patch on Livy 0.5.1: ``` INFO [2019-07-04 08:32:32,106] ({pool-2-thread-6} LivySharedInterpreter.java[open]:49) - Use livy 0.5.1-incubating-SNAPSHOT ... INFO [2019-07-04 08:35:35,475] ({pool-2-thread-6} SchedulerFactory.java[jobStarted]:114) - Job 20190323-133531_1818472884 started by scheduler interpreter_213101417 ERROR [2019-07-04 08:35:35,509] ({pool-2-thread-6} BaseLivyInterpreter.java[callRestAPI]:713) - Error with 404 StatusCode: "Session '0' not found." WARN [2019-07-04 08:35:35,510] ({pool-2-thread-6} BaseLivyInterpreter.java[interpret]:395) - Livy session 0 is expired, new session will be created. ERROR [2019-07-04 08:35:35,513] ({pool-2-thread-6} BaseLivyInterpreter.java[callRestAPI]:713) - Error with 404 StatusCode: "Session '0' not found." INFO [2019-07-04 08:35:36,564] ({pool-2-thread-6} BaseLivyInterpreter.java[createSession]:349) - Session 1 is in state starting, appId null INFO [2019-07-04 08:35:37,567] ({pool-2-thread-6} BaseLivyInterpreter.java[createSession]:349) - Session 1 is in state starting, appId null ``` and on Livy 0.6.1: ``` INFO [2019-07-04 08:35:49,944] ({pool-2-thread-6} LivySharedInterpreter.java[open]:49) - Use livy 0.6.1-incubating-SNAPSHOT ... ERROR [2019-07-04 08:45:54,912] ({pool-2-thread-9} BaseLivyInterpreter.java[callRestAPI]:713) - Error with 404 StatusCode: {"msg":"Session '4171' not found."} WARN [2019-07-04 08:45:54,913] ({pool-2-thread-9} BaseLivyInterpreter.java[interpret]:395) - Livy session 4171 is expired, new session will be created. ERROR [2019-07-04 08:45:54,919] ({pool-2-thread-9} BaseLivyInterpreter.java[callRestAPI]:713) - Error with 404 StatusCode: {"msg":"Session '4171' not found."} INFO [2019-07-04 08:45:55,804] ({pool-2-thread-29} SchedulerFactory.java[jobFinished]:120) - Job 20190703-142443_622351006 finished by scheduler interpreter_1479759853 INFO [2019-07-04 08:45:55,945] ({pool-2-thread-9} BaseLivyInterpreter.java[createSession]:349) - Session 4177 is in state starting, appId null INFO [2019-07-04 08:45:56,313] ({pool-2-thread-8} SchedulerFactory.java[jobStarted]:114) - Job 20190703-164741_1795916431 started by scheduler interpreter_1479759853 INFO [2019-07-04 08:45:56,947] ({pool-2-thread-9} BaseLivyInterpreter.java[createSession]:349) - Session 4177 is in state starting, appId null INFO [2019-07-04 08:45:57,949] ({pool-2-thread-9} BaseLivyInterpreter.java[createSession]:349) - Session 4177 is in state starting, appId null INFO [2019-07-04 08:45:58,951] ({pool-2-thread-9} BaseLivyInterpreter.java[createSession]:349) - Session 4177 is in state starting, appId null INFO [2019-07-04 08:45:59,952] ({pool-2-thread-9} BaseLivyInterpreter.java[createSession]:349) - Session 4177 is in state starting, appId null
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services