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

DataServer.send() should throw a UserRpcException instead of returning Ack.Fail

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: Execution - RPC
    • Labels:
      None

      Description

      When a fragment sends data to another fragment and an error occurs in DataServer.send() on the receiving side, the method logs the error and return an Ack.Fail to the sender without any detail of the root cause. This causes the query to fail with a generic "Data not accepted downstream" error.

      DataServer.send() should throw a UserRpcException instead so the root cause can be propagated back to the user.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              adeneche Abdel Hakim Deneche
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: