HDFS - (User) Authentication, Identification

Yarn Hortonworks

About

What is Authentication, known also as Access control, Identification, or AuthN? in HDFS.

If Hadoop is configured with all of its defaults, Hadoop doesn’t do any authentication of users.

See also: HDFS - Permissions (Authorization)

In hdfs, a user or group are just strings of characters. The below command will always work.

hadoop fs -chown badUser:badGroup /test

No one will be able to access that file except the adminusers

Type

User identity mechanism is specified by the configuration property: hadoop.security.authentication

Simple

The user is the Linux user. The below command will be processed with the user userName

sudo -u userName hadoop fs ls /

Kerberos

Kerberos is an authentication protocol which uses tickets to allow nodes to identify themselves.

In a secure Hadoop configuration, all of the Hadoop daemons use Kerberos to perform mutual authentication

Management

See

hdfs getconf -confKey hadoop.security.authentication
simple





Discover More
Yarn Hortonworks
HDFS - User

User management in HDFS See: List group of a user See The default administrator user is hdfs. The default administrator group is hdfs.



Share this page:
Follow us:
Task Runner