Open choralqiu opened 6 years ago
I got the same issue:
Running in non-interactive mode, and data appears to exist in
Storage Directory /hadoop/dfs/name. Not formatting.
--
Any fix @kimoonkim?
Edit: Nevermind, I've found this commit which fixes the issue: https://github.com/apache-spark-on-k8s/kubernetes-HDFS/pull/47/commits/aef9586ecc8551ca0f0a468c3b917d8c38f494a0
In HA mode, namenode will error out because /hadoop/dfs/name is not empty and can't be formatted in non-interactive mode. This will error out the namenode.
Some extra info/observations:
helm install -n my-hdfs charts/hdfs-k8s
to spin things up.