tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hit...@apache.org
Subject tez git commit: TEZ-1990. Tez UI: DAG details page shows Nan for end time when a DAG is running. (Sreenath Somarajapuram via hitesh)
Date Thu, 19 Feb 2015 18:55:27 GMT
Repository: tez
Updated Branches:
  refs/heads/branch-0.6 169639a34 -> e5e2e3d81


TEZ-1990. Tez UI: DAG details page shows Nan for end time when a DAG is running. (Sreenath
Somarajapuram via hitesh)

(cherry picked from commit 49f76ad9041ef1efaa4fc4a86106dfa55790ad29)


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

Branch: refs/heads/branch-0.6
Commit: e5e2e3d8189f7bde01c517dc9fc1495596e25614
Parents: 169639a
Author: Hitesh Shah <hitesh@apache.org>
Authored: Thu Feb 19 10:54:35 2015 -0800
Committer: Hitesh Shah <hitesh@apache.org>
Committed: Thu Feb 19 10:55:23 2015 -0800

----------------------------------------------------------------------
 CHANGES.txt                                                    | 1 +
 tez-ui/src/main/webapp/app/scripts/helpers/handlebarHelpers.js | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/e5e2e3d8/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 8d4238d..3c1aed2 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -6,6 +6,7 @@ Release 0.6.1: Unreleased
 INCOMPATIBLE CHANGES
 
 ALL CHANGES:
+  TEZ-1990. Tez UI: DAG details page shows Nan for end time when a DAG is running.
   TEZ-2116. Tez UI: dags page filter does not work if more than one filter is specified.
   TEZ-2106. TEZ UI: Display data load time, and add a refresh button for items that can be
refreshed.
   TEZ-2114. Tez UI: task/task attempt status is not available when its running.

http://git-wip-us.apache.org/repos/asf/tez/blob/e5e2e3d8/tez-ui/src/main/webapp/app/scripts/helpers/handlebarHelpers.js
----------------------------------------------------------------------
diff --git a/tez-ui/src/main/webapp/app/scripts/helpers/handlebarHelpers.js b/tez-ui/src/main/webapp/app/scripts/helpers/handlebarHelpers.js
index f9a2a56..0cd6b9d 100644
--- a/tez-ui/src/main/webapp/app/scripts/helpers/handlebarHelpers.js
+++ b/tez-ui/src/main/webapp/app/scripts/helpers/handlebarHelpers.js
@@ -17,14 +17,14 @@
  */
 
 /**
-   * formats the given unix timestamp. returns NaN if its not a number.
+   * formats the given unix timestamp. returns Not Available if its not a number.
    *
    * @param {number} unixtimestamp 
    * @returns {string} 
    * @method formatUnixTimestamp
    */
 Em.Handlebars.helper('formatUnixTimestamp', function(timestamp) {
-	if (!App.Helpers.number.isValidInt(timestamp)) return 'NaN';
+	if (!App.Helpers.number.isValidInt(timestamp)) return 'Not Available';
 	if (timestamp > 0) {
 		return App.Helpers.date.dateFormat(timestamp);
 	}


Mime
View raw message