Creating a New HDFS User
For a simple environment such as called out in Build a Virtualized 5-Node Hadoop 2.0 Cluster, first create a new linux user.
Code Block | ||
---|---|---|
| ||
useradd -m -s /bin/bash theusername |
Then create a HDFS home directory for this new user.
Code Block | ||
---|---|---|
| ||
su hdfs
hdfs dfs -mkdir /user/theusername
hdfs dfs -chown theusername /user/theusername |
Hortonworks Sandbox
...