i have a syncfusion cluster that consists of four nodes
mn1,mn2 , dn1 and dn2
and i have asked before about high availability with webhdfs request in this question
https://www.syncfusion.com/forums/129179/high-availability-with-web-request
so if we want to upload a file called myfile under hadoophome
we should issue the url
http://mn1:50070/webhdfs/v1/hadoophome/myfile/?user.name=root&op=OPEN
and in the state of name node failure we have to handle that from client application as you mentioned and it worked well
but what about the state of data node failure
suppose that dn2 is off and I issued upload request from my project to active name node mn1 so mn1 should redirect this request to dn1 (I mean to live nodes only)
but it redirects it to dn1 some times and the request successes
and sometimes to dn2 and the request fails with request time out
should data node failure be handled from project too ,and how to specify the node that we should redirect too and offset value in upload request
any help please ؟