drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arina Ielchiieva (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-6124) testCountDownLatch can be null in PartitionerDecorator depending on user's injection controls config
Date Wed, 31 Jan 2018 10:43:00 GMT

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

Arina Ielchiieva updated DRILL-6124:
------------------------------------
    Fix Version/s: 1.13.0

> testCountDownLatch can be null in PartitionerDecorator depending on user's injection
controls config
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-6124
>                 URL: https://issues.apache.org/jira/browse/DRILL-6124
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.12.0
>            Reporter: Timothy Farkas
>            Assignee: Timothy Farkas
>            Priority: Minor
>             Fix For: 1.13.0
>
>
> In PartitionerDecorator we get a latch from the injector with the following code.
> testCountDownLatch = injector.getLatch(context.getExecutionControls(), "partitioner-sender-latch");
> However, if there is no injection site defined in the user's drill configuration then
testCountDownLatch will be null. So we have to check if it is null in order to avoid NPE's



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message