What is yarn-client mode in Spark?

后端 未结 6 1014
既然无缘
既然无缘 2020-12-07 12:23

Apache Spark has recently updated the version to 0.8.1, in which yarn-client mode is available. My question is, what does yarn-client mode really mean? In the d

6条回答
  •  醉梦人生
    2020-12-07 13:09

    With yarn-client mode, your spark application is running in your local machine. With yarn-standalone mode, your spark application would be submitted to YARN's ResourceManager as yarn ApplicationMaster, and your application is running in a yarn node where ApplicationMaster is running. In both case, yarn serve as spark's cluster manager. Your application(SparkContext) send tasks to yarn.

提交回复
热议问题