Hadoop - User
About
User in the context of Hadoop.
A user is the value returned from the authentication process.
Articles Related
Management
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