Skip to contents

Set a local property that affects jobs submitted from this thread, such as the Spark fair scheduler pool.

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")
}