Hadoop - User

Yarn Hortonworks


User in the context of Hadoop.

A user is the value returned from the authentication process.


Creation with linux auth

Ie the user is the linux user starting the process

  • Make a local user
sudo useradd -m userName
sudo passwd userName
  • Create directories on hdfs for new user. See HDFS - User
hadoop fs -mkdir /user/userName
hadoop fs -chmod 777 /user/userName

Documentation / Reference

  • Class:
    • org.apache.hadoop.security.UserGroupInformation
    • org.apache.hadoop.security.UserGroupInformation.getLoginUser
    • org.apache.hadoop.security.UserGroupInformation.getCurrentUser

Discover More
Azure Storage Account Key
Enterprise Information Catalog (EIC|EDC) Installation

remove ... repair uninstall TutorialCMSpowercenter INFA_HOME verification Suppress...
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.
Yarn Hortonworks
Hadoop Core - Proxy Authentication

proxy authentication in Hadoop See also: A superuser wants to submit job and access hdfs on behalf of a user. The superuser has kerberos credentials but the user doesn’t have any. Example:...

Share this page:
Follow us:
Task Runner