Need to install MIT KDC in All hadoop Nodes in the cluster For Kerberos Authentication?

157 Views Asked by At

I have a 5 nodes Hadoop cluster(Hortonworks). I am doing kerborised authentication using MIT KDC and Ambari. In my every node my hostname like xxx.trinityiot.cloud. here my doubt is Either I need to install MIT KDC in every node or in Ambari server node os enough.

I have tried before in Single node using MIT KDC and Ambari and tested all Hadoop components like HBase Kafka etc. Now my Doubt is Either I need to install MIT KDC in all Hadoop nodes or Ambari server node is enough.
1

There are 1 best solutions below

3
Gomz On

You need to have krb5-workstation in all the nodes and KDC running in one host that runs as the Kerberos server.

In Master node:

For instlalling KDC and krb5-workstation - yum install krb5*

In All nodes:

For installing krb5-workstation - yum install krb5-workstation

This might help - https://web.mit.edu/Kerberos/www/krb5-latest/doc/admin/install_kdc.html