<?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: ambari + vlaue from ambari GUI is diff from the configs.sh script in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-vlaue-from-ambari-GUI-is-diff-from-the-configs-sh/m-p/222802#M66920</link>
    <description>&lt;P&gt;ok , I will tell you why I ask these questions , our target is to alignment old blueprint values ( usually they are ambari that installed last year or more ) with our current ambari blueprint values , so we make diff between the old amanari system to the new ambari system , and if values are diff then we replaced the old with the current value , so do you have suggestion regarding that some value in our current cluster are diff between the script output to the ambari cluster ?&lt;/P&gt;&lt;P&gt;second - dose the - &lt;STRONG&gt;%HOSTGROUP::host_group , is only the one &lt;/STRONG&gt;value that is diff between the script to the ambari GUI ? ( if not do we can identify all parameters that values from config.sh script will be diff from ambari GUI ? )&lt;/P&gt;&lt;P&gt;remark - we intend to set all amabri parameters ( old Amabri systems ) with the config.sh script&lt;/P&gt;</description>
    <pubDate>Sun, 20 Aug 2017 17:07:14 GMT</pubDate>
    <dc:creator>mike_bronson7</dc:creator>
    <dc:date>2017-08-20T17:07:14Z</dc:date>
    <item>
      <title>ambari + vlaue from ambari GUI is diff from the configs.sh script</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-vlaue-from-ambari-GUI-is-diff-from-the-configs-sh/m-p/222798#M66916</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;I am using the script - /var/lib/ambari-server/resources/scripts/configs.sh
