Thank you Sanjeev, let me check that option Regards, Kamaraj InfoSight - SRE
From: संजीव (Sanjeev Tripurari)<mailto:sanjeevtripur...@gmail.com> Sent: Monday, August 24, 2020 10:14 AM To: Muthupandiyan, Kamaraj<mailto:kamaraj.muthupandi...@hpe.com> Cc: user@hadoop.apache.org<mailto:user@hadoop.apache.org> Subject: Re: setting up Load balancer for name nodes Hi In LB see if you can have health check script, if yes, then write a script which responds OK for the node which is active namenode, you can query namenode JMX to figure out active one. Hope it helps. Regards -Sanjeev On Fri, 21 Aug 2020 at 23:32, Muthupandiyan, Kamaraj <kamaraj.muthupandi...@hpe.com<mailto:kamaraj.muthupandi...@hpe.com>> wrote: Hello team, I need to configure LB for our name node setup and we are using Hadoop 2.9.2 . I was going through the docs from https://hadoop.apache.org/docs/r3.3.0/hadoop-project-dist/hadoop-hdfs/HDFSHighAvailabilityWithQJM.html<https://hadoop.apache.org/docs/r3.3.0/hadoop-project-dist/hadoop-hdfs/HDFSHighAvailabilityWithQJM.html> and found the below option, but whenever I am using the HTTP endpoints as mentioned below I am getting 404 response If you are running a set of NameNodes behind a Load Balancer (e.g. Azure<https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-custom-probe-overview> or AWS<https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-healthchecks.html> ) and would like the Load Balancer to point to the active NN, you can use the /isActive HTTP endpoint as a health probe. http://NN_HOSTNAME/isActive<http://nn_hostname/isActive> will return a 200 status code response if the NN is in Active HA State, 405 otherwise. Regards, Kamaraj