GitHub user mridulm opened a pull request: https://github.com/apache/spark/pull/19497
[SPARK-21549][CORE] Respect OutputFormats with no/invalid output directory provided ## What changes were proposed in this pull request? PR #19294 added support for null's - but spark 2.1 handled other error cases where path argument can be invalid. Namely: * empty string * URI parse exception while creating Path This is resubmission of PR #19487, which I messed up while updating my repo. ## How was this patch tested? Enhanced test to cover new support added. You can merge this pull request into a Git repository by running: $ git pull https://github.com/mridulm/spark master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/19497.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 #19497 ---- commit a319df36db5bd202a14b44a09e9d1887f1633aec Author: Mridul Muralidharan <mri...@gmail.com> Date: 2017-10-14T06:21:38Z Fix HadoopMapReduceCommitProtocol based on failures seen with Phoenix output format ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org