[ https://issues.apache.org/jira/browse/SPARK-15565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yin Huai updated SPARK-15565: ----------------------------- 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). Also see https://issues.apache.org/jira/browse/SPARK-15034?focusedCommentId=15301508&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15301508 was: 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). > The default value of spark.sql.warehouse.dir needs to explicitly point to > local filesystem > ------------------------------------------------------------------------------------------ > > Key: SPARK-15565 > URL: https://issues.apache.org/jira/browse/SPARK-15565 > Project: Spark > Issue Type: Bug > Components: SQL > Reporter: Yin Huai > Assignee: Xiao Li > Priority: Critical > Fix For: 2.0.0 > > > 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). > Also see > https://issues.apache.org/jira/browse/SPARK-15034?focusedCommentId=15301508&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15301508 -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org