Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Hadoop WebHDFS REST API disable default user

New Contributor

I am running a pseudo-distributed hadoop system. When I put some data using a REST API to HDFS without setting in a post request a default user dr.who is used.


The documentation says If the parameter is not set, the server may either set the authenticated user to a default web user, if there is any, or return an error response.


How I can enforce the service to return an error response instead of using the default user. I am quite affraid that everybody can put whatever he wants as a default user.


Super Collaborator

Well to be "fair" if you have not kerberos configured anyone can do anything using the API.

Since you just need to "tell" the API you are "HDFS" (without showing a proof of it) for doing whatever you want.






Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.