<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: What is the best way to shut down Hortonworks sandbox without corrupting it using virtualbox? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/174004#M136267</link>
    <description>&lt;P&gt;
	Running HDP sandbox 2.6.1 on VMware.&lt;/P&gt;&lt;P&gt;
	Can't execute the shutdown commands for the docker in Step 2 via SSH, with the same error messages that &lt;A href="https://community.hortonworks.com/users/16059/bobheckel.html"&gt;@Bob Heckel&lt;/A&gt; is getting.&lt;/P&gt;&lt;P&gt;The VMware Player window is useless, since it's interacting with the host VM, not with the hosted docker container for the sandbox.&lt;/P&gt;&lt;P&gt;Now my sandbox appears to be corrupted again, the host VM startup process is getting stuck on starting up the docker.&lt;/P&gt;&lt;P&gt;I am sure there was an architectural justification to migrate to using VM + docker vs. just VM, but it's not working out very well for users.&lt;/P&gt;</description>
    <pubDate>Sun, 06 Aug 2017 07:38:20 GMT</pubDate>
    <dc:creator>gene_mishchenko</dc:creator>
    <dc:date>2017-08-06T07:38:20Z</dc:date>
    <item>
      <title>What is the best way to shut down Hortonworks sandbox without corrupting it using virtualbox?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/173993#M136256</link>
      <description>&lt;P&gt;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? &lt;/P&gt;&lt;P&gt;Thanks, 
Heath &lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 08:07:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/173993#M136256</guid>
      <dc:creator>hlyates</dc:creator>
      <dc:date>2016-08-12T08:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to shut down Hortonworks sandbox without corrupting it using virtualbox?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/173994#M136257</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11995/hlyates.html" nodeid="11995"&gt;@Heath Yates&lt;/A&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Using Ambari, stop all the services.&lt;/LI&gt;&lt;LI&gt;Then, in the sandbox via ssh, type "sudo init 0" or "sudo shutdown now"&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Fri, 12 Aug 2016 08:17:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/173994#M136257</guid>
      <dc:creator>myoung</dc:creator>
      <dc:date>2016-08-12T08:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to shut down Hortonworks sandbox without corrupting it using virtualbox?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/173995#M136258</link>
      <description>&lt;P&gt;Thanks. This is in the right direction. Do you have a link or instructions on where I can shutdown all the services in Ambari please?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 08:22:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/173995#M136258</guid>
      <dc:creator>hlyates</dc:creator>
      <dc:date>2016-08-12T08:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to shut down Hortonworks sandbox without corrupting it using virtualbox?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/173996#M136259</link>
      <description>&lt;P&gt;I had to log in as admin on Ambari. If there is a simple one click way to shutdown all the services. Please let me know or command line. Thanks! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 09:06:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/173996#M136259</guid>
      <dc:creator>hlyates</dc:creator>
      <dc:date>2016-08-12T09:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to shut down Hortonworks sandbox without corrupting it using virtualbox?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/173997#M136260</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/11995/hlyates.html" nodeid="11995"&gt;@Heath Yates&lt;/A&gt; I suggest you suspend the VM instead.  it saves the state to disk.  Works great.  Been using that method for many years.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 09:29:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/173997#M136260</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2016-08-12T09:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to shut down Hortonworks sandbox without corrupting it using virtualbox?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/173998#M136261</link>
      <description>&lt;P&gt;I used to use VMWare and switched to virtualbox. By suspending, I assume you mean pausing. Yes? &lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 09:41:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/173998#M136261</guid>
      <dc:creator>hlyates</dc:creator>
      <dc:date>2016-08-12T09:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to shut down Hortonworks sandbox without corrupting it using virtualbox?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/173999#M136262</link>
      <description>&lt;P&gt;Yes, pausing and suspending are the same thing.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 20:56:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/173999#M136262</guid>
      <dc:creator>myoung</dc:creator>
      <dc:date>2016-08-12T20:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to shut down Hortonworks sandbox without corrupting it using virtualbox?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/174000#M136263</link>
      <description>&lt;P&gt; yup &lt;A rel="user" href="https://community.cloudera.com/users/3328/michael-rife.html" nodeid="3328"&gt;@Michael Rife&lt;/A&gt; 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.  &lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 20:56:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/174000#M136263</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2016-08-12T20:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to shut down Hortonworks sandbox without corrupting it using virtualbox?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/174001#M136264</link>
      <description>&lt;P&gt;Yes, when I said "using Ambari", I was referring to the web interface.  I apologize for not being more clear.&lt;/P&gt;&lt;P&gt;I'm not aware of a way to stop all services from the command line using as a single command.  However, you can use the Ambari API to shutdown services individually.  Unfortunately, you have to call the shutdown command for each service.&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=41812517"&gt;https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=41812517&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 21:13:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/174001#M136264</guid>
      <dc:creator>myoung</dc:creator>
      <dc:date>2016-08-12T21:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to shut down Hortonworks sandbox without corrupting it using virtualbox?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/174002#M136265</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/11995/hlyates.html" rel="nofollow noopener noreferrer" target="_blank"&gt;@Heath Yates&lt;/A&gt;&lt;/P&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;1. In Ambari goto &amp;gt; Hosts  (http://&amp;lt;your_IP&amp;gt;:8080/#/main/hosts) &lt;/P&gt;&lt;P&gt;2. Select the 'Sandbox'  by checking the 1 and only host in the list&lt;/P&gt;&lt;P&gt;3. On Actions &amp;gt; Filtered Hosts &amp;gt; Hosts &amp;gt; Stop all Components&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7037-abari-small.png" style="width: 1222px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19935i0B0587D7B7ACA2AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="7037-abari-small.png" alt="7037-abari-small.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This works for the Sandbox since all is concentrated on 1 server. It saves you the time to go over all services...&lt;/P&gt;&lt;P&gt;(&lt;STRONG&gt;Restarting&lt;/STRONG&gt; 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)&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 10:25:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/174002#M136265</guid>
      <dc:creator>jknulst</dc:creator>
      <dc:date>2019-08-18T10:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to shut down Hortonworks sandbox without corrupting it using virtualbox?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/174003#M136266</link>
      <description>&lt;P&gt;Running HDP 2.5&lt;/P&gt;&lt;P&gt;For 1. I used @Jasper approach&lt;/P&gt;&lt;P&gt;For 2. I was unable to use &lt;/P&gt;&lt;PRE&gt;[root@sandbox ~]# sudo shutdown now
