when i do localhost:8080, the services are not getting started.. and lots of alerts are popped up for the first time.Please let me know the solution ton resolve this.
YARN is not running because "HDFS" service is not running hence yarn startup operation is not able to connect to HDFS hence we see the following error:
curl: (7) Failed connect to sandbox-hdp.hortonworks.com:50070; Connection refused 000 stdout: <br>2019-01-06 11:13:50,127 - Stack Feature Version Info: Cluster Stack=2.6, Command Stack=None, Command Version=126.96.36.199-292 -> 188.8.131.52-292 2019-01-06 11:13:50,234 - Using hadoop conf dir<br> AND curl: (7) Failed connect to sandbox-hdp.hortonworks.com:50070; Connection refused
The best thing will be to try starting services in this sequence:
1. Start Zookeeper
2. Start HDFS
3. Start MapReduce/Yarn
4. Start HBase.
Also please check how much memory do you have free on your Sandbox? (Sandbox requires at least 8GB of Dedicated RAM)
# free -m
As you mentioned that your system total RAM is: 8GB and you have allocated 4GB to sandbox.
Sandbox Minimum Requirement: In order to run components without issue, Minimum 8GB RAM you should have dedicated on your 64 bit OS to run the Sandbox without any issue. Less RAM allocation might cause a very slow startup of Sandbox and might cause Hung Or Network Service failure.
Example: If your Laptop has 16GB RAM then you can allocate 8GB to your Sandbox VM to use it properly.