You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2014/03/20 17:57:28 UTC

Review Request 19474: LogViewer service needs to run on all supervisor nodes

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19474/
-----------------------------------------------------------

Review request for Ambari and Vitalyi Brodetskyi.


Bugs: AMBARI-5148
    https://issues.apache.org/jira/browse/AMBARI-5148


Repository: ambari


Description
-------

Install Storm using Ambari

Add a supervisor node.

Submit a wordcount topology

Try to view logs for a bolt executor thread that runs on the added supervisor
node - Nothing will show in the UI

Cause:

LogViewer service today runs only on the nimbus node. In fact it needs to run
on all supervisor nodes.


Diffs
-----

  ambari-agent/src/main/python/ambari_agent/LiveStatus.py 6f9f4db 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/params.py fa3b17d 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/templates/hadoop-servicegroups.cfg.j2 ead1f4e 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/templates/hadoop-services.cfg.j2 8000cc1 
  ambari-server/src/main/resources/stacks/HDP/2.1/role_command_order.json 4a5935e 
  ambari-server/src/main/resources/stacks/HDP/2.1/services/STORM/metainfo.xml 27b039c 
  ambari-server/src/main/resources/stacks/HDP/2.1/services/STORM/package/scripts/logviewer_server.py 9284ce4 
  ambari-server/src/main/resources/stacks/HDP/2.1/services/STORM/package/scripts/supervisor.py a1f3cca 
  ambari-server/src/test/python/stacks/2.1/STORM/test_storm_logviewer_server.py 9dba7dd 
  ambari-server/src/test/python/stacks/2.1/STORM/test_storm_supervisor.py dc07287 
  ambari-server/src/test/resources/stacks/HDP/2.1.1/services/STORM/metainfo.xml f2bceca 
  contrib/addons/src/addOns/nagios/scripts/nagios_alerts.php ace6ed2 

Diff: https://reviews.apache.org/r/19474/diff/


Testing
-------


Thanks,

Andrew Onischuk


Re: Review Request 19474: LogViewer service needs to run on all supervisor nodes

Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19474/#review37913
-----------------------------------------------------------

Ship it!


Ship It!

- Vitalyi Brodetskyi


On March 20, 2014, 4:57 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19474/
> -----------------------------------------------------------
> 
> (Updated March 20, 2014, 4:57 p.m.)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-5148
>     https://issues.apache.org/jira/browse/AMBARI-5148
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Install Storm using Ambari
> 
> Add a supervisor node.
> 
> Submit a wordcount topology
> 
> Try to view logs for a bolt executor thread that runs on the added supervisor
> node - Nothing will show in the UI
> 
> Cause:
> 
> LogViewer service today runs only on the nimbus node. In fact it needs to run
> on all supervisor nodes.
> 
> 
> Diffs
> -----
> 
>   ambari-agent/src/main/python/ambari_agent/LiveStatus.py 6f9f4db 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/params.py fa3b17d 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/templates/hadoop-servicegroups.cfg.j2 ead1f4e 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/templates/hadoop-services.cfg.j2 8000cc1 
>   ambari-server/src/main/resources/stacks/HDP/2.1/role_command_order.json 4a5935e 
>   ambari-server/src/main/resources/stacks/HDP/2.1/services/STORM/metainfo.xml 27b039c 
>   ambari-server/src/main/resources/stacks/HDP/2.1/services/STORM/package/scripts/logviewer_server.py 9284ce4 
>   ambari-server/src/main/resources/stacks/HDP/2.1/services/STORM/package/scripts/supervisor.py a1f3cca 
>   ambari-server/src/test/python/stacks/2.1/STORM/test_storm_logviewer_server.py 9dba7dd 
>   ambari-server/src/test/python/stacks/2.1/STORM/test_storm_supervisor.py dc07287 
>   ambari-server/src/test/resources/stacks/HDP/2.1.1/services/STORM/metainfo.xml f2bceca 
>   contrib/addons/src/addOns/nagios/scripts/nagios_alerts.php ace6ed2 
> 
> Diff: https://reviews.apache.org/r/19474/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>