You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Env: hadoop 2.8.5
when use UploadFile() API,
hadoop will return "HTTP/1.1 100 Continue" before "HTTP/1.1 201 Created"
ExpectContinue need to be set true to get 201 otherwise EnsureSuccessStatusCode will throw an exception.
The text was updated successfully, but these errors were encountered:
Ah I see. I'm guessing this is without something like Apache Knox between your client and WebHDFS. I'm not sure if this is something where we can make sure we don't send the ExpectContinue header in the http client. I would hope the server doesn't just automatically return a "100 Continue" even if we don't ask for it. Can you put together a pull request to address the issue?
Env: hadoop 2.8.5
when use UploadFile() API,
hadoop will return "HTTP/1.1 100 Continue" before "HTTP/1.1 201 Created"
ExpectContinue need to be set true to get 201 otherwise EnsureSuccessStatusCode will throw an exception.
The text was updated successfully, but these errors were encountered: