-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request) #20
Comments
I'm assuming this is related to PR #19 and this is after you added your change for EnsureSuccessStatusCode()? |
What changes are to be added to EnsureSuccessStatusCode()? to WebHDFSClient code. But I still get the same error? Can you share what changes needs to be done for EnsureSuccessStatusCode()? |
In my case the exeception is coming before EnsureSuccessStatusCode() is invoked.
|
So these are the curl equivalents which is working to upload the file Step 2:
How do I set the following in the code:
I am new to C#, so this is bit tricky. Appreciate your guidance. |
I do not have .Net framework 4.7 and 4.7.1 on my machine so I removed these two targets in the csproj and ran it, got this exception.
I got this exception when I run the WebHDFS.Example code.
The text was updated successfully, but these errors were encountered: