<?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 + change the parameters of the ambari services by auto proccess in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208826#M66306</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;Have you tried restarting all the agents?&lt;/P&gt;&lt;P&gt;Are the agent hosts able to communicate to ambari server on port 8440?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example: (&lt;/STRONG&gt;from agent machines try to connect to ambari)&lt;/P&gt;&lt;PRE&gt;#  telnet   $AMBARI_HOSTNAME   8440
(OR)
# nc  -v   $AMBARI_HOSTNAME   8440&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Also do you see any error on ambari-server or agent logs?&lt;/P&gt;&lt;PRE&gt;/var/log/ambari-server/ambari-server.log
&lt;BR /&gt;/var/log/ambari-agent/ambari-agent.log&lt;/PRE&gt;&lt;P&gt;.&lt;BR /&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>Wed, 09 Aug 2017 20:18:33 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-08-09T20:18:33Z</dc:date>
    <item>
      <title>Ambari + change the parameters of the ambari services by auto proccess</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208820#M66300</link>
      <description>&lt;P&gt;I performed the following steps in order to update some values in Ambari GUI&lt;/P&gt;&lt;P&gt; 
we have - Ambari cluster GUI &lt;STRONG&gt;( Version 2.5.0.3 )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; 
lets say we want to change the parameter value ( from YARN service ) &lt;/P&gt;&lt;P&gt;yarn.scheduler.minimum-allocation-mb :  from&lt;STRONG&gt; 11776&lt;/STRONG&gt; to &lt;STRONG&gt;11700&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; so we create first the following blueprint.json file as the following: ( under /tmp )&lt;/P&gt;&lt;PRE&gt;curl  -u admin:admin -H "X-Requested-By: ambari" -X GET &lt;A href="http://101.64.36.20:8080/api/v1/clusters/HDP01?format=blueprint" target="_blank"&gt;http://101.64.36.20:8080/api/v1/clusters/HDP01?format=blueprint&lt;/A&gt; -o /tmp/HDP01_blueprint.json&lt;/PRE&gt;&lt;P&gt;we delete the existing blueprint from ambari cluster as the following:&lt;/P&gt;&lt;PRE&gt;curl  -u admin:admin -H "X-Requested-By: ambari" -X DELETE &lt;A href="http://101.64.36.20:8080/api/v1/blueprints/HDP01" target="_blank"&gt;http://101.64.36.20:8080/api/v1/blueprints/HDP01&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;and finally we update the new blueprint.json back to ambari cluster as the following &lt;/P&gt;&lt;PRE&gt;curl -u admin:admin -H "X-Requested-By: ambari" -X POST  &lt;A href="http://101.64.36.20:8080/api/v1/blueprints/HDP01?validate_topology=false" target="_blank"&gt;http://101.64.36.20:8080/api/v1/blueprints/HDP01?validate_topology=false&lt;/A&gt; -d @/tmp/HDP01_blueprint.json&lt;/PRE&gt;&lt;P&gt;
to take affect we restart the ambari server&lt;/P&gt;&lt;PRE&gt;ambari-server restart&lt;/PRE&gt;&lt;P&gt;
we access to the ambari GUI to see the new value 
but the old value appears &lt;/P&gt;&lt;P&gt;please advice what is wrong with my steps? &lt;/P&gt;&lt;P&gt;the target of my procedure is to 
replace the values from the ambari cluster by reconfigure the blueprint.json file&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 19:06:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208820#M66300</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-08-09T19:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari + change the parameters of the ambari services by auto proccess</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208821#M66301</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;Looks similar another thread describing this kind of behaviour: &lt;A href="https://community.hortonworks.com/questions/44942/how-to-updatemodify-a-blueprint-once-the-cluster-i.html" target="_blank"&gt;https://community.hortonworks.com/questions/44942/how-to-updatemodify-a-blueprint-once-the-cluster-i.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Copying few lines from there:&lt;/P&gt;&lt;PRE&gt;While the Blueprint POST-ed to Ambari will not change as the state of a cluster changes, you can consider "exporting" a Blueprint from a live cluster. After a set of changes to the cluster (Config changes, services added/deleted, etc), exporting the Blueprint will provide a Blueprint that describes the current state of the cluster, which would be different than the original Blueprint used to create the cluster.
&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Also i guess you should be using  &lt;STRONG&gt;"-X PUT" (for update) &lt;/STRONG&gt;  instead of POST (For adding new setting)&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 19:29:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208821#M66301</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-08-09T19:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari + change the parameters of the ambari services by auto proccess</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208822#M66302</link>
      <description>&lt;P&gt;OK I will replace to -X PUT&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 19:55:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208822#M66302</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-08-09T19:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari + change the parameters of the ambari services by auto proccess</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208823#M66303</link>
      <description>&lt;P&gt;after changes , ambari cluster seems to be bad ( we have Heartbeat Lost on all services )&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 20:12:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208823#M66303</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-08-09T20:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari + change the parameters of the ambari services by auto proccess</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208824#M66304</link>
      <description>&lt;P&gt;after changes we get Heartbeat Lost for all services ( and I cant start/stop service on all machines )&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 20:13:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208824#M66304</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-08-09T20:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari + change the parameters of the ambari services by auto proccess</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208825#M66305</link>
      <description>&lt;P&gt; after changes we get Heartbeat Lost for all services &lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 20:15:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208825#M66305</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-08-09T20:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari + change the parameters of the ambari services by auto proccess</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208826#M66306</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;Have you tried restarting all the agents?&lt;/P&gt;&lt;P&gt;Are the agent hosts able to communicate to ambari server on port 8440?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example: (&lt;/STRONG&gt;from agent machines try to connect to ambari)&lt;/P&gt;&lt;PRE&gt;#  telnet   $AMBARI_HOSTNAME   8440
(OR)
# nc  -v   $AMBARI_HOSTNAME   8440&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Also do you see any error on ambari-server or agent logs?&lt;/P&gt;&lt;PRE&gt;/var/log/ambari-server/ambari-server.log
&lt;BR /&gt;/var/log/ambari-agent/ambari-agent.log&lt;/PRE&gt;&lt;P&gt;.&lt;BR /&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>Wed, 09 Aug 2017 20:18:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208826#M66306</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-08-09T20:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari + change the parameters of the ambari services by auto proccess</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208827#M66307</link>
      <description>&lt;P&gt;I will try now&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 20:22:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208827#M66307</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-08-09T20:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari + change the parameters of the ambari services by auto proccess</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208828#M66308</link>
      <description>&lt;P&gt;yes we have telnet VIA PORT , and we restart all agent but still with the problem , I think delete the blueprint.json is little risky &lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 20:32:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208828#M66308</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-08-09T20:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari + change the parameters of the ambari services by auto proccess</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208829#M66309</link>
      <description>&lt;P&gt;I just thinking to do the same steps on a other ambari cluster , do you sure that this steps are safe , or maybe you already test it on your LAB?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 20:44:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208829#M66309</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-08-09T20:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari + change the parameters of the ambari services by auto proccess</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208830#M66310</link>
      <description>&lt;P&gt;I just thinking to do the same steps on a other ambari cluster , do you sure that this steps are safe , or maybe you already test it on your LAB?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 20:45:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-change-the-parameters-of-the-ambari-services-by-auto/m-p/208830#M66310</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-08-09T20:45:25Z</dc:date>
    </item>
  </channel>
</rss>

