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/branch-dev-patch-upgrade
Commit: 0f774139ec6d4dd85075e0227b59c6ded75d262e
Parents: 04b4dc2
Author: Gaurav Nagar <gna...@hortonworks.com>
Authored: Wed Sep 21 16:36:56 2016 +0530
Committer: Gaurav Nagar <gna...@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'

Reply via email to