<?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 configure apache Sentry using cloudera manager api in python? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-configure-apache-Sentry-using-cloudera-manager-api-in/m-p/90727#M31833</link>
    <description>Hey , How to enable Sentry HA using cm_api module in python ?</description>
    <pubDate>Tue, 21 May 2019 04:22:01 GMT</pubDate>
    <dc:creator>Nick</dc:creator>
    <dc:date>2019-05-21T04:22:01Z</dc:date>
    <item>
      <title>How to configure apache Sentry using cloudera manager api in python?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-configure-apache-Sentry-using-cloudera-manager-api-in/m-p/40854#M31829</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I'm using cm_api in python to install cloudera cdh5.7. I have an apiException while configuring sentry server.&lt;BR /&gt;All parameters for sentry database like "sentry_server_database_port" or "sentry_server_database_password" are unknown.&lt;BR /&gt;&lt;BR /&gt;Somebody can tell me how to solve the problem?&lt;BR /&gt;&lt;BR /&gt;Do i need a particular cm_api version?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:19:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-configure-apache-Sentry-using-cloudera-manager-api-in/m-p/40854#M31829</guid>
      <dc:creator>deschances</dc:creator>
      <dc:date>2022-09-16T10:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure apache Sentry using cloudera manager api in python?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-configure-apache-Sentry-using-cloudera-manager-api-in/m-p/40861#M31830</link>
      <description>&lt;P&gt;You don't need a particular version, only need to update the Sentry configuration example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;from cm_api.api_client import ApiResource&lt;BR /&gt;api = ApiResource("cm-server-host")&lt;BR /&gt;cluster = api.get_cluster("_CLUSTER_NAME_")&lt;BR /&gt;service = cluster.create_service("sentry","SENTRY")&lt;BR /&gt;# Service-Wide&lt;BR /&gt;# sentry_server_database_host: Assuming embedded DB is running from where embedded-db is located.&lt;BR /&gt;service_config = {"sentry_server_database_host": "sentry-db.host.here",&lt;BR /&gt; "sentry_server_database_user": "sentry",&lt;BR /&gt; "sentry_server_database_name": "sentry",&lt;BR /&gt; "sentry_server_database_password": "cloudera",&lt;BR /&gt; "sentry_server_database_port": "7432",&lt;BR /&gt; "sentry_server_database_type": "postgresql"}&lt;BR /&gt;service.update_config(service_config)&lt;BR /&gt;# eg: fetch all hosts&amp;gt;hostId &lt;BR /&gt;# print [host.hostId for host in api.get_all_hosts()] &lt;BR /&gt;host = [host for host in api.get_all_hosts()][0]&lt;BR /&gt;service.create_role("sentry", "SENTRY_SERVER", host.hostId)

Ref: https://github.com/gdgt/cmapi&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2016 09:55:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-configure-apache-Sentry-using-cloudera-manager-api-in/m-p/40861#M31830</guid>
      <dc:creator>michalis</dc:creator>
      <dc:date>2016-05-16T09:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure apache Sentry using cloudera manager api in python?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-configure-apache-Sentry-using-cloudera-manager-api-in/m-p/40872#M31831</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used an external postgresql databases. Everything worked fine!&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2016 14:30:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-configure-apache-Sentry-using-cloudera-manager-api-in/m-p/40872#M31831</guid>
      <dc:creator>deschances</dc:creator>
      <dc:date>2016-05-16T14:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure apache Sentry using cloudera manager api in python?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-configure-apache-Sentry-using-cloudera-manager-api-in/m-p/57507#M31832</link>
      <description>&lt;P&gt;Is there any step by step guide&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 15:44:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-configure-apache-Sentry-using-cloudera-manager-api-in/m-p/57507#M31832</guid>
      <dc:creator>sanysandish</dc:creator>
      <dc:date>2017-07-17T15:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure apache Sentry using cloudera manager api in python?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-configure-apache-Sentry-using-cloudera-manager-api-in/m-p/90727#M31833</link>
      <description>Hey , How to enable Sentry HA using cm_api module in python ?</description>
      <pubDate>Tue, 21 May 2019 04:22:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-configure-apache-Sentry-using-cloudera-manager-api-in/m-p/90727#M31833</guid>
      <dc:creator>Nick</dc:creator>
      <dc:date>2019-05-21T04:22:01Z</dc:date>
    </item>
  </channel>
</rss>

