Query |
Response | ||||||||||||
Should data node failure be handled from project too? |
No. we don’t want to handle it from the client side project.
It should be handled by Name Node itself. The reason to redirect to dead node(here dn2) sometimes is that the Name Node takes certain amount of time to mark the node as dead based on the below mentioned properties. The default time that takes to mark any dead node is 10 minutes. But you can change it as needed in Hdfs-site.xml using cluster manager by referring this link.
| ||||||||||||
how to specify the node that we should redirect too? |
By default we can’t do that and it is not recommended too.
Recommendation is let Name Node handle it. | ||||||||||||
offset value in upload request? |
We have created a custom sample for your requirement. In the sample, enter the offset value of a uploading file. It will upload a file with text starting from the given offset value.
Sample:
Note:
We can set offset value request only for file Open type operations. Upload operations does not include open operation.
For example:
Please find more details about offset in the following link
|