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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment