I was able to download and bring up the sandbox. I also changed the password root user. I am also able navigate to http://127.0.0.1:8088/ and see the hadoop cluster. Now I am trying to go through following tutorial:
but running in to permissions issues or message like no such file or directory.
I was able to run this command and download data:
wget <a href="http://en.wikipedia.org/wiki/Hortonworks">http://en.wikipedia.org/wiki/Hortonworks</a>
but when I run the next step:
hadoop fs -put ~/Hortonworks /user/guest/Hortonworks
I get following message:
When I try to run hadoop fs -ls , I get the message the no such file or directory exists:
I then tried to create the /home/root directory but that failed too:
Any thoughts on what may be happening here?
Specifically for /user/guest/Hortonworks do this:
sudo su -hdfs hadoop fs -chmod -R 777 /user/guest exit
In the Sandbox, the /user/guest does not actually exist. You can create /user/guest/ using the following command:
hadoop fs -mkdir /user/guest/
Alternatively, you can use /tmp directory:
hadoop fs -put ~/Hortonworks /tmp
The tutorial has been updated to use /tmp directory to simplify the flow.
Best is to use the ambari-qa user. This is special user with super powers :)
Overall, please understand the Hadoop security model. Spend some time to understand the user permissions. This is mostly like unix. The service accounts hdfs, yarn etc are service accounts that are part of hadoop group.
Spend some time on the Hadoop HDFS section. This will help your understanding better.