I have installed hortnworks sandbox on virtual machine. I am unable to perform any Hadoop commands.
@Nikhil Vemula - Looks like you are running docker sandbox. You need to connect to docker container first before running hadoop commands.
Can you please try below ssh command along with default password ( I think it's hadoop )
ssh -p 2222 root@localhost
Once you are connected to docker container, you should be able to run hadoop commands.
useloc You can also use localhost:4200 and it will directly link you to the Docker container. Username: root and Password: hadoop
If you want to access anything else then they specifically mention their tutorial port which is: 8888. So, you just need to enter the web url 127.0.0.1:8888 and you'll have the information about all the ports.