spark-yarn查看集群资源

    spark-submit --master yarn --deploy-mode cluster --executor-cores 4 --num-executors 3 --executor-memory 10g --class solr.CeShi sbt-solr-assembly08.jar


Apps Submitted:总共提交了多少个JOb(122)

Apps Running:当前运行的job有多少个(3)

Apps Completed:当前提交完成的job有多少个。(119)

Containers Running:启动的容器个数(每个容器默认一个CPU)即,启动4个CPU默认就提供4个容器

VCores Used:使用了多少个CPU(6)

VCores Total:总共有多少个CPU(120)

Active Nodes:集群总共有多少个节点(5)

Allocated Memory MB:分配了多少内存(10G多点)

Allocated CPU VCores:分配了多少个CPU4

Running Contaniers:运行了多少个容器(4)




猜你喜欢

转载自blog.csdn.net/qq_33982605/article/details/79946699