ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject git commit: AMBARI-7876. Jobs View: JS error, jobs sticks at loading (alexantonenko)
Date Mon, 20 Oct 2014 19:10:46 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 3d1787b33 -> dc74d045d


AMBARI-7876. Jobs View: JS error, jobs sticks at loading (alexantonenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/dc74d045
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/dc74d045
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/dc74d045

Branch: refs/heads/trunk
Commit: dc74d045d5f39cc129295464747071e6f7f1aea2
Parents: 3d1787b
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Mon Oct 20 22:00:21 2014 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Mon Oct 20 22:06:52 2014 +0300

----------------------------------------------------------------------
 .../ui/app/scripts/mappers/application_status_mapper.js        | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/dc74d045/contrib/views/jobs/src/main/resources/ui/app/scripts/mappers/application_status_mapper.js
----------------------------------------------------------------------
diff --git a/contrib/views/jobs/src/main/resources/ui/app/scripts/mappers/application_status_mapper.js
b/contrib/views/jobs/src/main/resources/ui/app/scripts/mappers/application_status_mapper.js
index 80375b8..44d2063 100644
--- a/contrib/views/jobs/src/main/resources/ui/app/scripts/mappers/application_status_mapper.js
+++ b/contrib/views/jobs/src/main/resources/ui/app/scripts/mappers/application_status_mapper.js
@@ -138,8 +138,8 @@ App.ApplicationStatusMapper = Em.Object.createWithMixins(App.RunPeriodically,
{
    * @method getInstanceParametersSuccessCallback
    */
   getInstanceParametersSuccessCallback: function (data) {
-    var atsURLParameter = data.properties['yarn.ats.url'];
-    var resourceManagerURLParameter = data.properties['yarn.resourcemanager.url'];
+    var atsURLParameter = data.parameters['yarn.ats.url'];
+    var resourceManagerURLParameter = data.parameters['yarn.resourcemanager.url'];
     if (atsURLParameter) {
       App.set('atsURL', atsURLParameter);
       App.set('resourceManagerURL', resourceManagerURLParameter);
@@ -346,4 +346,4 @@ App.ApplicationStatusMapper = Em.Object.createWithMixins(App.RunPeriodically,
{
     }
   }
 
-});
\ No newline at end of file
+});


Mime
View raw message