You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2014/02/13 16:43:36 UTC

git commit: AMBARI-4659. Jobs start/end/duration values not showing up (alexantonenko)

Updated Branches:
  refs/heads/trunk 1d5a46214 -> 9537488e7


AMBARI-4659. Jobs start/end/duration values not showing up (alexantonenko)


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

Branch: refs/heads/trunk
Commit: 9537488e766592a424577cff2cbc32aceb1e57a3
Parents: 1d5a462
Author: Alex Antonenko <hi...@gmail.com>
Authored: Thu Feb 13 17:41:34 2014 +0200
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Thu Feb 13 17:41:34 2014 +0200

----------------------------------------------------------------------
 ambari-web/app/mappers/jobs/hive_jobs_mapper.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/9537488e/ambari-web/app/mappers/jobs/hive_jobs_mapper.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mappers/jobs/hive_jobs_mapper.js b/ambari-web/app/mappers/jobs/hive_jobs_mapper.js
index c33312b..0bac860 100644
--- a/ambari-web/app/mappers/jobs/hive_jobs_mapper.js
+++ b/ambari-web/app/mappers/jobs/hive_jobs_mapper.js
@@ -38,10 +38,10 @@ App.hiveJobsMapper = App.QuickDataMapper.create({
           entity.events.forEach(function(event) {
             switch (event.eventtype) {
             case "QUERY_SUBMITTED":
-              hiveJob.start_time = event.ts;
+              hiveJob.start_time = event.timestamp;
               break;
             case "QUERY_COMPLETED":
-              hiveJob.end_time = event.ts;
+              hiveJob.end_time = event.timestamp;
               break;
             default:
               break;