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/01/24 03:18:39 UTC

[jira] [Updated] (HAWQ-275) After killing QE of segment, the QE pool is not updated when dispatch

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

Lei Chang updated HAWQ-275:
---------------------------
    Fix Version/s: 2.0.0

> After killing QE of segment, the QE pool is not updated when dispatch
> ---------------------------------------------------------------------
>
>                 Key: HAWQ-275
>                 URL: https://issues.apache.org/jira/browse/HAWQ-275
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: Dispatcher
>            Reporter: Dong Li
>            Assignee: Lei Chang
>             Fix For: 2.0.0
>
>
> When we kill a QE of segment, the segment will restart all of its child process, and not have QE anymore. But the master still believes the QEs are cached, and it will dispatch these non-exist QE to handle query. 
> The most problem is that if we have 6 QEs before kill them, and we want to execute a simple sql which only need 2 QEs. Then it will check and error three times and only after that it order segment to start QEs.
> {code}
> intern=# insert into b values (2 );
> ERROR:  Query Executor Error in seg4 localhost:40000 pid=19024: server closed the connection unexpectedly
> DETAIL:
> 	This probably means the server terminated abnormally
> 	before or while processing the request.
> intern=# insert into b values (2 );
> ERROR:  Query Executor Error in seg0 localhost:40000 pid=19020: server closed the connection unexpectedly
> DETAIL:
> 	This probably means the server terminated abnormally
> 	before or while processing the request.
> intern=# insert into b values (2 );
> ERROR:  Query Executor Error in seg2 localhost:40000 pid=19022: server closed the connection unexpectedly
> DETAIL:
> 	This probably means the server terminated abnormally
> 	before or while processing the request.
> intern=# insert into b values (2 );
> INSERT 0 1
> {code}



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