Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Enabling kerberos on hadoop

$
0
0

Hi,

I am using hdp 2.1 with ambari 1.6. I am trying to enable kerberos security. I have followed the below document:-

http://docs.hortonworks.com/HDPDocuments/HDP1/HDP-1.3.7/bk_using_Ambari_book/content/ambari-kerb-1-4-2.x.html

But 2 of my services are not getting started – history server and resource manager and giving below same error :-

Service org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer failed in state INITED; cause: org.apache.hadoop.yarn.exceptions.YarnRuntimeException: History Server Failed to login

Service ResourceManager failed in state STARTED; cause: org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Failed to login

But my Manual kinit worked fine :-

$ kinit -kt /etc/security/keytabs/jhs.service.keytab jhs/test.poc.com@POC.COM
$ kinit -kt /etc/security/keytabs/rm.service.keytab rm/test.poc.com@POC.COM

How can I start my above services?


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>