drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Westin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-2383) add exception and pause injections for testing drillbit stability
Date Wed, 01 Apr 2015 23:31:55 GMT

    [ https://issues.apache.org/jira/browse/DRILL-2383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14391746#comment-14391746
] 

Chris Westin commented on DRILL-2383:
-------------------------------------

[~inramana], can you please make any test tickets you need this for depend on this ticket?

> add exception and pause injections for testing drillbit stability
> -----------------------------------------------------------------
>
>                 Key: DRILL-2383
>                 URL: https://issues.apache.org/jira/browse/DRILL-2383
>             Project: Apache Drill
>          Issue Type: New Feature
>          Components: Execution - Flow
>            Reporter: Chris Westin
>            Assignee: Sudheesh Katkam
>             Fix For: 0.9.0
>
>
> Use the exception injection mechanism to add exception injections to test a variety of
distributed failure scenarios.
> Here are some scenarios we've worked out before:
> 1. Cancellation:
>   TC1: cancel before any result set is returned
>   TC2: cancel in the middle of fetching result set
>   TC3: cancel after all result set are produced but not all are fetched
>   TC4: cancel after everything is completed and fetched
> As test setup, we need:
>   - query dataset large enough to be sent to different drillbits, e.g., TPCH 100
>   - queries that force multiple drillbits to work on them; e.g., count ... group by
> 2. Completed (in each case check all drillbits are still up and running):
>   TC1: success
>   TC2: failed query - before query is executed - while sql parsing
>   TC3: failed query - before query is executed - while sending fragments to other drillbits
for execution
>   TC4: failed query - during query execution
> It is currently not possible to create a scenario in which a query may hang.
> To check all drillbits up and running and in a clean state, run:
> -select count(*) from sys.drillbits;-
> {code}
> select count(*) from sys.memory;
> {code}



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

Mime
View raw message