How to setup custom Spark parameter in HDInsights cluster with Data Factory

馋奶兔 提交于 2019-12-06 11:50:54

You can use SparkConfig in Data Factory to pass these configurations to Spark.

For example:

"typeProperties": {
...
  "sparkConfig": {
     "spark.submit.pyFiles": "/dist/package_name-1.0.0-py3.5.egg",
     "spark.yarn.appMasterEnv.PYSPARK_PYTHON": "/usr/bin/anaconda/envs/py35/bin/python3"
  }
}

This way you can specify all Spark configs that are listed in docs here.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!