关注 spark技术分享,
撸spark源码 玩spark最佳实践

Deploy Mode

Deploy Mode

Deploy mode specifies the location of where driver executes in the deployment environment.

Deploy mode can be one of the following options:

  • client (default) – the driver runs on the machine that the Spark application was launched.

  • cluster – the driver runs on a random node in a cluster.

Note
cluster deploy mode is only available for non-local cluster deployments.

You can control the deploy mode of a Spark application using spark-submit’s --deploy-mode command-line option or spark.submit.deployMode Spark property.

Note
spark.submit.deployMode setting can be client or cluster.

Client Deploy Mode

Caution
FIXME

Cluster Deploy Mode

Caution
FIXME

spark.submit.deployMode

spark.submit.deployMode (default: client) can be client or cluster.

赞(0) 打赏
未经允许不得转载:spark技术分享 » Deploy Mode
分享到: 更多 (0)

关注公众号:spark技术分享

联系我们联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