Add conf file to classpath in Google Dataproc

后端 未结 1 933
梦如初夏
梦如初夏 2021-01-20 08:49

We\'re building a Spark application in Scala with a HOCON configuration, the config is called application.conf.

If I add the application.conf

1条回答
  •  执笔经年
    2021-01-20 09:16

    If --jars doesn't work as suggested in this answer, you can try init action. First upload your config to GCS, then write an init action to download it to the VMs, putting it to a folder in the classpath or update spark-env.sh to include the path to the config.

    0 讨论(0)
提交回复
热议问题