HDFS security authentication

Before accessing services in the secure cluster environment, you must be authorized by Kerberos. For this reason, code for security authentication must be written into the HDFS applications to ensure proper running. There are two authentication modes: command line authentication and code authentication.
Command line authentication:
Before running the HDFS applications, run the following command on the HDFS client to obtain authentication: kinit component service user
Code authentication:
Obtain the principal and keytab files of the client for authentication.

Scroll to top