Created 05-28-2016 08:04 PM
Hi All,
I am a newbie to Hadoop and need your help to configure HotonWork Sandbox. I have installed Sandbox and can connect to Welcome Page using localhost:8888. However , another URL localhost:8080 is not accessible. I tried to implement all the options mentioned on multiple threads but failed to get through. Also, as somewhere mentioned on the post that amabari log is put on the location /var/log/ambari-server/ambari-server.log and looking at the log i could get the clue . But , this path is not accessible to me as a root user. Attached is the screenshot4568-1.png
Created 05-28-2016 09:17 PM
Please try below steps:
1. You are logged in as root user so you can easily change permission of any file/directory using below command
chown root:root -R /var/log/ambari-server
2. Try to check logs again by less/cat command
3. Please check if your ambari-server is running
service ambari-server status
4. If its not running then please try to start it using below command
service ambari-server start
5. If ambari-server is running, can you please check if it is listening on port 8080?
netstat -tulpn|grep 8080
6. If above command shows that your ambari-server is running however you are still unable to access it from your local machine then please check if your home/corporate firewall is blocking connection to 8080. Please try to telnet to 8080 from your local machine, if you are using windows then try to run telnet command from cmd
telnet <ambari-server-ip-address> 8080
7. If you find that your ambari-server is running and listening on 8080 then you can check your virtualbox port frowarding settings, please refer below link to verify your VirtualBox network settings
8. If above step doesn't work then you can create SSH tunnel and can access ambari UI via http://localhost:8080 from your browser
Run below command from your terminal if you are using Mac/Linux
ssh -L 8080:<ambari-server-ip-address>:8080 root@<ambari-server-ip-address>
Hope this information helps!
Happy Hadooping 🙂
Created 05-28-2016 09:17 PM
Please try below steps:
1. You are logged in as root user so you can easily change permission of any file/directory using below command
chown root:root -R /var/log/ambari-server
2. Try to check logs again by less/cat command
3. Please check if your ambari-server is running
service ambari-server status
4. If its not running then please try to start it using below command
service ambari-server start
5. If ambari-server is running, can you please check if it is listening on port 8080?
netstat -tulpn|grep 8080
6. If above command shows that your ambari-server is running however you are still unable to access it from your local machine then please check if your home/corporate firewall is blocking connection to 8080. Please try to telnet to 8080 from your local machine, if you are using windows then try to run telnet command from cmd
telnet <ambari-server-ip-address> 8080
7. If you find that your ambari-server is running and listening on 8080 then you can check your virtualbox port frowarding settings, please refer below link to verify your VirtualBox network settings
8. If above step doesn't work then you can create SSH tunnel and can access ambari UI via http://localhost:8080 from your browser
Run below command from your terminal if you are using Mac/Linux
ssh -L 8080:<ambari-server-ip-address>:8080 root@<ambari-server-ip-address>
Hope this information helps!
Happy Hadooping 🙂
Created 05-29-2016 06:49 AM
Thanks for your inputs @Kuldeep Kulkarni . I will try them and get back to you. thanks again.
Created 05-29-2016 01:53 PM
At the outset, thanks for helping me . I have tried all the options you mentioned but none of them is working. However , I just went through the prerequisite and it is mentioned that we should have at least 8GB RAM if one want to access Ambari. I have total 4 GB RAM laptop and out of which I have allocated 2 GB to virtualBox. My question - do you think because of less memory I allocated to virtual box stopping Ambari URL ?
Thanks
Created 05-30-2016 06:43 PM
@Manish Bhandari - Yes thats correct.
Please have a look at http://hortonworks.com/wp-content/uploads/2016/02/Import_on_Vbox_3_1_2016.pdf for minimum requirements.
Created 05-29-2016 02:48 PM
Total 4GB physical ram on laptop and running running HDP sandbox over virtual box doesn't seems a feasible idea :). I believe you need at least 8GB to run HDP sandbox. Please try this on bigger RAM size laptop.
Also in the screenshot you are trying to run the *.log file instead of opening it in vi editor or through cat command, please use vi editor or cat/less command and see what are the error messages log file has.
Created 05-29-2016 04:54 PM
@Manish Bhandari .. It could be that Ambari service is not started may be due to memory constraints .
Please review the sandbox requirement.
http://hortonworks.com/wp-content/uploads/2016/02/Import_on_Vbox_3_1_2016.pdf
"If you wish to enable services such as Ambari, HBase, Storm, Kafka, or Spark please ensure you have at least 10 Gb of physical RAM in order to run the VM using 8 GB."