[ https://issues.apache.org/jira/browse/DRILL-6022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Venkata Jyothsna Donapati updated DRILL-6022: --------------------------------------------- Issue Type: Improvement (was: Bug) > Improve js part for graceful shutdown > ------------------------------------- > > Key: DRILL-6022 > URL: https://issues.apache.org/jira/browse/DRILL-6022 > Project: Apache Drill > Issue Type: Improvement > Affects Versions: 1.12.0 > Reporter: Arina Ielchiieva > Assignee: Venkata Jyothsna Donapati > Priority: Major > Fix For: 1.14.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 (v7.6.3#76005)