【Spark三十二】Spark的集群管理和部署模式


  • AppClient是Cluster Manager为集群(Standalone集群或者YARN集群或者local),deployMode是Client的情况
  • deploy.Client是Cluster Manager为Standalone集群,而deployMode为cluster的情况
  • yarn.Client是Cluster Manager为YARN集群,而deployMode为cluster的情况
  • 集群管理器如果是local,则表示Master,Driver和Worker都在本机,伪集群模式

在伪分布式下的spark-submit,如果master指定为local,那么deployMode必须指定为Client

 

猜你喜欢

转载自bit1129.iteye.com/blog/2180944