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.
Unfortunately, activation email could not send to your email. Please try again.

High Availability with web request

Thread ID:

Created:

Updated:

Platform:

Replies:

129179 Mar 2,2017 07:34 AM Mar 6,2017 06:21 AM Big Data Platform 1
loading
Tags: General
Shadi
Asked On March 2, 2017 07:34 AM

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

Aravindraja Thinakaran [Syncfusion]
Replied On March 6, 2017 06:21 AM

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. 

Thanks, 
Aravindraja T

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;