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

typo in QueryManager.DrillbitStatusListener will cause the Foreman to hang if a Drillbit dies

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.2.0
    • Component/s: Execution - Flow
    • Labels:
      None

      Description

      at the end of DrillbitStatusListener.drillbitUnregistered() there is if block:

            if (!atLeastOneFailure) {
              logger.warn("...");
              stateListener.moveToState(QueryState.FAILED,
                  new ForemanException(...));
            }
      

      this will basically fail the query if the drillbit DIDN'T contain any fragment for this Foreman, which in fact should be the inverse.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                khfaraaz Khurram Faraaz
                Reporter:
                adeneche Deneche A. Hakim
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: