QuestionQ83

VerifiedTroubleshooting and Tuning Apache Spark DataFrame API Applications.

An engineer observes a substantial increase in job execution time while a Spark job is running. Following an investigation, the engineer decides to examine logs generated by the Executors.

How should the engineer obtain the Executor logs to troubleshoot performance problems in the Spark application?

Explanation

Spark executor logs are available through the Spark web UI as executor stdout/stderr log links, enabling investigation of the executors involved in slow work. Executor logs are not normally collected from the master node, and neither submission verbosity nor the spark-sql CLI retrieves them. Apache Spark documents executor log access through the Spark UI’s Executors tab.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!