<?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 property update through Ambari API in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hbase-property-update-through-Ambari-API/m-p/148913#M40477</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/11354/rp346.html"&gt;roy p&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What error do you see in the "/var/log/hbase/hbase-hbase-master-host.example.com.log" log file while trying to restart HMaster ?  &lt;/P&gt;&lt;PRE&gt;Remember that the combined value cannot exceed 0.8. Please check the settings for hbase.regionserver.global.memstore.size and hfile.block.cache.size in your configuration. hbase.regionserver.global.memstore.size is 0.6 hfile.block.cache.size is 0.4&lt;/PRE&gt;&lt;P&gt;Also what is the value for "hfile.block.cache.size" at your end?&lt;/P&gt;</description>
    <pubDate>Tue, 13 Sep 2016 22:22:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-09-13T22:22:46Z</dc:date>
    <item>
      <title>Hbase property update through Ambari API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hbase-property-update-through-Ambari-API/m-p/148912#M40476</link>
      <description>&lt;P&gt;I am trying to update Hbase properties through Ambari API and was following &lt;A href="https://azure.microsoft.com/en-us/documentation/articles/hdinsight-hadoop-manage-ambari-rest-api/"&gt;this&lt;/A&gt; document.&lt;/P&gt;&lt;P&gt;Here are the steps I followed :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Dumped the existing config into newconfig.json&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;curl -u "admin:admin" -G "https://myhbase.net/api/v1/clusters/myhbase/configurations?type=hbase-site&amp;amp;tag=TOPOLOGY_RESOLVED" | jq --arg newtag $(echo version$(date +%s%N)) '.items[] | del(.href, .version, .Config) | .tag |= $newtag | {"Clusters": {"desired_config": .}}' &amp;gt; newconfig.json&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;Then Modified the property from `0.4` to `0.6` in newconfig.json, also version number&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;"hbase.regionserver.global.memstore.size": "0.6",&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;Then apply the modified config&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;cat newconfig.json | curl -u "admin:admin" -H "X-Requested-By: ambari" -X PUT -d "@-" "https://myhbase.net/api/v1/clusters/myhbase"&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;Then restarted the HBase&lt;/LI&gt;&lt;LI&gt;Stop&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;echo '{"RequestInfo": {"context" :"Stopping the Hbase service"}, "Body": {"ServiceInfo": {"state": "INSTALLED"}}}' | curl -u "admin:admin" -H "X-Requested-By: ambari" -X PUT -d "@-" "https://myhbase.net/api/v1/clusters/myhbase/services/HBASE"&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;Start&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;echo '{"RequestInfo": {"context" :"Restarting the Hbase service"}, "Body": {"ServiceInfo": {"state": "STARTED"}}}' | curl -u "admin:admin" -H "X-Requested-By: ambari" -X PUT -d "@-" "https://myhbase.net/api/v1/clusters/myhbase/services/HBASE"&lt;/PRE&gt;&lt;P&gt;But after restart Hbase master &amp;amp; region server went down &amp;amp; stuck into restart mode, where they were getting restarted.&lt;/P&gt;&lt;P&gt;Anyone know  what wrong I ma doing here ? is there any better way to do this through Ambari API ?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 20:42:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hbase-property-update-through-Ambari-API/m-p/148912#M40476</guid>
      <dc:creator>Roy</dc:creator>
      <dc:date>2016-09-13T20:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase property update through Ambari API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hbase-property-update-through-Ambari-API/m-p/148913#M40477</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/11354/rp346.html"&gt;roy p&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What error do you see in the "/var/log/hbase/hbase-hbase-master-host.example.com.log" log file while trying to restart HMaster ?  &lt;/P&gt;&lt;PRE&gt;Remember that the combined value cannot exceed 0.8. Please check the settings for hbase.regionserver.global.memstore.size and hfile.block.cache.size in your configuration. hbase.regionserver.global.memstore.size is 0.6 hfile.block.cache.size is 0.4&lt;/PRE&gt;&lt;P&gt;Also what is the value for "hfile.block.cache.size" at your end?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 22:22:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hbase-property-update-through-Ambari-API/m-p/148913#M40477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-09-13T22:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase property update through Ambari API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hbase-property-update-through-Ambari-API/m-p/148914#M40478</link>
      <description>&lt;P&gt;After correcting values for&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hbase.regionserver.global.memstore.size&lt;/STRONG&gt; and &lt;STRONG&gt;hfile.block.cache.size&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;everything looks good.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2016 03:46:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hbase-property-update-through-Ambari-API/m-p/148914#M40478</guid>
      <dc:creator>Roy</dc:creator>
      <dc:date>2016-09-15T03:46:20Z</dc:date>
    </item>
  </channel>
</rss>

