You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by xi...@apache.org on 2014/07/18 00:31:53 UTC
git commit: AMBARI-6529. UI shows incorrect percentage completion on
large cluster.(xiwang)
Repository: ambari
Updated Branches:
refs/heads/trunk 110ac80ec -> d90c8eed8
AMBARI-6529. UI shows incorrect percentage completion on large cluster.(xiwang)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/d90c8eed
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d90c8eed
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d90c8eed
Branch: refs/heads/trunk
Commit: d90c8eed8cc42714ff2fbb700cc4663115b8606e
Parents: 110ac80
Author: Xi Wang <xi...@apache.org>
Authored: Thu Jul 17 13:36:00 2014 -0700
Committer: Xi Wang <xi...@apache.org>
Committed: Thu Jul 17 15:27:49 2014 -0700
----------------------------------------------------------------------
.../app/controllers/global/background_operations_controller.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/d90c8eed/ambari-web/app/controllers/global/background_operations_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/global/background_operations_controller.js b/ambari-web/app/controllers/global/background_operations_controller.js
index a52c7ac..a3452ef 100644
--- a/ambari-web/app/controllers/global/background_operations_controller.js
+++ b/ambari-web/app/controllers/global/background_operations_controller.js
@@ -191,7 +191,7 @@ App.BackgroundOperationsController = Em.Controller.extend({
currentRequestIds.push(request.Requests.id);
if (rq) {
- rq.set('progress', Math.ceil(request.Requests.progress_percent));
+ rq.set('progress', Math.floor(request.Requests.progress_percent));
rq.set('status', request.Requests.request_status);
rq.set('isRunning', isRunning);
rq.set('startTime', request.Requests.start_time);