SparkContext.SetJobGroup(String, String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Assigns a group ID to all the jobs started by this thread until the group ID is set to a different value or cleared.
public void SetJobGroup (string groupId, string description, bool interruptOnCancel = false);
member this.SetJobGroup : string * string * bool -> unit
Public Sub SetJobGroup (groupId As String, description As String, Optional interruptOnCancel As Boolean = false)
Parameters
- groupId
- String
Group Id
- description
- String
Description on the job group
- interruptOnCancel
- Boolean
If true, then job cancellation will result in Thread.interrupt()
being called on the
job's executor threads.
Remarks
Often, a unit of execution in an application consists of multiple Spark actions or jobs. Application programmers can use this method to group all those jobs together and give a group description. Once set, the Spark web UI will associate such jobs with this group.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for