标签:art jdk 通过 令行 image files term 消息 mina
Client作为Endpoint的具体实例,下面我们介绍一下Client启动以及OnStart指令后的额外工作
/opt/jdk1.7.0_79/bin/java -cp /opt/spark-2.1.0/conf/:/opt/spark-2.1.0/jars/*:/opt/hadoop-2.6.4/etc/hadoop/ -Xmx1g -XX:MaxPermSize=256m org.apache.spark.deploy.SparkSubmit --master spark://zqh:7077 --class org.apache.spark.examples.SparkPi ../examples/jars/spark-examples_2.11-2.1.0.jar 10
--master]
= spark:* & useRest: org.apache.spark.deploy.rest.RestSubmissionClient--master]
= spark:* & !useRest : org.apache.spark.deploy.Client--master]
= yarn: org.apache.spark.deploy.yarn.Client--master]
= mesos:*: org.apache.spark.deploy.rest.RestSubmissionClient--master]
= spark:* & useRest: 包含primaryResource与mainClass--master]
= spark:* & !useRest : 包含--supervise --memory --cores launch 【childArgs】, primaryResource, mainClass--master]
= yarn:--class --arg --jar/--primary-py-file/--primary-r-file--master]
= mesos:*: primaryResource消息实例 | 发起方 | 接收方 | 说明 |
消息实例 | 发起方 | 接收方 | 说明 |
SubmitDriverResponse | Master | Client | |
KillDriverResponse | Client |
标签:art jdk 通过 令行 image files term 消息 mina
原文地址:http://www.cnblogs.com/hframe/p/6897765.html