tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject tez git commit: TEZ-2927. Tez UI: Graciously fail when system-metrics-publisher is disabled (sree)
Date Thu, 05 Nov 2015 03:26:57 GMT
Repository: tez
Updated Branches:
  refs/heads/master 3d856ef69 -> 69a69d73f


TEZ-2927. Tez UI: Graciously fail when system-metrics-publisher is disabled (sree)


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

Branch: refs/heads/master
Commit: 69a69d73ffa57ec603fccc04428d811e936c9a73
Parents: 3d856ef
Author: Sreenath Somarajapuram <sree@apache.org>
Authored: Thu Nov 5 08:56:28 2015 +0530
Committer: Sreenath Somarajapuram <sree@apache.org>
Committed: Thu Nov 5 08:56:28 2015 +0530

----------------------------------------------------------------------
 CHANGES.txt                                                   | 1 +
 .../main/webapp/app/scripts/controllers/dags_controller.js    | 7 ++-----
 2 files changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/69a69d73/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index bc94af5..6e27fb5 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -7,6 +7,7 @@ INCOMPATIBLE CHANGES
   TEZ-2679. Admin forms of launch env settings
 
 ALL CHANGES:
+  TEZ-2927. Tez UI: Graciously fail when system-metrics-publisher is disabled
   TEZ-2915. Tez UI: Getting back to the DAG details page is difficult
   TEZ-2895. Tez UI: Add option to enable and disable in-progress
   TEZ-2894. Tez UI: Disable sorting for few columns while in progress. Display an alert on
trying to sort them

http://git-wip-us.apache.org/repos/asf/tez/blob/69a69d73/tez-ui/src/main/webapp/app/scripts/controllers/dags_controller.js
----------------------------------------------------------------------
diff --git a/tez-ui/src/main/webapp/app/scripts/controllers/dags_controller.js b/tez-ui/src/main/webapp/app/scripts/controllers/dags_controller.js
index 2360e76..457c5d8 100644
--- a/tez-ui/src/main/webapp/app/scripts/controllers/dags_controller.js
+++ b/tez-ui/src/main/webapp/app/scripts/controllers/dags_controller.js
@@ -144,10 +144,7 @@ App.DagsController = Em.ObjectController.extend(App.PaginatedContentMixin,
App.C
                 app.get('finalAppStatus')
               ));
             }
-          })
-          .catch(function(error) {
-            Em.Logger.error('Failed to fetch appDetail' + error);
-          });
+          }).catch(function(error) {});
 
           if (dag.get('status') === 'RUNNING') {
             App.Helpers.misc.removeRecord(store, 'dagProgress', dag.get('id'));
@@ -304,7 +301,7 @@ App.DagsController = Em.ObjectController.extend(App.PaginatedContentMixin,
App.C
           if(appId) {
             return store.find('appDetail', appId).then(function (app) {
               return app.get('queue');
-            });
+            }).catch(function(error) {});
           }
         }
       },


Mime
View raw message