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

前端 未结 4 1316
自闭症患者
自闭症患者 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:44

    /tmp/spark-events is the location that Spark store the events logs. Just create this directory in the master machine and you're set.

    $mkdir /tmp/spark-events
    $ sudo /root/spark-ec2/copy-dir /tmp/spark-events/
    RSYNC'ing /tmp/spark-events to slaves...
    ec2-54-175-163-32.compute-1.amazonaws.com
    

提交回复
热议问题