Why Namenode is not coming UP in HDFS on kubernetes

10/11/2021

I tried running HDFS on k8s using this project. I got journal node and zookeeper Up and running but if I see namenode it is not going to Error state

image

If I look after the logs I see it as hostname could not be resolved. Then I tried seeing the /etc/hosts entry of the file on the boot up script, IP and hostname for name is not set

image

I'm not using any customized image just using the same helm charts as it was. What should I need to do If I want name node to be up and running

Helm Chart Link: https://github.com/apache-spark-on-k8s/kubernetes-HDFS/tree/master/charts

-- Prasith Prabhu
hadoop
hdfs
kubernetes
kubernetes-helm

0 Answers