You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "zuotingbing (JIRA)" <ji...@apache.org> on 2016/12/29 12:17:58 UTC
[jira] [Updated] (SPARK-19026) local directories cannot be
cleanuped when create directory of "executor-***" throws IOException such
as there is no more free disk space to create it etc.
[ https://issues.apache.org/jira/browse/SPARK-19026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
zuotingbing updated SPARK-19026:
--------------------------------
Description:
i set SPARK_LOCAL_DIRS variable like this:
SPARK_LOCAL_DIRS=/data2/spark/tmp,/data3/spark/tmp,/data4/spark/tmp
when there is no more free disk space on "/data4/spark/tmp" , other local directories (/data2/spark/tmp,/data3/spark/tmp) cannot be cleanuped when my application finished.
we should catch the IOExecption when create local dirs throws execption , otherwise the variable "appDirectories(appId)" not be set , then local directories "executor-***" cannot be deleted for this application. If the number of folders "executor-***" > 32k we cannot create executor anymore on this worker node.
was:
i set SPARK_LOCAL_DIRS variable like this:
SPARK_LOCAL_DIRS=/data2/spark/tmp,/data3/spark/tmp,/data4/spark/tmp
when there is no more free disk space on "/data4/spark/tmp" , other local directories (/data2/spark/tmp,/data3/spark/tmp) cannot be cleanuped when my application finished.
we should catch the IOExecption when create local dirs throws execption , otherwise the variable "appDirectories(appId)" not be set , then local directories "executor-***" cannot be deleted for this application. If the number of folders "executor-***" > 32k we cannot created executor anymore on this worker node.
> local directories cannot be cleanuped when create directory of "executor-***" throws IOException such as there is no more free disk space to create it etc.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-19026
> URL: https://issues.apache.org/jira/browse/SPARK-19026
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 1.5.2, 2.0.2
> Environment: linux
> Reporter: zuotingbing
>
> i set SPARK_LOCAL_DIRS variable like this:
> SPARK_LOCAL_DIRS=/data2/spark/tmp,/data3/spark/tmp,/data4/spark/tmp
> when there is no more free disk space on "/data4/spark/tmp" , other local directories (/data2/spark/tmp,/data3/spark/tmp) cannot be cleanuped when my application finished.
> we should catch the IOExecption when create local dirs throws execption , otherwise the variable "appDirectories(appId)" not be set , then local directories "executor-***" cannot be deleted for this application. If the number of folders "executor-***" > 32k we cannot create executor anymore on this worker node.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org