Broadcast message from root@sandbox.hortonworks.com
        (/dev/pts/0) at 20:39 ...
The system is going down for maintenance NOW!
shutdown: Unable to shutdown system
&lt;/PRE&gt;&lt;P&gt;or&lt;/P&gt;&lt;PRE&gt;[root@sandbox ~]# sudo init 0
init: Failed to connect to socket /com/ubuntu/upstart: Connection refused
&lt;/PRE&gt;&lt;P&gt;but Close &amp;gt; "Send the shutdown signal" worked gracefully (as far as I can tell after restarting).&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 22:42:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/174003#M136266</guid>
      <dc:creator>bob_heckel</dc:creator>
      <dc:date>2017-02-15T22:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to shut down Hortonworks sandbox without corrupting it using virtualbox?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/174004#M136267</link>
      <description>&lt;P&gt;
	Running HDP sandbox 2.6.1 on VMware.&lt;/P&gt;&lt;P&gt;
	Can't execute the shutdown commands for the docker in Step 2 via SSH, with the same error messages that &lt;A href="https://community.hortonworks.com/users/16059/bobheckel.html"&gt;@Bob Heckel&lt;/A&gt; is getting.&lt;/P&gt;&lt;P&gt;The VMware Player window is useless, since it's interacting with the host VM, not with the hosted docker container for the sandbox.&lt;/P&gt;&lt;P&gt;Now my sandbox appears to be corrupted again, the host VM startup process is getting stuck on starting up the docker.&lt;/P&gt;&lt;P&gt;I am sure there was an architectural justification to migrate to using VM + docker vs. just VM, but it's not working out very well for users.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2017 07:38:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/174004#M136267</guid>
      <dc:creator>gene_mishchenko</dc:creator>
      <dc:date>2017-08-06T07:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to shut down Hortonworks sandbox without corrupting it using virtualbox?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/174005#M136268</link>
      <description>&lt;P&gt;I should have mentioned I was using VirtualBox v5.1.14&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 02:52:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-shut-down-Hortonworks-sandbox/m-p/174005#M136268</guid>
      <dc:creator>bob_heckel</dc:creator>
      <dc:date>2017-08-24T02:52:18Z</dc:date>
    </item>
  </channel>
</rss>

