GitHub user liu-zhaokun opened a pull request: https://github.com/apache/spark/pull/18838
[SPARK-21632] There is no need to make attempts for createDirectory if the dir had existed [https://issues.apache.org/jira/browse/SPARK-21632](https://issues.apache.org/jira/browse/SPARK-21632) There is no need to make attempts for createDirectory if the dir had existed.So I think we should log it,and Jump out of the loop You can merge this pull request into a Git repository by running: $ git pull https://github.com/liu-zhaokun/spark master08040833 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/18838.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #18838 ---- commit e3e36a1b920890f2e1873790775d4327cf9ee4fa Author: liuzhaokun <liu.zhao...@zte.com.cn> Date: 2017-08-04T01:39:51Z [SPARK-21632] There is no need to make attempts for createDirectory if the dir had existed ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org