Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Can I install hadoop client on standby node?

avatar
Contributor

Hi,

I've install hadoop on 4 nodes. Node 1 and Node 4 are Namenode and standbynode with high availability. I've installed hadoop client on all 4 nodes. When I try to execute command on StandbyNode, "hadoop fs -text myfile.txt", I'm getting error "text: java.lang.NullPointerException". I can execute the same command on other 3 nodes.

I'm aware Namenode and Standbynode are master nodes and we don't install hadoop client on master nodes in production environment. However, I'm doing this in my test environment (for learning purpose) and I would like to know if there is any specific reason why I cannot execute "hadoop fs -text myfile.txt" on standby node.

PS: I can execute -ls, -mkdir, -chmod commands successfully on standby node.

Many thanks in advance.

1 ACCEPTED SOLUTION

avatar
Contributor

Apologies for the question. Found the solution. It was due to rack-topology.sh. We placed the correct file on Standby Node and everything is working fine now. Thanks.

View solution in original post

1 REPLY 1

avatar
Contributor

Apologies for the question. Found the solution. It was due to rack-topology.sh. We placed the correct file on Standby Node and everything is working fine now. Thanks.