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

HDFS HttpFS Authentication errors using current chart version #40

Closed
loicdescotte opened this issue Dec 15, 2020 · 2 comments · Fixed by #43
Closed

HDFS HttpFS Authentication errors using current chart version #40

loicdescotte opened this issue Dec 15, 2020 · 2 comments · Fixed by #43

Comments

@loicdescotte
Copy link

When I install the current chart version like this :

helm install hdfs gradiant/hdfs, I am unable to use httpfs to create directories or files :

http://httpfs-host/webhdfs/v1/user/loic/test?op=MKDIRS&user.name=loic gives me a 500 Internal Server Error :

{
"RemoteException": {
"message": "User: hdfs is not allowed to impersonate loic",
"exception": "RemoteException",
"javaClassName": "org.apache.hadoop.ipc.RemoteException"
}
}

However, it is working when I'm using the 0.1.0 version like this :

helm install hdfs https://github.com/Gradiant/charts/releases/download/hdfs-0.1.0/hdfs-0.1.0.tgz

@cgiraldo
Copy link
Member

Hi loic,

There is a bug in the user impersonation configuration. We have changed the default admin user in hdfs image from rootto hdfs, but we have not updated the corresponding core-site.xml configuration to let hdfs user to impersonate other users.

With the latest release it should work.

@loicdescotte
Copy link
Author

Thanks for the update!

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

Successfully merging a pull request may close this issue.

2 participants