Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
A backwards compatible manner we can fix this is to add a flag on the request which would disable the redirect, i.e.
curl -i -X PUT "http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=CREATE[&noredirect=<true|false>]
returns 200 with the DN location in the response.
This would allow the Browser clients to get the redirect URL to put the file to.