Skip to content

HDFS: Clients connect to standby NameNode #68

Answered by nightkr
rajarshp asked this question in Q&A
Discussion options

You must be logged in to vote

Hey!

HDFS expects every client to know the full list of namenodes, and then it is the responsibility of each client to pick and use the active NN. (See here.)

Normally we configure this for you if you use our generated discovery ConfigMaps, but otherwise you will need to configure something similar manually. If our generated configuration isn't suitable for your use case then we'd love to hear why.

Side note: your ListenerClasses look slightly backwards. Generally, you'd want to use LoadBalancer-powered external-stable listeners for namenodes (to avoid configuration churn), but NodePort-powered external-unstable listeners for datanodes (since LoadBalancer traffic tends to be more expensiv…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by rajarshp
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@nightkr
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants