I'm following this tutorial and I'm stuck when I want to create a new Jupyter Notebook (Python 3). The cluster is created using this command:
gcloud beta dataproc clusters create ${CLUSTER_NAME} \
--region=${REGION} \
--image-version=1.4 \
--master-machine-type=n1-standard-4 \
--worker-machine-type=n1-standard-4 \
--bucket=${BUCKET_NAME} \
--optional-components=ANACONDA,JUPYTER \
--enable-component-gateway
When I accessing the JupyterLab and try to create a new notebook I can see: and then
console works fine
Thanks in advance!
This is a consequence of the new feature to support storing notebooks either in GCS or on the local disk.
To enable that, the top-level directory inside of Jupyter (and JupyterLab) was made into a virtual, read-only directory that just links to the GCS and local disk locations via virtual subdirectories. The intention is that you choose a storage location by navigating this virtual file hierarchy.
So, if you try to create a file at the top-level, you will get an error because that top-level is read-only, but if you navigate into one of the subdirectories, then things will work as expected.
The user experience around this clearly needs to be improved, and that error message is not helpful at all, so we are working on improving the experience here.
However, if you choose one of the two storage options (by navigating into one of the subdirectories), then things should work as expected.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With