ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gna...@apache.org
Subject ambari git commit: AMBARI-18250. Pig View Caching issue causes File does not exist: /user//pig/jobs/job_id/stdout and stderr. (Jay Sen Sharma via gauravn7)
Date Wed, 21 Sep 2016 11:12:36 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 04b4dc2a5 -> 0f774139e


AMBARI-18250. Pig View Caching issue causes File does not exist: /user//pig/jobs/job_id/stdout
and stderr. (Jay Sen Sharma via gauravn7)


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

Branch: refs/heads/trunk
Commit: 0f774139ec6d4dd85075e0227b59c6ded75d262e
Parents: 04b4dc2
Author: Gaurav Nagar <gnagar@hortonworks.com>
Authored: Wed Sep 21 16:36:56 2016 +0530
Committer: Gaurav Nagar <gnagar@hortonworks.com>
Committed: Wed Sep 21 16:41:45 2016 +0530

----------------------------------------------------------------------
 .../views/pig/src/main/resources/ui/pig-web/app/initialize.js   | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0f774139/contrib/views/pig/src/main/resources/ui/pig-web/app/initialize.js
----------------------------------------------------------------------
diff --git a/contrib/views/pig/src/main/resources/ui/pig-web/app/initialize.js b/contrib/views/pig/src/main/resources/ui/pig-web/app/initialize.js
index 38ee093..6df3604 100644
--- a/contrib/views/pig/src/main/resources/ui/pig-web/app/initialize.js
+++ b/contrib/views/pig/src/main/resources/ui/pig-web/app/initialize.js
@@ -19,6 +19,11 @@
 window.App = require('app');
 
 App.ApplicationAdapter = DS.RESTAdapter.extend({
+  init: function() {
+    Ember.$.ajaxSetup({
+      cache: false
+    })
+  },
   namespace: App.getNamespaceUrl(),
   headers: {
    'X-Requested-By': 'ambari'


Mime
View raw message