Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Can I install hadoop client on standby node?

avatar
New Member

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
New Member

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
New Member

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.