Kaynağa Gözat

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

Gaurav Nagar 9 yıl önce
ebeveyn
işleme
66c5c983b1

+ 5 - 0
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'