When using Jupyterhub application interface (via SSH tunneling) on Amazon EMR, the default file explorer says /user/jovyan/tree
. What directory is this and how can I save a file (say a matplotlib figure) from within the notebook to this local space? The usual tricks like
os.chdir(sys.path[0])
print(os.getcwd())
show /mnt/tmp
, which does not actually appear to be the local directory.