Where are logs in Spark on YARN?

前端 未结 4 1497
执念已碎
执念已碎 2020-12-01 06:26

I\'m new to spark. Now I can run spark 0.9.1 on yarn (2.0.0-cdh4.2.1). But there is no log after execution.

The following command is used to run a spark example. But

4条回答
  •  独厮守ぢ
    2020-12-01 06:33

    Pretty article for this question:

    Running Spark on YARN - see the section "Debugging your Application". Decent explanation with all required examples.

    The only thing you need to follow to get correctly working history server for Spark is to close your Spark context in your application. Otherwise, application history server does not see you as COMPLETE and does not show anything (despite history UI is accessible but not so visible).

提交回复
热议问题