Description
The default value of spark.sql.warehouse.dir is System.getProperty("user.dir")/warehouse. Since System.getProperty("user.dir") is a local dir, we should explicitly set the scheme to local filesystem.
This should be a one line change (at https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala#L58).
Attachments
Issue Links
- breaks
-
SPARK-15683 spark sql local FS spark.sql.warehouse.dir throws on YARN
- Resolved
- is related to
-
SPARK-15034 Use the value of spark.sql.warehouse.dir as the warehouse location instead of using hive.metastore.warehouse.dir
- Resolved
- links to