Why does a job fail with “No space left on device”, but df says otherwise?

后端 未结 8 1277
無奈伤痛
無奈伤痛 2020-12-04 15:51

When performing a shuffle my Spark job fails and says \"no space left on device\", but when I run df -h it says I have free space left! Why does this happen, a

8条回答
  •  不知归路
    2020-12-04 16:14

    On the worker machine, set the environment variable "SPARK_LOCAL_DIRS" to the place you have free space. Setting the configuration variable "spark.local.dir" doesn't work from Spark 1.0 and later.

提交回复
热议问题