- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
spark application + communicating with driver in heartbeater
Created 09-04-2018 08:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We run Spark App in Hadoop cluster ( HDP version – 2.6.4 , we have spark version 2.2 )
With the following details
ExecutorInstances=6Executor memory =35G
spark2 daemon memory =50Gfrom the yarn logs we can see many of these warning
WARN executor.Executor: Issue communicating with driver in heartbeater
What this messages means – “executor.Executor: Issue communicating with driver in heartbeater”
And any ideas if needed additional spark configuration to solve this issue ?
Created 10-25-2018 01:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The warning message means that the Executor is unable to send the Heartbeat to the driver (might be network issue). This is just a warning message, but each failure increments heartbeat failure count and when we hit the maximum failures the executor will fail and exit with error.
There are two configurations that we can tune to avoid this issue.
spark.executor.heartbeat.maxFailures (default value: 60)
Number of times an executor will try to send heartbeats to the driver before it gives up and exits (with exit code 56).
spark.executor.heartbeatInterval ( default value: 10s )
Interval between each executor's heartbeats to the driver. Heartbeats let the driver know that the executor is still alive and update it with metrics for in-progress tasks. spark.executor.heartbeatInterval should be significantly less than spark.network.timeout