<?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: How do you remove SmartSense when in a pending install state? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-do-you-remove-SmartSense-when-in-a-pending-install-state/m-p/96780#M60100</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/186/sshaw.html" nodeid="186"&gt;@Scott Shaw&lt;/A&gt;  How did the delete process go?&lt;/P&gt;</description>
    <pubDate>Sat, 14 Nov 2015 11:22:07 GMT</pubDate>
    <dc:creator>nsabharwal</dc:creator>
    <dc:date>2015-11-14T11:22:07Z</dc:date>
    <item>
      <title>How do you remove SmartSense when in a pending install state?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-you-remove-SmartSense-when-in-a-pending-install-state/m-p/96772#M60092</link>
      <description>&lt;P&gt;SmartSense install failed and is stuck in a "pending" state. We want to remove it from Ambari and retry the install.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 01:15:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-you-remove-SmartSense-when-in-a-pending-install-state/m-p/96772#M60092</guid>
      <dc:creator>SQLShaw</dc:creator>
      <dc:date>2015-11-10T01:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do you remove SmartSense when in a pending install state?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-you-remove-SmartSense-when-in-a-pending-install-state/m-p/96773#M60093</link>
      <description>&lt;P&gt;@&lt;A href="http://community.hortonworks.com/users/186/sshaw.html"&gt;Scott Shaw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.hortonworks.com/users/186/sshaw.html"&gt;&lt;/A&gt;Uninstall SmartSense from Ambari&lt;/P&gt;
						&lt;P&gt;To remove the SmartSense service and view, follow the steps below.
&lt;/P&gt;
						&lt;OL&gt;
							&lt;LI&gt;First make sure all of the SmartSense services are stopped from the Ambari UI. (Optionally you can
run below command). Please ensure that all the SmartSense services are completely stopped
before continuing. If they are not stopped, the uninstallation process will not be successful, and
the service will not be able to be removed.

								&lt;P&gt;curl ­u admin:$PASSWORD­i ­H 'X­Requested­By: ambari' ­X PUT ­d
'{"RequestInfo": {"context" :"Stop SmartSense via REST"}, "Body":
{"ServiceInfo": {"state": "INSTALLED"}}}'
&lt;A href="http://AMBARI_SERVER_HOST:8080/api/v1/clusters/CLUSTER_NAME/services/SMA" target="_blank"&gt;http://AMBARI_SERVER_HOST:8080/api/v1/clusters/CLUSTER_NAME/services/SMA&lt;/A&gt;
RTSENSE
&lt;/P&gt;&lt;/LI&gt;
							&lt;LI&gt;Uninstall all SmartSense components

								&lt;P&gt;curl ­u admin:$PASSWORD­i ­H 'X­Requested­By: ambari' ­X POST ­d
'{"RequestInfo": {"context" :"Uninstall SmartSense via REST",
"command":"Uninstall"}, "Requests/resource_filters":[{"hosts":"comma
separated host names", "service_name":"SMARTSENSE",
"component_name":"HST_AGENT"}]}'
&lt;A href="http://AMBARI_SERVER_HOST:8080/api/v1/clusters/CLUSTER_NAME/requests" target="_blank"&gt;http://AMBARI_SERVER_HOST:8080/api/v1/clusters/CLUSTER_NAME/requests&lt;/A&gt;
&lt;/P&gt;
								&lt;P&gt;NOTE:After issuing this command wait for Ambari operations to successfully complete. You can
check this through Ambari UI . Make sure that there are
&lt;/P&gt;
								&lt;P&gt;no operations in progress.
&lt;/P&gt;&lt;/LI&gt;
							&lt;LI&gt;Run the following command to remove SmartSense service from Ambari

								&lt;P&gt;curl ­u admin:$PASSWORD­H 'X­Requested­By: ambari' ­X DELETE
