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 2015/12/04 00:07:48 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/trunk aaeab4912 -> 0ace4a5f6


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/0ace4a5f
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0ace4a5f
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0ace4a5f

Branch: refs/heads/trunk
Commit: 0ace4a5f6589656bdb71063f176de36253434dae
Parents: aaeab49
Author: Yusaku Sako <yu...@hortonworks.com>
Authored: Thu Dec 3 15:07:16 2015 -0800
Committer: Yusaku Sako <yu...@hortonworks.com>
Committed: Thu Dec 3 15:07:16 2015 -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/0ace4a5f/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 8989449..041ab01 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
@@ -118,7 +118,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) {