Noa Horn created HAWQ-381:
-----------------------------

             Summary: 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


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}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to