Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-12614

Don't throw non fatal exception from RpcEndpointRef.send/ask

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 2.0.0
    • Component/s: Spark Core
    • Labels:
      None

      Description

      Right now RpcEndpointRef.send/ask may throw exception in some corner cases, such as calling send/ask after stopping RpcEnv. It's better to avoid throwing exception from RpcEndpointRef.send/ask. We can log a warning for `send`, and send the exception to the future for `ask`.

        Attachments

          Activity

            People

            • Assignee:
              zsxwing Shixiong Zhu
              Reporter:
              zsxwing Shixiong Zhu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: