You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Ming LI (JIRA)" <ji...@apache.org> on 2015/11/14 05:39:10 UTC

[jira] [Resolved] (HAWQ-160) Cancel test case period failure on reporting "dispatcher encounter error"

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

Ming LI resolved HAWQ-160.
--------------------------
    Resolution: Fixed

CHECK_FOR_INTERRUPTS() can not be called between PG_TRY(); and PG_CATCH(); 
because the cancel request ( by passing SIGINT for ProcessInterrupts() to call elog) will be caught by the PG_CATCH(); clause, and the error will be changed to others.

So we just move this line out.

> Cancel test case period failure on reporting "dispatcher encounter error"
> -------------------------------------------------------------------------
>
>                 Key: HAWQ-160
>                 URL: https://issues.apache.org/jira/browse/HAWQ-160
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: Dispatcher
>            Reporter: Ming LI
>            Assignee: Ming LI
>
> When you run  mpp.hawq.tests.cancel.test_cancel.CancelTestCase. test_cancel01
> it will period failure. 
> 2015-11-02 03:32:03.052970 PST,"gpadmin","tpch_1g_ao",p20727,th-1716799296,"[local]",,2015-11-02 03:32:01 PST,25459,con398,cmd2,seg-1,,,x25459,sx1,"ERROR","XX000","dispatcher encounter error (dispatcher.c:1211)",,,,,,"select nation, o_year, sum(amount) as sum_profit from (select n_name as nation,extract(year from o_orderdate) as o_year, l_extendedprice * (1 - l_discount) - ps_supplycost * l_quantity as amount from part, supplier,lineitem,partsupp,orders,nation where s_suppkey = l_suppkey and ps_suppkey = l_suppkey and ps_partkey = l_partkey and p_partkey = l_partkey and o_orderkey = l_orderkey and s_nationkey = n_nationkey) as profit group by nation, o_year order by nation,o_year desc",0,,"dispatcher.c",1211,"Stack trace:
> 1    0x87888f postgres <symbol not found> (elog.c:473)
> 2    0x878f69 postgres elog_finish (elog.c:1421)
> 3    0x9ae1ac postgres dispatch_run (dispatcher.c:1213)
> 4    0x65cf2e postgres ExecutorStart (execMain.c:911)
> 5    0x7bc12d postgres PortalStart (pquery.c:1227)
> 6    0x7b6099 postgres <symbol not found> (postgres.c:1692)
> 7    0x7b75f2 postgres PostgresMain (postgres.c:4693)
> 8    0x768c33 postgres <symbol not found> (postmaster.c:5845)
> 9    0x76939d postgres <symbol not found> (postmaster.c:2146)
> 10   0x76b1ae postgres PostmasterMain (postmaster.c:6475)
> 11   0x6c5eaa postgres main (main.c:226)
> 12   0x3c1e81ed1d libc.so.6 __libc_start_main (??:0)
> 13   0x4a30a9 postgres <symbol not found> (??:0) 
> "



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