GitHub user zenglinxi0615 opened a pull request: https://github.com/apache/spark/pull/14085
[SPARK-16408][SQL] SparkSQL Added file get Exception: is a directory ⦠## What changes were proposed in this pull request? This PR is for adding an parameter (spark.input.dir.recursive) to control the value of recursive in SparkContext#addFile, so we can support "add file hdfs://dir/path" cmd in SparkSQL ## How was this patch tested? manual tests: set the conf: --conf spark.input.dir.recursive=true, and run spark-sql -e "add file hdfs://dir/path" You can merge this pull request into a Git repository by running: $ git pull https://github.com/zenglinxi0615/spark SPARK-16408 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/14085.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 #14085 ---- commit d2e05c155e4e52dfda177a21615de7743a2c5917 Author: æ¾æ西 <zengli...@meituan.com> Date: 2016-07-07T06:20:19Z [SPARK-16408][SQL] SparkSQL Added file get Exception: is a directory and recursive is not turned on ---- --- 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