Set a local property that affects jobs submitted from this thread, such as the
Spark fair scheduler pool.
New in version 1.0.0.
The key of the local property to set.
The value of the local property to set.
If you run jobs in parallel, use pyspark.InheritableThread for thread