You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Timothy Farkas (JIRA)" <ji...@apache.org> on 2018/01/31 03:18:00 UTC
[jira] [Updated] (DRILL-6124) testCountDownLatch can be null in
PartitionerDecorator depending on user's injection controls config
[ https://issues.apache.org/jira/browse/DRILL-6124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Farkas updated DRILL-6124:
----------------------------------
Priority: Minor (was: Major)
> 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
> Reporter: Timothy Farkas
> Assignee: Timothy Farkas
> Priority: Minor
>
> 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)