ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject ambari git commit: AMBARI-9779. Jobs view doesn't show newly created jobs (alexantonenko)
Date Tue, 24 Feb 2015 20:28:43 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk af900c70d -> 382075dde


AMBARI-9779. Jobs view doesn't show newly created jobs (alexantonenko)


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

Branch: refs/heads/trunk
Commit: 382075dde7f4b20abe7f3a0d85ab8f1d0907d344
Parents: af900c7
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Tue Feb 24 21:26:30 2015 +0200
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Tue Feb 24 22:28:15 2015 +0200

----------------------------------------------------------------------
 .../main/resources/ui/app/scripts/controllers/jobs_controller.js | 4 ++--
 .../views/jobs/src/main/resources/ui/app/scripts/helpers/ajax.js | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/382075dd/contrib/views/jobs/src/main/resources/ui/app/scripts/controllers/jobs_controller.js
----------------------------------------------------------------------
diff --git a/contrib/views/jobs/src/main/resources/ui/app/scripts/controllers/jobs_controller.js
b/contrib/views/jobs/src/main/resources/ui/app/scripts/controllers/jobs_controller.js
index e8a86f2..be567a4 100644
--- a/contrib/views/jobs/src/main/resources/ui/app/scripts/controllers/jobs_controller.js
+++ b/contrib/views/jobs/src/main/resources/ui/app/scripts/controllers/jobs_controller.js
@@ -411,9 +411,9 @@ App.JobsController = Ember.ArrayController.extend(App.RunPeriodically,
{
      * @method createJobsFiltersLink
      */
     createJobsFiltersLink: function () {
-      // The filters "tez:true,TEZ:true" are needed because ATS is case sensitive,
+      // The filters "TEZ:true" are needed because ATS is case sensitive,
       // and in HDP 2.1, "tez" was used, while in HDP 2.2, "TEZ" was used.
-      var link = "?fields=events,primaryfilters,otherinfo&secondaryFilter=tez:true,TEZ:true",
+      var link = "?fields=events,primaryfilters,otherinfo&secondaryFilter=TEZ:true",
         numberOfAppliedFilters = 0;
 
       if (this.get("id") !== "") {

http://git-wip-us.apache.org/repos/asf/ambari/blob/382075dd/contrib/views/jobs/src/main/resources/ui/app/scripts/helpers/ajax.js
----------------------------------------------------------------------
diff --git a/contrib/views/jobs/src/main/resources/ui/app/scripts/helpers/ajax.js b/contrib/views/jobs/src/main/resources/ui/app/scripts/helpers/ajax.js
index 0c4148c..6d68533 100644
--- a/contrib/views/jobs/src/main/resources/ui/app/scripts/helpers/ajax.js
+++ b/contrib/views/jobs/src/main/resources/ui/app/scripts/helpers/ajax.js
@@ -50,9 +50,9 @@ var urls = {
   },
 
   'jobs_lastID': {
-    // The filters "tez:true,TEZ:true" are needed because ATS is case sensitive,
+    // The filters "TEZ:true" are needed because ATS is case sensitive,
     // and in HDP 2.1, "tez" was used, while in HDP 2.2, "TEZ" was used.
-    real: '/views/{view}/{version}/{instanceName}/proxy?url={atsURL}/ws/v1/timeline/HIVE_QUERY_ID?limit=1&secondaryFilter=tez:true,TEZ:true',
+    real: '/views/{view}/{version}/{instanceName}/proxy?url={atsURL}/ws/v1/timeline/HIVE_QUERY_ID?limit=1&secondaryFilter=TEZ:true',
     mock: '/scripts/assets/hive-queries.json',
     apiPrefix: ''
   },


Mime
View raw message