AMBARI-18182 After the upgrade of jetty, zeppelin-view fails to load (Prabhjyot Singh via dsen)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/9ac9e9b8 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9ac9e9b8 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9ac9e9b8 Branch: refs/heads/branch-dev-logsearch Commit: 9ac9e9b8f2fff479918cbdcdd9b742cfd173dc22 Parents: 42fd20d Author: Dmytro Sen <d...@apache.org> Authored: Wed Aug 17 17:05:32 2016 +0300 Committer: Dmytro Sen <d...@apache.org> Committed: Wed Aug 17 17:05:32 2016 +0300 ---------------------------------------------------------------------- contrib/views/zeppelin/src/main/resources/WEB-INF/index.jsp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/9ac9e9b8/contrib/views/zeppelin/src/main/resources/WEB-INF/index.jsp ---------------------------------------------------------------------- diff --git a/contrib/views/zeppelin/src/main/resources/WEB-INF/index.jsp b/contrib/views/zeppelin/src/main/resources/WEB-INF/index.jsp index 460ccbe..cce6bc5 100644 --- a/contrib/views/zeppelin/src/main/resources/WEB-INF/index.jsp +++ b/contrib/views/zeppelin/src/main/resources/WEB-INF/index.jsp @@ -42,9 +42,8 @@ var $ = jQuery = parent.jQuery; var iframe = document.querySelector('#zeppelinIFrame'); var messageContainer = document.querySelector('#messageContainer'); -var port = "${port}"; -var publicName = "${publicName}"; -var serviceCheckResponse = $.parseJSON('${serviceCheckResponse}'); + +var serviceCheckResponse = $.parseJSON('<%= request.getAttribute("serviceCheckResponse") %>'); if (serviceCheckResponse.status === "SUCCESS") { messageContainer.style.display = "none";