@Ali Attaran
What is the RAM size? If it is less than 8GB of RAM then it will take more more time to login. It's better if you can provide 12 GB of RAM to start hadoop. Hadoop as of now can be used in linux only. So there are the basic OS which is provided along with HDP sandbox.