You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmitro Lisnichenko <dl...@hortonworks.com> on 2014/04/30 13:22:40 UTC
Review Request 20889: Start Services command gets stuck for about 30 mins
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20889/
-----------------------------------------------------------
Review request for Ambari and Vitalyi Brodetskyi.
Bugs: AMBARI-5633
https://issues.apache.org/jira/browse/AMBARI-5633
Repository: ambari
Description
-------
Now execution of status command takes ~100 milliseconds per command. Also added hostname caching and noticed, that every 2 or 3 status commands heartbeat was generated. This can cause high server load on clusters with large number of nodes. Now status command don't cause often heartbeats.
Diffs
-----
ambari-agent/src/main/python/ambari_agent/CommandStatusDict.py 15e7e2e
ambari-agent/src/main/python/ambari_agent/hostname.py 063351e
ambari-agent/src/test/python/ambari_agent/TestCommandStatusDict.py 8751479
ambari-agent/src/test/python/ambari_agent/TestHostname.py 7d447b5
Diff: https://reviews.apache.org/r/20889/diff/
Testing
-------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Main ....................................... SUCCESS [1.897s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [0.306s]
[INFO] Ambari Web ........................................ SUCCESS [5.150s]
[INFO] Ambari Views ...................................... SUCCESS [1.445s]
[INFO] Ambari Server ..................................... SUCCESS [12:54.207s]
[INFO] Ambari Agent ...................................... SUCCESS [6.012s]
[INFO] Ambari Client ..................................... SUCCESS [0.268s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13:10.048s
[INFO] Finished at: Wed Apr 30 14:08:28 FET 2014
[INFO] Final Memory: 25M/179M
[INFO] ------------------------------------------------------------------------
Thanks,
Dmitro Lisnichenko
Re: Review Request 20889: Start Services command gets stuck for about 30 mins
Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20889/#review41819
-----------------------------------------------------------
Ship it!
Ship It!
- Vitalyi Brodetskyi
On April 30, 2014, 11:51 a.m., Dmitro Lisnichenko wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20889/
> -----------------------------------------------------------
>
> (Updated April 30, 2014, 11:51 a.m.)
>
>
> Review request for Ambari and Vitalyi Brodetskyi.
>
>
> Bugs: AMBARI-5633
> https://issues.apache.org/jira/browse/AMBARI-5633
>
>
> Repository: ambari
>
>
> Description
> -------
>
> Now execution of status command takes ~100 milliseconds per command. Also added hostname caching and noticed, that every 2 or 3 status commands heartbeat was generated. This can cause high server load on clusters with large number of nodes. Now status command don't cause often heartbeats.
>
>
> Diffs
> -----
>
> ambari-agent/src/main/python/ambari_agent/CommandStatusDict.py 15e7e2e
> ambari-agent/src/main/python/ambari_agent/hostname.py 063351e
> ambari-agent/src/test/python/ambari_agent/TestCommandStatusDict.py 8751479
> ambari-agent/src/test/python/ambari_agent/TestHostname.py 7d447b5
>
> Diff: https://reviews.apache.org/r/20889/diff/
>
>
> Testing
> -------
>
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Ambari Main ....................................... SUCCESS [1.897s]
> [INFO] Apache Ambari Project POM ......................... SUCCESS [0.306s]
> [INFO] Ambari Web ........................................ SUCCESS [5.150s]
> [INFO] Ambari Views ...................................... SUCCESS [1.445s]
> [INFO] Ambari Server ..................................... SUCCESS [12:54.207s]
> [INFO] Ambari Agent ...................................... SUCCESS [6.012s]
> [INFO] Ambari Client ..................................... SUCCESS [0.268s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 13:10.048s
> [INFO] Finished at: Wed Apr 30 14:08:28 FET 2014
> [INFO] Final Memory: 25M/179M
> [INFO] ------------------------------------------------------------------------
>
>
> Thanks,
>
> Dmitro Lisnichenko
>
>
Re: Review Request 20889: Start Services command gets stuck for about 30 mins
Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20889/
-----------------------------------------------------------
(Updated April 30, 2014, 11:51 a.m.)
Review request for Ambari and Vitalyi Brodetskyi.
Bugs: AMBARI-5633
https://issues.apache.org/jira/browse/AMBARI-5633
Repository: ambari
Description
-------
Now execution of status command takes ~100 milliseconds per command. Also added hostname caching and noticed, that every 2 or 3 status commands heartbeat was generated. This can cause high server load on clusters with large number of nodes. Now status command don't cause often heartbeats.
Diffs (updated)
-----
ambari-agent/src/main/python/ambari_agent/CommandStatusDict.py 15e7e2e
ambari-agent/src/main/python/ambari_agent/hostname.py 063351e
ambari-agent/src/test/python/ambari_agent/TestCommandStatusDict.py 8751479
ambari-agent/src/test/python/ambari_agent/TestHostname.py 7d447b5
Diff: https://reviews.apache.org/r/20889/diff/
Testing
-------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Main ....................................... SUCCESS [1.897s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [0.306s]
[INFO] Ambari Web ........................................ SUCCESS [5.150s]
[INFO] Ambari Views ...................................... SUCCESS [1.445s]
[INFO] Ambari Server ..................................... SUCCESS [12:54.207s]
[INFO] Ambari Agent ...................................... SUCCESS [6.012s]
[INFO] Ambari Client ..................................... SUCCESS [0.268s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13:10.048s
[INFO] Finished at: Wed Apr 30 14:08:28 FET 2014
[INFO] Final Memory: 25M/179M
[INFO] ------------------------------------------------------------------------
Thanks,
Dmitro Lisnichenko