YARN集群模式下Spark容器的入口点是什么?(What is the entry point of Spark container in YARN cluster mode?)

编程入门 行业动态 更新时间:2024-10-21 09:57:22
YARN集群模式下Spark容器的入口点是什么?(What is the entry point of Spark container in YARN cluster mode?)

在Yarn集群模式(Spark 1.2.0+)中运行Spark作业时,Spark执行程序的主要入口点是什么?

我正在寻找的是Executor入口点的Scala类名(它将是执行从属机器上的任务之一的进程)。

What is the main entry point of a Spark executor when a Spark job is being run in Yarn cluster mode (for Spark 1.2.0+)?

What I am looking for is the Scala class name for the entry point of an Executor (which will be the process executing one of the tasks on a slave machine).

最满意答案

我想你要问的是org.apache.spark.executor.Executor或者org.apache.spark.executor.Executor $ TaskRunner 。 最终将运行任务的是TaskRunner 。

它与部署模式( client与cluster )或使用的集群管理器无关,即Hadoop YARN或Spark Standalone或Apache Mesos。

I think what you're asking about is org.apache.spark.executor.Executor or perhaps org.apache.spark.executor.Executor$TaskRunner. It is TaskRunner that will ultimately run a task.

It is regardless of the deploy mode (client vs cluster) or the cluster manager used, i.e. Hadoop YARN or Spark Standalone or Apache Mesos.

更多推荐

本文发布于:2023-08-04 07:05:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1412502.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:集群   容器   入口   模式下   Spark

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!