SparkContext Error - File not found /tmp/spark-events does not exist

前端 未结 4 1346
自闭症患者
自闭症患者 2021-02-01 18:57

Running a Python Spark Application via API call - On submitting the Application - response - Failed SSH into the Worker

My python application exists in



        
4条回答
  •  你的背包
    2021-02-01 19:28

    I just created /tmp/spark-events on the {master} node and then distributed it to other nodes on the cluster to work.

    mkdir /tmp/spark-events
    rsync -a /tmp/spark-events {slaves}:/tmp/spark-events
    

    my spark-default.conf:

    spark.history.ui.port=18080
    spark.eventLog.enabled=true
    spark.history.fs.logDirectory=hdfs:///home/elon/spark/events
    

提交回复
热议问题