[
https://issues.apache.org/jira/browse/DRILL-6227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pritesh Maker updated DRILL-6227:
---------------------------------
Fix Version/s: (was: 1.14.0)
> Graceful shutdown should fail if unable to kill drillbit during some timeout
> rather then trying indefinitely
> ------------------------------------------------------------------------------------------------------------
>
> Key: DRILL-6227
> URL: https://issues.apache.org/jira/browse/DRILL-6227
> Project: Apache Drill
> Issue Type: Sub-task
> Affects Versions: 1.12.0
> Reporter: Arina Ielchiieva
> Assignee: Venkata Jyothsna Donapati
> Priority: Major
>
> In drillbit.sh graceful shutdown calls drillbit stop with {{kill_drillbit}}
> set to false.
> {code}
> kill_drillbit=false
> stop_bit $kill_drillbit
> {code}
> It means that {{waitForProcessEnd}} will be called with the same property.
> When {{waitForProcessEnd}} is called with {{kill_drillbit}} set to false,
> this method will try to kill drillbit using {{kill -0}} until succeeds. So if
> at some point it won't be able, it may run forever. Need to have some timeout
> when {{waitForProcessEnd}} will stop trying to kill drillbit and report an
> error.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)