We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

High Availability with web request

About the sample WebHDFS.sln
That is found in syncfusion samples folder 
Does it handle the state of name node failure
I have tested it with my cluster but It doesn't
What should I add in order to let the cluster continue working when there is name node fail over ,what about High Availability with rest api used

1 Reply

AT Aravindraja Thinakaran Syncfusion Team March 6, 2017 11:21 AM UTC

Hi Shadi, 

The Cluster will be running high availability with one active NameNode and within a cluster we have no trouble executing commands against an HA NameNode using the NameServiceID. 
When we are accessing the cluster from external client application, it should be handled by the client application. 

The approach will be like below, 
·         Get the primary and secondary NameNode IP from user. 
·         Check the NameNode active state periodically and update primary IP.  
·         If primary NameNode is failed, then check the secondary NameNode IP status. 
·         Change the hostname if secondary IP is active and continue the operations. 

Please refer the below Web HDFS sample with high availability cluster connection support. 

Aravindraja T

Live Chat Icon For mobile
Up arrow icon