Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-15565

The default value of spark.sql.warehouse.dir needs to explicitly point to local filesystem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.0.0
    • SQL
    • None

    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

      Attachments

        Issue Links

          Activity

            People

              smilegator Xiao Li
              yhuai Yin Huai
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: