spark-submit --master yarn --deploy-mode cluster --class didlib.operator.io.HbaseReader --jars scopt.jar,didlib-core.jar,guava-12.0.1.jar,protobuf-java-2.5.0.jar,hbase-server-1.2.1.jar,hbase-client-1.2.1.jar,hbase-common-1.2.1.jar,htrace-core-3.1.0-incubating.jar,hbase-protocol-1.2.1.jar,metrics-core-2.2.0.jar didlib2.2.jar
说明
–master yarn --deploy-mode cluster 模式
–class 主类
–jar 依赖