<?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 'Role type configuration is supported only up to API v2' in CM API V32 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Role-type-configuration-is-supported-only-up-to-API-v2-in-CM/m-p/269732#M207052</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've been using CM API V32 to update various service configuration and I noticed it works as long as we set service level attributes. However, while trying to update attributes at roleType level, the API responds with error code 400, stating&amp;nbsp;"'Role type configuration is supported only up to API v2' in CM API V32.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Interestingly, the model schema provided by Cloudera recommends using the same attribute for the service config update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using PUT `/clusters/{clusterName}/services/{serviceName}/config` API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyone else facing a similar issue or knows how to deal with this issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2019 15:54:51 GMT</pubDate>
    <dc:creator>SandeepSingh</dc:creator>
    <dc:date>2019-09-04T15:54:51Z</dc:date>
    <item>
      <title>'Role type configuration is supported only up to API v2' in CM API V32</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Role-type-configuration-is-supported-only-up-to-API-v2-in-CM/m-p/269732#M207052</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've been using CM API V32 to update various service configuration and I noticed it works as long as we set service level attributes. However, while trying to update attributes at roleType level, the API responds with error code 400, stating&amp;nbsp;"'Role type configuration is supported only up to API v2' in CM API V32.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Interestingly, the model schema provided by Cloudera recommends using the same attribute for the service config update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using PUT `/clusters/{clusterName}/services/{serviceName}/config` API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyone else facing a similar issue or knows how to deal with this issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 15:54:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Role-type-configuration-is-supported-only-up-to-API-v2-in-CM/m-p/269732#M207052</guid>
      <dc:creator>SandeepSingh</dc:creator>
      <dc:date>2019-09-04T15:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: 'Role type configuration is supported only up to API v2' in CM API V32</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Role-type-configuration-is-supported-only-up-to-API-v2-in-CM/m-p/269764#M207066</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35484"&gt;@SandeepSingh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please use role config groups instead of role types. You can see relevant methods in ApiService to get and create groups.&amp;nbsp;You may want to read this thread which people experienced the similar error message.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://grokbase.com/t/cloudera/scm-users/1373r4h204/cm-api-create-cluster-error" target="_blank"&gt;https://grokbase.com/t/cloudera/scm-users/1373r4h204/cm-api-create-cluster-error&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and hope this helps,&lt;/P&gt;
&lt;P&gt;Li&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 21:43:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Role-type-configuration-is-supported-only-up-to-API-v2-in-CM/m-p/269764#M207066</guid>
      <dc:creator>lwang</dc:creator>
      <dc:date>2019-09-04T21:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: 'Role type configuration is supported only up to API v2' in CM API V32</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Role-type-configuration-is-supported-only-up-to-API-v2-in-CM/m-p/270287#M207401</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/5016"&gt;@lwang&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Indeed I was able to do it using RoleConfigGroup API's. However, my concern is more with the fact that the recommended model &lt;SPAN&gt;schema provided by Cloudera lists the attribute that it doesn't support.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sandeep&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2019 08:45:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Role-type-configuration-is-supported-only-up-to-API-v2-in-CM/m-p/270287#M207401</guid>
      <dc:creator>SandeepSingh</dc:creator>
      <dc:date>2019-09-12T08:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: 'Role type configuration is supported only up to API v2' in CM API V32</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Role-type-configuration-is-supported-only-up-to-API-v2-in-CM/m-p/270598#M207436</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35484"&gt;@SandeepSingh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad to hear the issue got resolved. When you get a chance, could you please share more details on the "re&lt;SPAN&gt;commended model&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;schema" so I can follow up internally to see what we can improve?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Li&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2019 19:58:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Role-type-configuration-is-supported-only-up-to-API-v2-in-CM/m-p/270598#M207436</guid>
      <dc:creator>lwang</dc:creator>
      <dc:date>2019-09-12T19:58:24Z</dc:date>
    </item>
  </channel>
</rss>

