You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by je...@apache.org on 2015/06/12 00:39:10 UTC

tez git commit: TEZ-2547. Tez UI: Download Data fails on secure, cross-origin clusters (jeagles)

Repository: tez
Updated Branches:
  refs/heads/master ce26b3f52 -> 64ca681a2


TEZ-2547. Tez UI: Download Data fails on secure, cross-origin clusters (jeagles)


Project: http://git-wip-us.apache.org/repos/asf/tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/64ca681a
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/64ca681a
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/64ca681a

Branch: refs/heads/master
Commit: 64ca681a29d0cc4fcb505f990bd84ac4c5ae35ea
Parents: ce26b3f
Author: Jonathan Eagles <je...@yahoo-inc.com>
Authored: Thu Jun 11 17:38:56 2015 -0500
Committer: Jonathan Eagles <je...@yahoo-inc.com>
Committed: Thu Jun 11 17:38:56 2015 -0500

----------------------------------------------------------------------
 CHANGES.txt                                      | 1 +
 tez-ui/src/main/webapp/app/scripts/helpers/io.js | 8 +++++++-
 2 files changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/64ca681a/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index c7c3686..d42dda8 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -36,6 +36,7 @@ Release 0.7.1: Unreleased
 INCOMPATIBLE CHANGES
 
 ALL CHANGES:
+  TEZ-2547. Tez UI: Download Data fails on secure, cross-origin clusters
   TEZ-1961. Remove misleading exception "No running dag" from AM logs.
   TEZ-2546. Tez UI: Fetch hive query text from timeline if dagInfo is not set.
   TEZ-2513. Tez UI: Allow filtering by DAG ID on All dags table.

http://git-wip-us.apache.org/repos/asf/tez/blob/64ca681a/tez-ui/src/main/webapp/app/scripts/helpers/io.js
----------------------------------------------------------------------
diff --git a/tez-ui/src/main/webapp/app/scripts/helpers/io.js b/tez-ui/src/main/webapp/app/scripts/helpers/io.js
index ba374ce..4011130 100644
--- a/tez-ui/src/main/webapp/app/scripts/helpers/io.js
+++ b/tez-ui/src/main/webapp/app/scripts/helpers/io.js
@@ -95,7 +95,13 @@ App.Helpers.io = {
       Em.Logger.debug("starting download %@".fmt(inProgress));
       var item = itemList.shift();
 
-      var xhr = $.getJSON(item.url);
+      var xhr = $.ajax({
+        crossOrigin: true,
+        url: item.url,
+        xhrFields: {
+          withCredentials: true
+        },
+      });
       var reqID = getRequestId();
       pendingRequests[reqID] = xhr;