Return-Path: X-Original-To: apmail-tez-commits-archive@minotaur.apache.org Delivered-To: apmail-tez-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0414218B1B for ; Thu, 5 Nov 2015 03:30:03 +0000 (UTC) Received: (qmail 41920 invoked by uid 500); 5 Nov 2015 03:30:03 -0000 Delivered-To: apmail-tez-commits-archive@tez.apache.org Received: (qmail 41873 invoked by uid 500); 5 Nov 2015 03:30:02 -0000 Mailing-List: contact commits-help@tez.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tez.apache.org Delivered-To: mailing list commits@tez.apache.org Received: (qmail 41864 invoked by uid 99); 5 Nov 2015 03:30:02 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Nov 2015 03:30:02 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id BADE9DFCE4; Thu, 5 Nov 2015 03:30:02 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sree@apache.org To: commits@tez.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: tez git commit: TEZ-2927. Tez UI: Graciously fail when system-metrics-publisher is disabled (sree) Date: Thu, 5 Nov 2015 03:30:02 +0000 (UTC) Repository: tez Updated Branches: refs/heads/branch-0.7 e1bd93172 -> b99bd29b7 TEZ-2927. Tez UI: Graciously fail when system-metrics-publisher is disabled (sree) (cherry picked from commit 69a69d73ffa57ec603fccc04428d811e936c9a73) Project: http://git-wip-us.apache.org/repos/asf/tez/repo Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/b99bd29b Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/b99bd29b Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/b99bd29b Branch: refs/heads/branch-0.7 Commit: b99bd29b71de12bbdbc71e65a9f968d3d2ee258d Parents: e1bd931 Author: Sreenath Somarajapuram Authored: Thu Nov 5 08:56:28 2015 +0530 Committer: Sreenath Somarajapuram Committed: Thu Nov 5 08:59:32 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/b99bd29b/CHANGES.txt ---------------------------------------------------------------------- diff --git a/CHANGES.txt b/CHANGES.txt index d5ad786..0049610 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/b99bd29b/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) {}); } } },