You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by rl...@apache.org on 2015/06/02 16:14:54 UTC

ambari git commit: AMBARI-11551. Additional patch for AMBARI-11473 to address review comment (Hitesh Shah via rlevas)

Repository: ambari
Updated Branches:
  refs/heads/trunk d4a26a8fe -> eb2cae7bc


AMBARI-11551. Additional patch for AMBARI-11473 to address review comment (Hitesh Shah via rlevas)


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

Branch: refs/heads/trunk
Commit: eb2cae7bc64aa496a10ef74228b88f12f2d80185
Parents: d4a26a8
Author: Hitesh Shah <hi...@hortonworks.com>
Authored: Tue Jun 2 10:14:49 2015 -0400
Committer: Robert Levas <rl...@hortonworks.com>
Committed: Tue Jun 2 10:14:49 2015 -0400

----------------------------------------------------------------------
 .../tez/src/main/java/org/apache/ambari/view/tez/ProxyServlet.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/eb2cae7b/contrib/views/tez/src/main/java/org/apache/ambari/view/tez/ProxyServlet.java
----------------------------------------------------------------------
diff --git a/contrib/views/tez/src/main/java/org/apache/ambari/view/tez/ProxyServlet.java b/contrib/views/tez/src/main/java/org/apache/ambari/view/tez/ProxyServlet.java
index edc647d..8354e89 100644
--- a/contrib/views/tez/src/main/java/org/apache/ambari/view/tez/ProxyServlet.java
+++ b/contrib/views/tez/src/main/java/org/apache/ambari/view/tez/ProxyServlet.java
@@ -120,8 +120,8 @@ public class ProxyServlet extends HttpServlet {
     }
 
     response.setStatus(responseCode);
-    PrintWriter writer = response.getWriter();
     if (result != null) {
+      PrintWriter writer = response.getWriter();
       writer.print(result);
     }
   }