&lt;A href="http://AMBARI_SERVER_HOST:8080/api/v1/clusters/CLUSTER_NAME/services/SMA" target="_blank"&gt;http://AMBARI_SERVER_HOST:8080/api/v1/clusters/CLUSTER_NAME/services/SMA&lt;/A&gt;
RTSENSE
&lt;/P&gt;&lt;/LI&gt;
							&lt;LI&gt;Restart ambari server for all changes to take effect

								&lt;P&gt;# ambari­server restart &lt;/P&gt;&lt;/LI&gt;
						&lt;/OL&gt;</description>
      <pubDate>Tue, 10 Nov 2015 01:20:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-you-remove-SmartSense-when-in-a-pending-install-state/m-p/96773#M60093</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-11-10T01:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do you remove SmartSense when in a pending install state?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-you-remove-SmartSense-when-in-a-pending-install-state/m-p/96774#M60094</link>
      <description>&lt;P&gt;The curl command is written for an "installed" state. Do you know what ServiceInfo state is for a pending install?  I tried "PENDING" and that's not a valid value.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 01:30:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-you-remove-SmartSense-when-in-a-pending-install-state/m-p/96774#M60094</guid>
      <dc:creator>SQLShaw</dc:creator>
      <dc:date>2015-11-10T01:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do you remove SmartSense when in a pending install state?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-you-remove-SmartSense-when-in-a-pending-install-state/m-p/96775#M60095</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/186/sshaw.html" nodeid="186"&gt;@Scott Shaw&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Please try this. &lt;/P&gt;&lt;P&gt;curl --user admin:admin -i  -H "X-Requested-By: ambari" -X DELETE &lt;A href="http://`hostname" target="_blank"&gt;http://`hostname&lt;/A&gt; -f`:8080/api/v1/clusters/&amp;lt;cluster name&amp;gt;/services/SMARTSENSE&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 01:32:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-you-remove-SmartSense-when-in-a-pending-install-state/m-p/96775#M60095</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-11-10T01:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do you remove SmartSense when in a pending install state?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-you-remove-SmartSense-when-in-a-pending-install-state/m-p/96776#M60096</link>
      <description>&lt;P&gt;Documentation states explicitly that service will not be able to removed if you try to delete the service in a non-stopped state. &lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 01:55:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-you-remove-SmartSense-when-in-a-pending-install-state/m-p/96776#M60096</guid>
      <dc:creator>SQLShaw</dc:creator>
      <dc:date>2015-11-10T01:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do you remove SmartSense when in a pending install state?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-you-remove-SmartSense-when-in-a-pending-install-state/m-p/96777#M60097</link>
      <description>&lt;P&gt;Agree. Did you try running the previous command?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 02:10:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-you-remove-SmartSense-when-in-a-pending-install-state/m-p/96777#M60097</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-11-10T02:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do you remove SmartSense when in a pending install state?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-you-remove-SmartSense-when-in-a-pending-install-state/m-p/96778#M60098</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/32/paul.html" nodeid="32"&gt;@Paul Codding&lt;/A&gt; Could you please take a look on this?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 02:17:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-you-remove-SmartSense-when-in-a-pending-install-state/m-p/96778#M60098</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-11-10T02:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do you remove SmartSense when in a pending install state?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-you-remove-SmartSense-when-in-a-pending-install-state/m-p/96779#M60099</link>
      <description>&lt;P&gt;Follow these steps exactly as-is: &lt;A href="http://docs.hortonworks.com/HDPDocuments/SS1/SmartSense-1.1.0/bk_smartsense_admin/content/ch01s02s05s05.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/SS1/SmartSense-1.1.0/bk_smartsense_admin/content/ch01s02s05s05.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 05:22:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-you-remove-SmartSense-when-in-a-pending-install-state/m-p/96779#M60099</guid>
      <dc:creator>pcodding</dc:creator>
      <dc:date>2015-11-10T05:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do you remove SmartSense when in a pending install state?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-you-remove-SmartSense-when-in-a-pending-install-state/m-p/96780#M60100</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/186/sshaw.html" nodeid="186"&gt;@Scott Shaw&lt;/A&gt;  How did the delete process go?&lt;/P&gt;</description>
      <pubDate>Sat, 14 Nov 2015 11:22:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-you-remove-SmartSense-when-in-a-pending-install-state/m-p/96780#M60100</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-11-14T11:22:07Z</dc:date>
    </item>
  </channel>
</rss>

