SparkContext setLocalProperties

后端 未结 3 1051
野趣味
野趣味 2020-12-18 04:35

As continuation of this question, could you please tell me what properties I can change from SparkContext.setLocalProperties? Could I change cores, RAM etc?

3条回答
  •  生来不讨喜
    2020-12-18 04:50

    LocalProperties provide an easy mechanism to pass (user defined) configurations from the driver to the executors. You can use the TaskContext on the executor to access them. An example of this is the SQL Execution ID

提交回复
热议问题