hokstack / hok-helm

HokStack - Run Hadoop Stack on Kubernetes
https://hokstack.io
Other
24 stars 8 forks source link

Services for datanode pods incorrect #16

Open pwharned opened 3 years ago

pwharned commented 3 years ago

Using WebHDFS to access HDFS does not work because of the way the services are set up for datanode-1 and datanode-2

Screen Shot 2021-01-29 at 4 18 57 PM

I put an nginx proxy in front to handle redirects. - you see that requests to datanode-1 and 2 time out.

I fixed this by editing the service yaml for datanode-1 and 2

kubectl edit svc datanode-1 from

selector:
   pod_name: datanode-1

to

selector:
  app: datanode

datenode-0 had the correct selector.