Hi, all
Currently, we are using IPython Notebook + Spark 1.6.1, and I just found in default situation, a kernel would autostart if it dies, I found this configuration parameter in ipython_notebook_config.py file, set the value to be False, like following:
# Should we autorestart the kernel if it dies.
c.KernelManager.autorestart = False
but anytime I kill the kernel process, it still will autostart:16/08/18 08:02:55 INFO SparkContext: Successfully stopped SparkContext
16/08/18 08:02:55 INFO ShutdownHookManager: Shutdown hook called
16/08/18 08:02:55 INFO SparkContext: Successfully stopped SparkContext
16/08/18 08:02:55 INFO ShutdownHookManager: Shutdown hook called
16/08/18 08:02:55 INFO ShutdownHookManager: Deleting directory /tmp/1098e87d-99ef-4f53-8f0d-67f2403a677e/spark-b12c6466-d9ca-4155-a8a2-aede2b213744
16/08/18 08:02:55 INFO RemoteActorRefProvider$RemotingTerminator: Shutting down remote daemon.
16/08/18 08:02:55 INFO ShutdownHookManager: Deleting directory /tmp/1098e87d-99ef-4f53-8f0d-67f2403a677e/spark-b12c6466-d9ca-4155-a8a2-aede2b213744/pyspark-d5fec37d-85e8-491e-b7e4-22b95e04aa48
16/08/18 08:02:55 INFO ShutdownHookManager: Deleting directory /tmp/1098e87d-99ef-4f53-8f0d-67f2403a677e/spark-896417f0-f565-4c0c-a9ef-c9e81724afb7/pyspark-3754abd6-d18b-46ab-bb7c-f7a8ed6f7ae5
16/08/18 08:02:55 INFO ShutdownHookManager: Deleting directory /tmp/1098e87d-99ef-4f53-8f0d-67f2403a677e/spark-896417f0-f565-4c0c-a9ef-c9e81724afb7
16/08/18 08:02:55 INFO RemoteActorRefProvider$RemotingTerminator: Remote daemon shut down; proceeding with flushing remote transports.
16/08/18 08:02:55 INFO RemoteActorRefProvider$RemotingTerminator: Shutting down remote daemon.
16/08/18 08:02:55 INFO RemoteActorRefProvider$RemotingTerminator: Remote daemon shut down; proceeding with flushing remote transports.
[I 08:02:56.580 NotebookApp] KernelRestarter: restarting kernel (1/5)
WARNING:root:kernel 372cdeb7-5a0b-4792-94e5-883ca4e46d40 restarted
[I 08:02:56.814 NotebookApp] KernelRestarter: restarting kernel (1/5)
Could anyone tell me how to disable this feature? am I miss some other configuration parameters?
Thanks in advance!