get localhost cluster_name config_type&lt;/P&gt;&lt;P&gt;** about the script - &lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Modify+configurations" target="_blank"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Modify+configurations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To read parameters and values from the ambari cluster&lt;/P&gt;&lt;P&gt;But we noticed that some parameters that script
read the values , are diff from - Values from ambari GUI i&lt;/P&gt;&lt;P&gt;For example let’s take the parameter - templeton.hive.properties
(hive service )&lt;/P&gt;&lt;P&gt;From ambari GUI we get the value:&lt;/P&gt;&lt;P&gt;hive.metastore.local=false,hive.metastore.uris=thrift://master98.tube13.com:9083\,thrift://%HOSTGROUP::host_group_4%:9083,hive.metastore.sasl.enabled=false,hive.metastore.execute.setugi=true&lt;/P&gt;&lt;P&gt;but when we run the script we get&lt;/P&gt;&lt;P&gt;/var/lib/ambari-server/resources/scripts/configs.sh get
localhost HDP01 webhcat-site |grep templeton.hive.properties&lt;/P&gt;&lt;P&gt;"templeton.hive.properties" :
"hive.metastore.local=false,hive.metastore.uris=thrift://%HOSTGROUP::host_group_1%:9083\\,thrift://%HOSTGROUP::host_group_4%:9083,hive.metastore.sasl.enabled=false,hive.metastore.execute.setugi=true",&lt;/P&gt;&lt;P&gt;Why from ambari GUI value is different ??&lt;/P&gt;&lt;P&gt;** as we can see the diff is about server name defined in the value ( from ambari GUI )&lt;/P&gt;&lt;P&gt;Second if we want to update the value of templeton.hive.properties
parameter , from the script , so what is the real value ?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 21:17:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-vlaue-from-ambari-GUI-is-diff-from-the-configs-sh/m-p/222798#M66916</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-08-18T21:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: ambari + vlaue from ambari GUI is diff from the configs.sh script</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-vlaue-from-ambari-GUI-is-diff-from-the-configs-sh/m-p/222799#M66917</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@uri ben-ari&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You are seeing the values containing the&lt;STRONG&gt; "%HOSTGROUP::host_group_4" &lt;/STRONG&gt; instead of actual hostname, This is because you might have created the cluster using blueprint. Inside the blueprint these placeholders are usually used.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;- Please check which tag version config are you checking?  Is it INITIAL ,  TOPOLOGY_RESOLVED or any specific version like "version1503221811491297915" ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/api/v1/clusters/Sandbox/configurations?type=webhcat-site&amp;amp;tag=INITIAL" target="_blank"&gt;http://localhost:8080/api/v1/clusters/Sandbox/configurations?type=webhcat-site&amp;amp;tag=INITIAL&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://localhost:8080/api/v1/clusters/Sandbox/configurations?type=webhcat-site&amp;amp;tag=TOPOLOGY_RESOLVED" target="_blank"&gt;http://localhost:8080/api/v1/clusters/Sandbox/configurations?type=webhcat-site&amp;amp;tag=TOPOLOGY_RESOLVED&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://localhost:8080/api/v1/clusters/Sandbox/configurations?type=webhcat-site&amp;amp;tag=version1503221811491297915" target="_blank"&gt;http://localhost:8080/api/v1/clusters/Sandbox/configurations?type=webhcat-site&amp;amp;tag=version1503221811491297915&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;- We can set any specific property value of any config type using "config.sh set" command.&lt;BR /&gt;&lt;STRONG&gt;Syntax: &lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;/var/lib/ambari-server/resources/scripts/configs.sh set $AMBARI_HOST  $CLUSTER_NAME webhcat-site  $KEY  $VALUE&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;  If we want to change the "templeton.exec.timeout" property value then we can use "set" command as following:&lt;/P&gt;&lt;PRE&gt;/var/lib/ambari-server/resources/scripts/configs.sh set localhost Sandbox webhcat-site  "templeton.exec.timeout" "60001"&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reference:  &lt;/STRONG&gt;&lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Modify+configurations" target="_blank"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Modify+configurations&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Aug 2017 16:42:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-vlaue-from-ambari-GUI-is-diff-from-the-configs-sh/m-p/222799#M66917</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-08-20T16:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: ambari + vlaue from ambari GUI is diff from the configs.sh script</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-vlaue-from-ambari-GUI-is-diff-from-the-configs-sh/m-p/222800#M66918</link>
      <description>&lt;P&gt;so it will be ok if I will return the value as the first version ? (V1) - "&lt;A href="http://hive.metastore.local/"&gt;hive.metastore.local&lt;/A&gt;=false,hive.metastore.uris=thrift://%HOSTGROUP::host_group_1%:9083\\,thrift://%HOSTGROUP::host_group_4%:9083,hive.metastore.sasl.enabled=false,hive.metastore.execute.setugi=true"&lt;/P&gt;</description>
      <pubDate>Sun, 20 Aug 2017 16:57:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-vlaue-from-ambari-GUI-is-diff-from-the-configs-sh/m-p/222800#M66918</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-08-20T16:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: ambari + vlaue from ambari GUI is diff from the configs.sh script</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-vlaue-from-ambari-GUI-is-diff-from-the-configs-sh/m-p/222801#M66919</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@uri ben-ari&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;No,  When you plan to update the values, then  you should replace the&lt;STRONG&gt; "%HOSTGROUP::host_group_1%"&lt;/STRONG&gt;  and &lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%HOSTGROUP::host_group_4%&lt;/STRONG&gt;"  placeholders with the actual Hostnames. &lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:  (using Sandbox Values here for example)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# /var/lib/ambari-server/resources/scripts/configs.sh set localhost Sandbox webhcat-site  "templeton.hive.properties" "hive.metastore.local=false,hive.metastore.uris=thrift://sandbox.hortonworks.com:9083,hive.metastore.sasl.enabled=false,hive.metastore.execute.setugi=true,hive.metastore.warehouse.dir=/apps/hive/warehouse"&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Sun, 20 Aug 2017 16:59:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-vlaue-from-ambari-GUI-is-diff-from-the-configs-sh/m-p/222801#M66919</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-08-20T16:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: ambari + vlaue from ambari GUI is diff from the configs.sh script</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-vlaue-from-ambari-GUI-is-diff-from-the-configs-sh/m-p/222802#M66920</link>
      <description>&lt;P&gt;ok , I will tell you why I ask these questions , our target is to alignment old blueprint values ( usually they are ambari that installed last year or more ) with our current ambari blueprint values , so we make diff between the old amanari system to the new ambari system , and if values are diff then we replaced the old with the current value , so do you have suggestion regarding that some value in our current cluster are diff between the script output to the ambari cluster ?&lt;/P&gt;&lt;P&gt;second - dose the - &lt;STRONG&gt;%HOSTGROUP::host_group , is only the one &lt;/STRONG&gt;value that is diff between the script to the ambari GUI ? ( if not do we can identify all parameters that values from config.sh script will be diff from ambari GUI ? )&lt;/P&gt;&lt;P&gt;remark - we intend to set all amabri parameters ( old Amabri systems ) with the config.sh script&lt;/P&gt;</description>
      <pubDate>Sun, 20 Aug 2017 17:07:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-vlaue-from-ambari-GUI-is-diff-from-the-configs-sh/m-p/222802#M66920</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-08-20T17:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: ambari + vlaue from ambari GUI is diff from the configs.sh script</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-vlaue-from-ambari-GUI-is-diff-from-the-configs-sh/m-p/222803#M66921</link>
      <description>&lt;P&gt;Jay - regarding my last question , is it possible to find out what are the parameters that we cant  set from the config.sh script ? ( for example all params with % ? )&lt;/P&gt;</description>
      <pubDate>Sun, 20 Aug 2017 21:38:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-vlaue-from-ambari-GUI-is-diff-from-the-configs-sh/m-p/222803#M66921</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-08-20T21:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: ambari + vlaue from ambari GUI is diff from the configs.sh script</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-vlaue-from-ambari-GUI-is-diff-from-the-configs-sh/m-p/222804#M66922</link>
      <description>&lt;P&gt;Jay - some of our ambari clusters are old  ( they installed before 6-8 month ) , so what is the best approach to alignments the old ambari system ( I mean the parameters with the values ) so they will have the full parameters as our current ambari clusters ? &lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2017 01:35:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-vlaue-from-ambari-GUI-is-diff-from-the-configs-sh/m-p/222804#M66922</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-08-21T01:35:38Z</dc:date>
    </item>
  </channel>
</rss>

