ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez" <afernan...@hortonworks.com>
Subject Re: Review Request 26108: Admin View: deploying status should update automatically
Date Fri, 26 Sep 2014 23:04:16 GMT

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

(Updated Sept. 26, 2014, 11:04 p.m.)


Review request for Ambari, Jaimin Jetly and Yusaku Sako.


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


Repository: ambari


Description
-------

When a view is being deployed, its status in Ambari Admin shows as "Deploying...", but when
the background task finishes, the status does not change to completed.


Diffs
-----

  ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/ambariViews/ViewsListCtrl.js
ed97a19 
  ambari-admin/src/main/resources/ui/admin-web/app/scripts/services/View.js e30dcf3 

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


Testing
-------

Verified that it works by running the following steps.

Copy changesto VM:
1. cd /var/lib/ambari-server/resources/views/
2. cp /vagrant/ambari/ambari-admin/target/ambari-admin-1.3.0-SNAPSHOT.jar /var/lib/ambari-server/resources/views/ambari-admin-1.7.0.190.jar
3. rm -rf work/ADMIN_VIEW{1.0.0}/
4. ambari-server restart

Cause View to be registered in background task:
1. rm -rf work/ADMIN_VIEW{1.0.0}/
2. ambari-server restart
3. open two browser tabs to the Admin Views page, and verify that both initially show "Deploying...",
and eventually complete with the View version without having to refresh the browser


Thanks,

Alejandro Fernandez


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message