You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2016/01/19 23:14:20 UTC

ambari git commit: AMBARI-14183. Hive view doesn't show tez dag in kerberized cluster. (Gaurav Nagar via yusaku)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.1.2 be07529a5 -> f55b6c267


AMBARI-14183. Hive view doesn't show tez dag in kerberized cluster. (Gaurav Nagar via yusaku)


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

Branch: refs/heads/branch-2.1.2
Commit: f55b6c267b02a1fcbf32266a956b28ca680cb6ad
Parents: be07529
Author: Yusaku Sako <yu...@hortonworks.com>
Authored: Thu Dec 3 15:07:16 2015 -0800
Committer: Yusaku Sako <yu...@hortonworks.com>
Committed: Tue Jan 19 14:14:04 2016 -0800

----------------------------------------------------------------------
 .../view/hive/resources/jobs/atsJobs/ATSRequestsDelegateImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/f55b6c26/contrib/views/hive/src/main/java/org/apache/ambari/view/hive/resources/jobs/atsJobs/ATSRequestsDelegateImpl.java
----------------------------------------------------------------------
diff --git a/contrib/views/hive/src/main/java/org/apache/ambari/view/hive/resources/jobs/atsJobs/ATSRequestsDelegateImpl.java b/contrib/views/hive/src/main/java/org/apache/ambari/view/hive/resources/jobs/atsJobs/ATSRequestsDelegateImpl.java
index 8f12991..b9d5cb4 100644
--- a/contrib/views/hive/src/main/java/org/apache/ambari/view/hive/resources/jobs/atsJobs/ATSRequestsDelegateImpl.java
+++ b/contrib/views/hive/src/main/java/org/apache/ambari/view/hive/resources/jobs/atsJobs/ATSRequestsDelegateImpl.java
@@ -105,7 +105,7 @@ public class ATSRequestsDelegateImpl implements ATSRequestsDelegate {
   protected String readFromWithDefault(String atsUrl, String defaultResponse) {
     String response;
     try {
-      InputStream responseInputStream = context.getURLStreamProvider().readFrom(atsUrl, "GET",
+      InputStream responseInputStream = context.getURLStreamProvider().readAsCurrent(atsUrl, "GET",
           (String)null, new HashMap<String, String>());
       response = IOUtils.toString(responseInputStream);
     } catch (IOException e) {