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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • 1.13.0
    • 1.13.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: