[ 
https://issues.apache.org/jira/browse/DRILL-6695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16584120#comment-16584120
 ] 

Krystal commented on DRILL-6695:
--------------------------------

Additional info:  the problem does not exists if graceful shutdown is triggered 
from a non-foreman.

> Graceful shutdown removes spill directory before query finished 
> ----------------------------------------------------------------
>
>                 Key: DRILL-6695
>                 URL: https://issues.apache.org/jira/browse/DRILL-6695
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Flow
>    Affects Versions: 1.14.0
>         Environment: Ran the following query from sqlline:
> select a.columns[0], b.columns[1], a.columns[2], b.columns[3], a.columns[4] 
> from `test` a join `test` b on a.columns[0]=b.columns[0] and 
> a.columns[4]=b.columns[4] order by a.columns[0] limit 1000;
> While the query was running, initiated a graceful shutdown from command line 
> on the foreman node.  The query failed with the following error message:
> Error: RESOURCE ERROR: Hash Join failed to open spill file: 
> /tmp/drill/spill/248a054a-ee63-e795-a44e-d9205df8e9b8_HashJoin_3-2-0/spill7_outer
> Fragment 3:0
> Looks like somehow the spill directory gets deleted while query is still 
> running when graceful_shutdown is initiated.
>  
>  
>            Reporter: Krystal
>            Priority: Major
>         Attachments: drillbit.log
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to