Apache Spark YARN mode startup takes too long (10+ secs)

前端 未结 4 1211
小蘑菇
小蘑菇 2021-02-05 13:00

I’m running a spark application with YARN-client or YARN-cluster mode.

But it seems to take too long to startup.

It takes 10+ seconds to initialize the spark con

4条回答
  •  迷失自我
    2021-02-05 13:32

    You could check Apache Livy which is a REST API in front of Spark.

    • http://livy.io/
    • https://github.com/cloudera/livy

    You could have one session and multiple requests to that one Spark/Livy session.

提交回复
热议问题