GitHub user viper-kun opened a pull request: https://github.com/apache/spark/pull/9191
[SPARK-11225]Prevent generate empty file If no data will be written into the bucket, it will be generate empty files. So open() must be called in the first write(key,value). You can merge this pull request into a Git repository by running: $ git pull https://github.com/viper-kun/spark apache Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/9191.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 #9191 ---- commit 9887ef1dbcd39ab796c77239d5bba0da5e9ba3ab Author: x00228947 <x00228...@hghy1x002289472.china.huawei.com> Date: 2015-10-21T02:30:01Z remove invalid code ---- --- 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