[ 
https://issues.apache.org/jira/browse/DRILL-6695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arina Ielchiieva updated DRILL-6695:
------------------------------------
    Description: 
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.

 

> 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
>
>
> 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.
>  



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

Reply via email to