Skip to content
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

[api] Add HDFS configuration endpoint and related functionality #3983

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Harshg999
Copy link
Collaborator

What changes were proposed in this pull request?

  • Removed extra response fields from the /list API and created a new /config API only for HDFS. This way we can use the new API only when HDFS is configured and it will not clutter the response for /list for all filesystems.
  • Trash is also configurable now to make it easier to enable and test locally. Although it is recommended we read the values from core-site.xml in the prod deployments so be at better sync with the running HDFS service. Because of this reason, I've not added the config explicitly in the .ini files and also we are dynamically defaulting always to the core-site.xml value.

How was this patch tested?

  • Manually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant