Skip to contents

Set a local property that affects jobs submitted from this thread, such as the Spark fair scheduler pool. To remove/unset property simply set `value` to NULL e.g. setLocalProperty("key", NULL)

Usage

setLocalProperty(key, value)

Arguments

key

The key for a local property.

value

The value for a local property.

Note

setLocalProperty since 2.3.0

Examples

if (FALSE) {
setLocalProperty("spark.scheduler.pool", "poolA")
}