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)