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

Reconsider executor heartbeats rpc timeout

    XMLWordPrintableJSON

    Details

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

      Description

      Currently, the timeout for checking when an executor is failed is the same as the timeout of the sender ("spark.network.timeout") which defaults to 120s.

      This means if there is a network issue, the executor only gets one try to heartbeat which probably causes the failure detection to be flaky.

      The executor has a config to control how often to heartbeat (spark.executor.heartbeatInterval) which defaults to 10s. This combination of configs doesn't seem to make sense. The heartbeat rpc timeout should probably be less than or equal to the heartbeatInterval.

        Attachments

          Activity

            People

            • Assignee:
              nongli Nong Li
              Reporter:
              nongli Nong Li
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: