Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

What is the best way to shut down Hortonworks sandbox without corrupting it using virtualbox?

avatar
Rising Star

I learned the hard way that shutting down the hortonworks vm 2.4 sandbox using the virtual box "Power Off" seems to corrupt the VM. What is the best procedure for shutting down the VM gently?

Thanks, Heath

1 ACCEPTED SOLUTION

avatar
Super Guru

@Heath Yates

  1. Using Ambari, stop all the services.
  2. Then, in the sandbox via ssh, type "sudo init 0" or "sudo shutdown now"

View solution in original post

12 REPLIES 12

avatar
Super Guru

Yes, pausing and suspending are the same thing.

avatar
Master Guru

yup @Michael Rife is right. His answer to your question is correct as well. I just offered a alternate solution without going through hassle of shutting down services.

avatar
Super Collaborator

@Heath Yates

If you still wanted to shut down VirtualBox or any other VM player for that matter, there is an easy way to shut down all HDP services gracefully:

1. In Ambari goto > Hosts (http://<your_IP>:8080/#/main/hosts)

2. Select the 'Sandbox' by checking the 1 and only host in the list

3. On Actions > Filtered Hosts > Hosts > Stop all Components

7037-abari-small.png

This works for the Sandbox since all is concentrated on 1 server. It saves you the time to go over all services...

(Restarting all components this way is somewhat more complex since the sequence of restarting does take services dependencies into account. Generally it is a good idea to start HDFS first)