Kinit on the NameNodes
This topic describes kinit on the NameNodes. These commands are run internally during HDFS service start up when the IBM Spectrum® Scale service is integrated.
On the NameNodes, run:
# kinit -kt /etc/security/keytabs/nn.service.keytab
nn/NN_HOSTNAME@REALM_NAME
where,
- NN_HOSTNAME is the NameNode host name (FQDN).
- REALM_NAME is the KDC Realm.
- nn is the Kerberos NameNode naming convention created during Kerberos setup.
For example: kinit -kt /etc/security/keytabs/nn.service.keytab
nn/c902f05x01.gpfs.net@IBM.COM
.
Note: If in a non-root environment, this command is internally run with sudo privilege.
If HA, run the command on both the NameNodes.