nerdexam
Huawei

H13-711_V3.5 · Question #346

Spark on YARN-client is suitable for production environments because you can see the output of APP faster.

The correct answer is B. False. B is correct because YARN-client mode is designed for development and interactive debugging, not production workloads. In client mode, the Spark driver runs on the submitting machine - if that machine disconnects or crashes, the entire job fails. This lack of resilience makes…

Big Data Processing Technologies (MapReduce, Spark, Hive)

Question

Spark on YARN-client is suitable for production environments because you can see the output of APP faster.

Options

  • ATrue
  • BFalse

How the community answered

(34 responses)
  • A
    18% (6)
  • B
    82% (28)

Explanation

B is correct because YARN-client mode is designed for development and interactive debugging, not production workloads. In client mode, the Spark driver runs on the submitting machine - if that machine disconnects or crashes, the entire job fails. This lack of resilience makes it fundamentally unsuitable for production.

Why A is wrong: While it's true that YARN-client mode does show application output more directly (since the driver runs locally), this is a debugging convenience, not a production virtue. The speed-of-output benefit is real but irrelevant to production requirements like reliability and fault tolerance.

The core production issue: In production, YARN-cluster mode is preferred because the driver runs inside YARN's ApplicationMaster on a cluster node, meaning the job lifecycle is managed entirely by the cluster - independent of the submitting client's uptime.

Memory tip: Think "Client = Console (dev), Cluster = Controlled (prod)" - client mode keeps output on your console for easy debugging; cluster mode hands control to YARN for reliable, unattended execution.

Topics

#Spark deployment modes#YARN-client vs YARN-cluster#Production readiness#Spark driver execution

Community Discussion

No community discussion yet for this question.

Full H13-711_V3.5 Practice