tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeag...@apache.org
Subject tez git commit: TEZ-2547. Tez UI: Download Data fails on secure, cross-origin clusters (jeagles)
Date Thu, 11 Jun 2015 22:41:11 GMT
Repository: tez
Updated Branches:
  refs/heads/branch-0.7 8389411f2 -> 8c951fbb5


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

(cherry picked from commit 64ca681a29d0cc4fcb505f990bd84ac4c5ae35ea)


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

Branch: refs/heads/branch-0.7
Commit: 8c951fbb5fb54d43400f78b564a0da248f45dffc
Parents: 8389411
Author: Jonathan Eagles <jeagles@yahoo-inc.com>
Authored: Thu Jun 11 17:38:56 2015 -0500
Committer: Jonathan Eagles <jeagles@yahoo-inc.com>
Committed: Thu Jun 11 17:39:39 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/8c951fbb/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 8c511a3..c718381 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -6,6 +6,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/8c951fbb/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;
 


Mime
View raw message