Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
Jupyter Python Notebooks Logs
Solution:
In some cases, such as when a job hangs in the cluster, the Notebook in Chorus does not give any notification that an issue is present. If you expect your Notebook has been running for too long, you can interrupt or restart the kernel and check the jupyter.log file for more information. To do this, follow the steps below.
- First you must stop the kernel. Click the 'kernel' tab at the top of the Notebook, and choose to either restart or interrupt.
-
Run the below command in your Notebook to return the logs.
import subprocess print subprocess.check_output("cat $CHORUS_NOTEBOOK_HOME/jupyter.log", shell=True)
Comments
0 comments
Article is closed for comments.