Repository: ambari Updated Branches: refs/heads/branch-2.5 c25296967 -> 66c5c983b
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/66c5c983 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/66c5c983 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/66c5c983 Branch: refs/heads/branch-2.5 Commit: 66c5c983b133f04d6786444b08a8411b554275b9 Parents: c252969 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:37:10 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/66c5c983/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'