You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Sudheesh Katkam (JIRA)" <ji...@apache.org> on 2015/03/31 23:50:52 UTC

[jira] [Closed] (DRILL-2636) The json profile shows status of cancelled queries as failed

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

Sudheesh Katkam closed DRILL-2636.
----------------------------------
    Resolution: Invalid

The state is correct. For reference here are the states:

FragmentState (as seen in JSON profile):

*SENDING(0),*
*AWAITING_ALLOCATION(1),*
*RUNNING(2),*
*FINISHED(3),*
*CANCELLED(4),*
*FAILED(5);*

QueryState (as seen in /profiles page):

*PENDING(0),*
*RUNNING(1),*
*COMPLETED(2),*
*CANCELED(3),*
*FAILED(4),*
*CANCELLATION_REQUESTED(5);*


> The json profile shows status of cancelled queries as failed
> ------------------------------------------------------------
>
>                 Key: DRILL-2636
>                 URL: https://issues.apache.org/jira/browse/DRILL-2636
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - HTTP
>    Affects Versions: 0.9.0
>            Reporter: Krystal
>            Assignee: Jacques Nadeau
>
> I started a query from sqlline then cancelled it using cntr-C.  The json profile for the query shows the status as 5 for Failed instead of Cancelled(4).
>   "state": 5,
>     "totalFragments": 7, 



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