You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Lei Chang (JIRA)" <ji...@apache.org> on 2016/04/10 12:00:28 UTC
[jira] [Closed] (HAWQ-381) Fatal error when canceling qeury
[ https://issues.apache.org/jira/browse/HAWQ-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lei Chang closed HAWQ-381.
--------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
fixed in latest code.
> Fatal error when canceling qeury
> --------------------------------
>
> Key: HAWQ-381
> URL: https://issues.apache.org/jira/browse/HAWQ-381
> Project: Apache HAWQ
> Issue Type: Bug
> Components: Core
> Reporter: Noa Horn
> Assignee: Lei Chang
> Fix For: 2.0.0
>
> Attachments: inject.py, prepare_simple.sql, simple_cancelquery.out, test_simple.sql
>
>
> This issue was revealed by using SimEx on a debug build, with gp_simex_class set to 1 (cancel query).
> The second time a query is run in simex mode, this error is seen:
> {noformat}
> FATAL: terminating connection due to administrator command
> server closed the connection unexpectedly
> This probably means the server terminated abnormally
> before or while processing the request.
> {noformat}
> Repro:
> Setup:
> {noformat}
> compile with configure parameter --enable-testutils
> hawq config -c gp_simex_init -v on
> hawq config -c gp_simex_class -v 1
> hawq restart cluster
> {noformat}
> Run the attached inject script with the attached prepare_simple.sql and test_simple.sql files.
> {noformat}
> ~/simex/inject.py ~/simex/prepare_simple.sql ~/simex/test_simple.sql &> ~/simex/simple_cancelquery.out
> {noformat}
> Also attached output of this run (there are a few cores as well)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)