<?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: HBase configuration via Cloudera Manager in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-configuration-via-Cloudera-Manager/m-p/77085#M9465</link>
    <description>Thanks&lt;BR /&gt;&lt;BR /&gt;It is what I wanted to do.&lt;BR /&gt;And how can I modifiy the hbase_service_config_safety_valve" with the Api.&lt;BR /&gt;I didn't find setter ou anything else in python.&lt;BR /&gt;&lt;BR /&gt;Thank you very much</description>
    <pubDate>Wed, 18 Jul 2018 11:18:53 GMT</pubDate>
    <dc:creator>yassine24</dc:creator>
    <dc:date>2018-07-18T11:18:53Z</dc:date>
    <item>
      <title>HBase configuration via Cloudera Manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-configuration-via-Cloudera-Manager/m-p/33461#M9459</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to add rows:&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;name&amp;gt;hfile.format.version&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;value&amp;gt;3&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;into hbase-site.xml&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do it via ClouderaManager?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using&amp;nbsp;&lt;SPAN&gt;CDH 5.4.7.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In case I add thow rows directly /etc/hbase/conf/hbase-site.xml it does not affect hbase.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Br, Margusja&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:46:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-configuration-via-Cloudera-Manager/m-p/33461#M9459</guid>
      <dc:creator>margusja</dc:creator>
      <dc:date>2022-09-16T09:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: HBase configuration via Cloudera Manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-configuration-via-Cloudera-Manager/m-p/33475#M9460</link>
      <description>&lt;P&gt;Through CM,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Go to &lt;STRONG&gt;HBase &amp;gt;&amp;gt; Configuration&lt;/STRONG&gt; and search for &lt;STRONG&gt;hbase-site&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;You should see a &lt;STRONG&gt;HBase Advanced Configuration Snippet (Safety Valve).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Enter the xml in these depending on wherever you want (RegionServer, Master, REST etc).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Through CM, all the non-defaults that you want to add to the hbase-site.xml must be done through the "Safety Valve".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2015 16:47:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-configuration-via-Cloudera-Manager/m-p/33475#M9460</guid>
      <dc:creator>cchahadoop</dc:creator>
      <dc:date>2015-10-27T16:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: HBase configuration via Cloudera Manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-configuration-via-Cloudera-Manager/m-p/77056#M9461</link>
      <description>&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;I want to do the same but with command line is it possible ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I want to add some properties in hbase-site.xml but with command line like curl or others.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible with some API or anything else ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2018 19:02:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-configuration-via-Cloudera-Manager/m-p/77056#M9461</guid>
      <dc:creator>yassine24</dc:creator>
      <dc:date>2018-07-17T19:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: HBase configuration via Cloudera Manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-configuration-via-Cloudera-Manager/m-p/77058#M9462</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/28006"&gt;@yassine24&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, you can use the API.&amp;nbsp; Try searching the community for "safety valve api" and you will get some hits.&amp;nbsp; I don't have specific examples off-hand.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cloudera Manager API docs are here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://cloudera.github.io/cm_api/" target="_blank"&gt;https://cloudera.github.io/cm_api/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Python and Java, thre are examples included with the API download.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2018 19:30:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-configuration-via-Cloudera-Manager/m-p/77058#M9462</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2018-07-17T19:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: HBase configuration via Cloudera Manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-configuration-via-Cloudera-Manager/m-p/77059#M9463</link>
      <description>&lt;P&gt;Thanks for answering&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was trying to use cm_api in python.&lt;/P&gt;&lt;P&gt;But I didn't find any function to update the hbase-site.xml.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the way to update some parameters but not in one shot, I had to modifiy the parameters for the master alone, for regionserver alone, and they were some parameters I didn't find them with the Api.&lt;/P&gt;&lt;P&gt;But with&lt;SPAN&gt;&amp;nbsp;Advanced Configuration Snippet&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;safety valve from the CM UI, it's more easily because I can update the hbase-site.xml in one shot but manually not automatically unfortunately...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to update the hbase-site.xml in one shot with a function from an APi or anything else&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you sir&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2018 21:10:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-configuration-via-Cloudera-Manager/m-p/77059#M9463</guid>
      <dc:creator>yassine24</dc:creator>
      <dc:date>2018-07-17T21:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: HBase configuration via Cloudera Manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-configuration-via-Cloudera-Manager/m-p/77060#M9464</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/28006"&gt;@yassine24&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm still not quite sure what you are trying to do exactly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is no function that will update specific configuration parameters.&amp;nbsp; Rather, you would need to update attributes for particular services and roles.&amp;nbsp; For example, "&lt;STRONG&gt;&lt;SPAN class="objectBox objectBox-string"&gt;hbase_service_config_safety_valve&lt;/SPAN&gt;"&lt;/STRONG&gt; is the attribute for service level safety valve for Hbase.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can see it and other service-level attributes with the following REST api:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cm_host:cm_port/api/v19/clusters/Cluster 1/services/HBASE-1/config?view=full&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above assumes your cluster is named "Cluster 1" and your Hbase service is HBASE-1.&amp;nbsp; Adjust for your configuration as necessary.&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>Tue, 17 Jul 2018 22:27:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-configuration-via-Cloudera-Manager/m-p/77060#M9464</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2018-07-17T22:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: HBase configuration via Cloudera Manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-configuration-via-Cloudera-Manager/m-p/77085#M9465</link>
      <description>Thanks&lt;BR /&gt;&lt;BR /&gt;It is what I wanted to do.&lt;BR /&gt;And how can I modifiy the hbase_service_config_safety_valve" with the Api.&lt;BR /&gt;I didn't find setter ou anything else in python.&lt;BR /&gt;&lt;BR /&gt;Thank you very much</description>
      <pubDate>Wed, 18 Jul 2018 11:18:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-configuration-via-Cloudera-Manager/m-p/77085#M9465</guid>
      <dc:creator>yassine24</dc:creator>
      <dc:date>2018-07-18T11:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: HBase configuration via Cloudera Manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-configuration-via-Cloudera-Manager/m-p/77123#M9466</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/28006"&gt;@yassine24&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basic information about how to query and update Service config via python:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cloudera.github.io/cm_api/docs/python-client/#configuring-services-and-roles" target="_blank"&gt;http://cloudera.github.io/cm_api/docs/python-client/#configuring-services-and-roles&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I pulled this from the Community ... it shows how to update an hdfs safety valve via REST API:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;curl -iv -X PUT -H "Content-Type:application/json" -H "Accept:application/json" -d '{"items":[{ "name": "core_site_safety_valve","value": "&amp;lt;property&amp;gt;&amp;lt;name&amp;gt;hadoop.proxyuser.ztsps.users&amp;lt;/name&amp;gt;&amp;lt;value&amp;gt;*&amp;lt;/value&amp;gt;&amp;lt;/property&amp;gt;&amp;lt;property&amp;gt;&amp;lt;name&amp;gt;hadoop.proxyuser.ztsps.groups&amp;lt;/name&amp;gt;&amp;lt;value&amp;gt;*&amp;lt;/value&amp;gt;&amp;lt;/property&amp;gt;"}]}' http://admin:admin@10.1.0.1:7180/api/v12/clusters/cluster/services/hdfs/config &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;You can try using the above information to update the safety valve for &lt;STRONG&gt;&lt;SPAN class="objectBox objectBox-string"&gt;hbase_service_config_safety_valve&lt;/SPAN&gt;&lt;/STRONG&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;NOTE that when updating the safety valve, what you update will replace what was there.&amp;nbsp; If you want to "add" a property to the safety valve, you need to include all the properties you want as an end result.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 21:31:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-configuration-via-Cloudera-Manager/m-p/77123#M9466</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2018-07-18T21:31:07Z</dc:date>
    </item>
  </channel>
</rss>

