-
|
Hello, I'm trying to make ozone httpfs work through apache knox. I'm getting this error message when testing with curl :
I have these proxyuser settings in httpfs-site.xml :
The error message indicates the SPN was not converted to the user name with auth_to_local rules so I checked the auth_to_local rules and confirmed they are set :
ozone httpfs works fine when not going through knox. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
|
Not sure who can answer this -- @dombizita or @fapifta ? Also, try adding the proxyuser configurations in core-site.xml instead of httpfs-site.xml. Example: |
Beta Was this translation helpful? Give feedback.
-
|
Proxyuser confs are now in core-site.xml instead of httpfs-site.xml but the issue remains |
Beta Was this translation helpful? Give feedback.
-
|
Hi @sinedTr, I tried this and I needed to add a config for the user which should be allowed to perform doAs operations: ozone/hadoop-ozone/httpfsgateway/src/main/resources/httpfs-default.xml Lines 213 to 252 in b0236e1 Please let me know if this solved the issue for you. |
Beta Was this translation helpful? Give feedback.
Hi @sinedTr, I tried this and I needed to add a config for the user which should be allowed to perform doAs operations:
httpfs.proxyuser.USER.hostsandhttpfs.proxyuser.USER.groupswith respective values (I did it with*). It's not in our documentation sadly, we should add it, but we have it in thehttpfs-default.xmlhere.ozone/hadoop-ozone/httpfsgateway/src/main/resources/httpfs-default.xml
Lines 213 to 252 in b0236e1