diff options
author | gatorsmile <gatorsmile@gmail.com> | 2016-05-27 09:54:31 -0700 |
---|---|---|
committer | Yin Huai <yhuai@databricks.com> | 2016-05-27 09:54:31 -0700 |
commit | c17272902c95290beca274ee6316a8a98fd7a725 (patch) | |
tree | 8db5590bb3c1bfb4e85894cf252ab12978a3fa39 /mllib | |
parent | 6f95c6c030db0057de213733c2bd3453463bc6f2 (diff) | |
download | spark-c17272902c95290beca274ee6316a8a98fd7a725.tar.gz spark-c17272902c95290beca274ee6316a8a98fd7a725.tar.bz2 spark-c17272902c95290beca274ee6316a8a98fd7a725.zip |
[SPARK-15565][SQL] Add the File Scheme to the Default Value of WAREHOUSE_PATH
#### What changes were proposed in this pull request?
The default value of `spark.sql.warehouse.dir` is `System.getProperty("user.dir")/spark-warehouse`. Since `System.getProperty("user.dir")` is a local dir, we should explicitly set the scheme to local filesystem.
cc yhuai
#### How was this patch tested?
Added two test cases
Author: gatorsmile <gatorsmile@gmail.com>
Closes #13348 from gatorsmile/addSchemeToDefaultWarehousePath.
Diffstat (limited to 'mllib')
0 files changed, 0 insertions, 0 deletions