Support Questions

Find answers, ask questions, and share your expertise

HDP 2.5.3 Kerborized getting HTTP 401 error on Oozie UI only

avatar
Master Mentor

Oozie UI is the only one I'm getting 401 on, I enabled SPNEGO and configured my browser (Firefox) to accept the domain. Still getting 401 error. Any suggestions, issue is similar to https://community.hortonworks.com/questions/25915/oozie-ui-is-not-accessible-in-kerberised-cluster-t...

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Predrag Minovic I changed the following properties

oozie.service.ProxyUserService.proxyuser.ambari-server-mycluster.groups=*
oozie.service.ProxyUserService.proxyuser.ambari-server-mycluster.hosts=*

based on this jira https://issues.apache.org/jira/browse/FALCON-326 as I was getting error in oozie-error.log below

/admin/configuration?doAs=admin] error, User [ambari-server-mycluster] not defined as proxyuser
java.security.AccessControlException: User [ambari-server-mycluster] not defined as proxyuser
        at org.apache.oozie.service.ProxyUserService.validate(ProxyUserService.java:149)
        at org.apache.oozie.servlet.JsonRestServlet.getUser(JsonRestServlet.java:567)

now I'm able to load workflow manager, which was my intended goal though I didn't specify in the question but my Oozie UI still doesn't load but error message changed to

HTTP Status 401 - org.apache.hadoop.security.authentication.util.SignerException: Invalid signed text: 

this most likely has to do with all other properties I was messing with.

View solution in original post

4 REPLIES 4

avatar

If this is HA envrinonment, please follow steps mentioned here. https://community.hortonworks.com/articles/35019/oozie-ha-configuration-with-kerberos.html

avatar
Master Guru

Have you set in about:config "network.auth.use-sspi = false". SSPI is the default protocol used by Firefox on Windows. Also if Firefox runs in another (trusted) realm make sure Firefox negotiates with Oozie server in the right realm. And if you are on Mac you need Kerberos on Mac, which is pre-installed if you are on OS X 10.2 and later, otherwise you can get it from here, together with a matching krb5.conf file. Then you do kinit, and retry to access from Firefox.

avatar
Master Mentor

@Predrag Minovic I changed the following properties

oozie.service.ProxyUserService.proxyuser.ambari-server-mycluster.groups=*
oozie.service.ProxyUserService.proxyuser.ambari-server-mycluster.hosts=*

based on this jira https://issues.apache.org/jira/browse/FALCON-326 as I was getting error in oozie-error.log below

/admin/configuration?doAs=admin] error, User [ambari-server-mycluster] not defined as proxyuser
java.security.AccessControlException: User [ambari-server-mycluster] not defined as proxyuser
        at org.apache.oozie.service.ProxyUserService.validate(ProxyUserService.java:149)
        at org.apache.oozie.servlet.JsonRestServlet.getUser(JsonRestServlet.java:567)

now I'm able to load workflow manager, which was my intended goal though I didn't specify in the question but my Oozie UI still doesn't load but error message changed to

HTTP Status 401 - org.apache.hadoop.security.authentication.util.SignerException: Invalid signed text: 

this most likely has to do with all other properties I was messing with.

avatar
Master Mentor

I'll post this as separate question