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 and set a password for the new account.
useradd -m -s /bin/bash theusername passwd theusername
Then create a HDFS home directory for this new user.
su hdfs hdfs dfs -mkdir /user/theusername hdfs dfs -chown theusername /user/theusername
Hortonworks Sandbox
ssh root@127.0.0.1 -p 2222 (default password is "hadoop")
scp -P 2222 example.jar mruser@127.0.0.1:/home/mruser/mrJars (password is "Sprint2000" for linux user and "hadoop" for one created in hue)
Networking & VirtualBox
if you make changes to /etc/sysconfig/network-scripts/ifcfg-eth0, then make sure you rm /etc/udev/rules.d/70-persistent-net.rules
Linux
screen can manage long-lived sessions via SSH
Add Comment