GCP dataproc - HDFS gets deleted automatically when you terminate the dataproc cluster. How to make it persistent HDFS even if you delete the dataproc cluster it should not delete the HDFS? Is it possible?
GCP dataproc - HDFS gets deleted automatically when you terminate the dataproc cluster. How to make it persistent HDFS even if you delete the dataproc cluster it should not delete the HDFS? Is it possible?
Google Cloud Storage can be used. The connector for this is installed by default in Dataproc. When you shut down a Hadoop cluster, unlike HDFS, you continue to have access to your data in Cloud Storage. How to use Cloud-Storage connector
when you are creating a dataproc cluster in GCP , it uses the Hadoop Distributed File System (HDFS) for storage.
According to your Statement when you are terminating a dataproc cluster you HDFS gets automatically deleted , this happens if you are using VM Disks.
HDFS data and intermediate shuffle data is stored on VM boot disks, which are Persistent Disks if no Local SSD are Provided.
If Local SSD are Attached HDFS will stay in SSD and will not get deleted. VM Boot disks are deleted when the cluster is deleted.
you can check this documentation also to avoid loss of HDFS using VM disk in dataproc.