You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Timothy Farkas (JIRA)" <ji...@apache.org> on 2018/01/31 00:24:00 UTC

[jira] [Created] (DRILL-6124) testCountDownLatch can be null in PartitionerDecorator depending on user's injection controls config

Timothy Farkas created DRILL-6124:
-------------------------------------

             Summary: 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


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)