Created on 05-23-2016 07:49 PM - edited 08-17-2019 12:16 PM
.
.
Please refer https://community.hortonworks.com/articles/183/moving-oozie-to-mysql-with-ambari.html for steps to migrate Oozie database.
.
.
Please refer below screenshot, for e.g. I will add oozie server on kk3.hwxblr.com
Please refer this blogpost for setting up lightweight open source linux based load balancer.
Please refer our blog for automated Kerberos configuration.
oozie.zookeeper.connection.string=<zookeeper1>:2181,<zookeeper2>:2181,<zookeeper3>:2181 oozie.services.ext=org.apache.oozie.service.ZKLocksService,org.apache.oozie.service.ZKXLogStreamingService,org.apache.oozie.service.ZKJobsConcurrencyService oozie.base.url=http://<loadbalancer.hostname>:11000/oozie oozie.authentication.kerberos.principal=*
for example:
export OOZIE_BASE_URL="http://<loadbalance.hostname>:11000/oozie"
kadmin.local -q "addprinc -randkey HTTP/<loadbalancer_hostname>@<realm>"
[root@kk4 ~]# klist -ket /etc/security/keytabs/spnego.service.keytab Keytab name: FILE:/etc/security/keytabs/spnego.service.keytab KVNO Timestamp Principal ---- ----------------- -------------------------------------------------------- 3 05/03/16 16:42:43 HTTP/kk4.hwxblr.com@HWX.COM (aes256-cts-hmac-sha1-96) 3 05/03/16 16:42:43 HTTP/kk4.hwxblr.com@HWX.COM (aes128-cts-hmac-sha1-96) 3 05/03/16 16:42:43 HTTP/kk4.hwxblr.com@HWX.COM (des3-cbc-sha1) 3 05/03/16 16:42:43 HTTP/kk4.hwxblr.com@HWX.COM (arcfour-hmac) 3 05/03/16 16:44:05 HTTP/kk2.hwxblr.com@HWX.COM (aes256-cts-hmac-sha1-96) 3 05/03/16 16:44:05 HTTP/kk2.hwxblr.com@HWX.COM (aes128-cts-hmac-sha1-96) 3 05/03/16 16:44:05 HTTP/kk2.hwxblr.com@HWX.COM (des3-cbc-sha1) 3 05/03/16 16:44:05 HTTP/kk2.hwxblr.com@HWX.COM (arcfour-hmac) 4 05/03/16 16:43:18 HTTP/test1-ambari-server.hwxblr.com@HWX.COM (aes256-cts-hmac-sha1-96) 4 05/03/16 16:43:18 HTTP/test1-ambari-server.hwxblr.com@HWX.COM (aes128-cts-hmac-sha1-96) 4 05/03/16 16:43:18 HTTP/test1-ambari-server.hwxblr.com@HWX.COM (des3-cbc-sha1) 4 05/03/16 16:43:18 HTTP/test1-ambari-server.hwxblr.com@HWX.COM (arcfour-hmac)
http://www.ghostar.org/2015/06/google-chrome-spnego-and-webhdfs-on-hadoop/
http://www.microhowto.info/howto/configure_firefox_to_authenticate_using_spnego_and_kerberos.html
.
.
Please comment if you have any feedback/questions/suggestions. Happy Hadooping!!
Created on 06-24-2016 07:14 AM
hi :
I followed your steps to setup OOZIE HA with kerberos environment
But my ambari GUI will have two alerts about Oozie Server Status, l
<pre>
Execution of 'source /usr/hdp/current/oozie-server/conf/oozie-env.sh ; oozie admin -oozie http://oozie-server1:11000/oozie -status' returned 255. Error: IO_ERROR : java.io.IOException: Error while connecting Oozie server. No of retries = 1. Exception = Could not authenticate, Authentication failed, status: 403, message: Forbidden
</pre>
I use the command 'source /usr/hdp/current/oozie-server/conf/oozie-env.sh ; oozie admin -oozie http://oozie-server1:11000/oozie -status' to run on the physical node, it failed.
but I change the oozie server to my load balancer hostname, 'source /usr/hdp/current/oozie-server/conf/oozie-env.sh ; oozie admin -oozie http://loadbalancer.net:11000/oozie -status'
It will display result : 'System mode: NORMAL'
I think this is right.
do you meet the question? why ambari do not catch my load balancer hostname, it is still use original oozie server node to check the service?
thanks.
Created on 08-07-2017 08:25 PM
Hi,
Thanks for this guide
i followed exacty how you explained but i still getting this error
Error: IO_ERROR : java.io.IOException: Error while connecting Oozie server. No of retries = 1. Exception = Could not authenticate, Authentication failed, URL: http://loadbalancer_FQDN:11000/oozie/versions?user.name=oozie, status: 403, message: Forbidden
Any idea
Thanks