SparkR (version 2.4.6)

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

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

# S3 method for default
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.

Examples

Run this code
# NOT RUN {
sparkR.session()
setJobGroup("myJobGroup", "My job group description", TRUE)
# }

Run the code above in your browser using DataLab