Hadoop - User

1 - About

User in the context of Hadoop.

A user is the value returned from the authentication process.

3 - Management

3.1 - 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

4 - Documentation / Reference

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

Data Science
Data Analysis
Statistics
Data Science
Linear Algebra Mathematics
Trigonometry

Powered by ComboStrap