You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Krystal (JIRA)" <ji...@apache.org> on 2018/08/16 22:44:00 UTC
[jira] [Created] (DRILL-6695) Graceful shutdown removes spill
directory before query finished
Krystal created DRILL-6695:
------------------------------
Summary: 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
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)