Skip to content

Services for datanode pods incorrect #16

@pwharned

Description

@pwharned

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions