<?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 to remove Ranger KMS from the cluster in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-remove-Ranger-KMS-from-the-cluster/m-p/131562#M18531</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I checked those two entries on ambari both of them set to blank. There are no values for those two entries. What exactly you mean by disable them?&lt;/P&gt;</description>
    <pubDate>Tue, 09 Feb 2016 03:03:01 GMT</pubDate>
    <dc:creator>rbalam</dc:creator>
    <dc:date>2016-02-09T03:03:01Z</dc:date>
    <item>
      <title>How to remove Ranger KMS from the cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-remove-Ranger-KMS-from-the-cluster/m-p/131560#M18529</link>
      <description>&lt;P&gt;I installed Ranger and Ranger KMS on a cluster. Ranger started fine but Ranger KMS is failing to start, so i would like to remove it for now and install it later.&lt;/P&gt;&lt;P&gt;So I tried to remove it using the following command&lt;/P&gt;&lt;P&gt;FALBDCDQ0001V:~#curl -u admin:xxxxxx -H "X-Requested-By: ambari" -X DELETE  &lt;A href="http://localhost:8080/api/v1/clusters/hwtest/services/RANGER_KMS" target="_blank"&gt;http://localhost:8080/api/v1/clusters/hwtest/services/RANGER_KMS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but it failed to remove with the following exception&lt;/P&gt;&lt;P&gt;
"status" : 500,
  "message" : "org.apache.ambari.server.controller.spi.SystemException: An internal system exception occurred: Cannot remove hwtest/RANGER_KMS. RANGER_KMS_SERVER is in a non-removable state."&lt;/P&gt;&lt;P&gt;I logged into the Ambari database to see if Ranger KMS is in a good state to remove. but the desired_state is showing as started eventhough it failed to start. So I updated the state using the following command and tried to remove the service again but i still got the same error as above.&lt;/P&gt;&lt;P&gt;update servicedesiredstate set desired_state='INSTALLED' where service_name='RANGER_KMS';&lt;/P&gt;&lt;P&gt;Here is the error when I try to restart Ranger KMS ..&lt;/P&gt;&lt;PRE&gt;2016-02-05 17:12:37,755 - Error : unknown url type: falbdcdq0001v.farmersinsurance.com
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms_server.py", line 82, in &amp;lt;module&amp;gt;
    KmsServer().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 216, in execute
    method(env)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 484, in restart
    self.start(env)
  File "/var/lib/ambari-agent/cache/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms_server.py", line 55, in start
    enable_kms_plugin()
  File "/var/lib/ambari-agent/cache/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms.py", line 274, in enable_kms_plugin
    raise Fail('Ranger service is not started on given host')   
resource_management.core.exceptions.Fail: Ranger service is not started on given host


&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Feb 2016 02:42:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-remove-Ranger-KMS-from-the-cluster/m-p/131560#M18529</guid>
      <dc:creator>rbalam</dc:creator>
      <dc:date>2016-02-09T02:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove Ranger KMS from the cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-remove-Ranger-KMS-from-the-cluster/m-p/131561#M18530</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1898-image.jpeg" style="width: 169px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22297i5C9205E35B71F4B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1898-image.jpeg" alt="1898-image.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1966/prasad4ucom.html" nodeid="1966" target="_blank"&gt;@Ram D&lt;/A&gt; &lt;/P&gt;&lt;P&gt;You have to disable above entries &lt;/P&gt;&lt;P&gt;Very important &lt;/P&gt;&lt;P&gt;You can leverage rest api to delete ranger kms&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:24:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-remove-Ranger-KMS-from-the-cluster/m-p/131561#M18530</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2019-08-19T09:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove Ranger KMS from the cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-remove-Ranger-KMS-from-the-cluster/m-p/131562#M18531</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I checked those two entries on ambari both of them set to blank. There are no values for those two entries. What exactly you mean by disable them?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 03:03:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-remove-Ranger-KMS-from-the-cluster/m-p/131562#M18531</guid>
      <dc:creator>rbalam</dc:creator>
      <dc:date>2016-02-09T03:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove Ranger KMS from the cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-remove-Ranger-KMS-from-the-cluster/m-p/131563#M18532</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/392/rbalam.html" nodeid="392"&gt;@rbalam&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Remove those entries otherwise other processes will keep looking for kms &lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 03:05:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-remove-Ranger-KMS-from-the-cluster/m-p/131563#M18532</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-09T03:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove Ranger KMS from the cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-remove-Ranger-KMS-from-the-cluster/m-p/131564#M18533</link>
      <description>&lt;P&gt;sorry if it is a dumb question but how do i remove those entries from Ambari? I dont see any option to delete.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 03:21:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-remove-Ranger-KMS-from-the-cluster/m-p/131564#M18533</guid>
      <dc:creator>rbalam</dc:creator>
      <dc:date>2016-02-09T03:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove Ranger KMS from the cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-remove-Ranger-KMS-from-the-cluster/m-p/131565#M18534</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/392/rbalam.html" nodeid="392"&gt;@rbalam&lt;/A&gt; you should see - option next to it &lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 03:28:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-remove-Ranger-KMS-from-the-cluster/m-p/131565#M18534</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-09T03:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove Ranger KMS from the cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-remove-Ranger-KMS-from-the-cluster/m-p/131566#M18535</link>
      <description>&lt;P&gt;I dont any option to remove this hadoop.security.key.provider.path. please see the attached image&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1925-rangerkms-key.png" style="width: 1012px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22296iCF3EB38EC05F14FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1925-rangerkms-key.png" alt="1925-rangerkms-key.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:23:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-remove-Ranger-KMS-from-the-cluster/m-p/131566#M18535</guid>
      <dc:creator>rbalam</dc:creator>
      <dc:date>2019-08-19T09:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove Ranger KMS from the cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-remove-Ranger-KMS-from-the-cluster/m-p/131567#M18536</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/392/rbalam.html" nodeid="392"&gt;@rbalam&lt;/A&gt; Sorry , I was on the road ..&lt;/P&gt;&lt;P&gt;see this&lt;/P&gt;&lt;P&gt;curl --user admin:admin -i  -H "X-Requested-By: ambari" -X DELETE &lt;A href="http://`hostname "&gt;http://`hostname&lt;/A&gt; -f`:8080/api/v1/clusters/CLUSTERNAME/services/RANGER_KMS&lt;/P&gt;&lt;P&gt;refresh ambari &lt;/P&gt;&lt;P&gt;now search for KMS in filter under HDFS and you may see those entries that I shared in snapshot. Delete the entries by removing their values and save it ..Entries will go away by its own after save &lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 11:19:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-remove-Ranger-KMS-from-the-cluster/m-p/131567#M18536</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-09T11:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove Ranger KMS from the cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-remove-Ranger-KMS-from-the-cluster/m-p/131568#M18537</link>
      <description>&lt;P&gt;I would recommend you to change the "desired_state" in the table "servicecomponentdesiredstate" under ambari database.&lt;/P&gt;&lt;P&gt;You can update the values where service_name = 'RANGER_KMS'.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2016 07:59:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-remove-Ranger-KMS-from-the-cluster/m-p/131568#M18537</guid>
      <dc:creator>gbrahmi</dc:creator>
      <dc:date>2016-03-22T07:59:15Z</dc:date>
    </item>
  </channel>
</rss>

