You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Arina Ielchiieva (JIRA)" <ji...@apache.org> on 2017/12/09 14:04:00 UTC
[jira] [Created] (DRILL-6022) Improve js part for graceful shutdown
Arina Ielchiieva created DRILL-6022:
---------------------------------------
Summary: Improve js part for graceful shutdown
Key: DRILL-6022
URL: https://issues.apache.org/jira/browse/DRILL-6022
Project: Apache Drill
Issue Type: Bug
Affects Versions: 1.12.0
Reporter: Arina Ielchiieva
Fix For: 1.13.0
DRILL-4286 introduces graceful shutdown but its js part needs improvement:
a. ajax call do not handle errors, so when error occurs it is just swallowed.
b. there are some unused and / or unnecessary variables usage
c. shutdown functionality is disabled when user is not an admin but some other ajax calls are still being executed, for example, port number, number of queries, grace period. All that can be also can be disabled when user is not an admin.
d. there are many ajax calls which can be factored out in dedicated js file.
Other fixes:
a. all shutdown functionality reside in DrillRoot class, it can be factored out in shutdown specific class where all shutdown functionality will be allowed only for admin on class level, currently we marked in on the level (see DRILL-6019).
b. issue described in DRILL-6021.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)