Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

[Pylon] WebHDFS library compatibility #2134

Merged
merged 2 commits into from
Feb 13, 2019

Conversation

Gerhut
Copy link
Member

@Gerhut Gerhut commented Feb 12, 2019

Fixed #1674

  • Python HDFS client and HdfsCLI hard-coded the webhdfs prefix (/webhdfs/v1) and do not provide documented way to change them, we make (/webhdfs /webhdfs/v1 ) alias of (/webhdfs /api/v1 ) for easier use.
  • Python HDFS client have an assertion of empty response body in 307 response, but nginx automatically adds a simple html in 307 response, we cleared it to be compatible to the library.

@coveralls
Copy link

Coverage Status

Coverage decreased (-18.6%) to 52.904% when pulling ee96aff on qixcheng/pylon/webhdfs-library-compat into 947de1f on master.

@Gerhut Gerhut merged commit 35b9228 into master Feb 13, 2019
@Gerhut Gerhut deleted the qixcheng/pylon/webhdfs-library-compat branch February 13, 2019 08:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong WebHDFS 307 redirection in Pylon
3 participants