[
https://issues.apache.org/jira/browse/DRILL-6044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16392466#comment-16392466
]
ASF GitHub Bot commented on DRILL-6044:
---------------------------------------
Github user sohami commented on a diff in the pull request:
https://github.com/apache/drill/pull/1153#discussion_r173371305
--- Diff: exec/java-exec/src/main/resources/rest/index.ftl ---
@@ -193,7 +192,11 @@
var port = getPortNum();
var timeout;
var size = $("#size").html();
+ var host;
+ window.onload = function () {
+ host = location.host;
+ };
--- End diff --
Please remove this `function()` and `var host`.
> Shutdown button does not work from WebUI
> ----------------------------------------
>
> Key: DRILL-6044
> URL: https://issues.apache.org/jira/browse/DRILL-6044
> Project: Apache Drill
> Issue Type: Bug
> Components: Client - HTTP
> Affects Versions: 1.13.0
> Reporter: Krystal
> Assignee: Venkata Jyothsna Donapati
> Priority: Critical
> Fix For: 1.13.0
>
> Attachments: Screen Shot 2017-12-19 at 10.51.16 AM.png
>
>
> git.commit.id.abbrev=eb0c403
> Nothing happens when click on the SHUTDOWN button from the WebUI. The
> browser's debugger showed that the request failed due to access control
> checks (see attached screen shot).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)