Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/3548#discussion_r21142175
--- Diff:
core/src/main/scala/org/apache/spark/deploy/master/ApplicationInfo.scala ---
@@ -43,9 +43,12 @@ private[spark] class ApplicationInfo(
@transient var coresGranted: Int = _
@transient var endTime: Long = _
@transient var appSource: ApplicationSource = _
+ @transient var lastHeartbeat: Long = _
@transient private var nextExecutorId: Int = _
+ val failureDetector = new ApplicationFailureDetector(desc.name, id)
--- End diff --
hm this looks a little out of place. Since this class is fairly isolated,
should we just keep a map of it in `Master` instead of cramming it in
`ApplicationInfo`?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]