Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-6124

testCountDownLatch can be null in PartitionerDecorator depending on user's injection controls config

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: 1.13.0
    • Fix Version/s: 1.13.0
    • Component/s: None
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                timothyfarkas Timothy Farkas
                Reporter:
                timothyfarkas Timothy Farkas
                Reviewer:
                Arina Ielchiieva
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: