setJobGroup: Assigns a group ID to all the jobs started by this thread...

Description Usage Arguments Note Examples

View source: R/sparkR.R

Description

Assigns a group ID to all the jobs started by this thread until the group ID is set to a different value or cleared.

Usage

1
setJobGroup(groupId, description, interruptOnCancel)

Arguments

groupId

the ID to be assigned to job groups.

description

description for the job group ID.

interruptOnCancel

flag to indicate if the job is interrupted on job cancellation.

Note

setJobGroup since 1.5.0

Examples

1
2
3
4
5
## Not run: 
sparkR.session()
setJobGroup("myJobGroup", "My job group description", TRUE)

## End(Not run)

SparkR documentation built on June 3, 2021, 5:05 p.m.