You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2016/05/21 05:17:12 UTC

[jira] [Updated] (SPARK-15460) Issue Exceptions from Thrift Server and Spark-SQL Cli when Users Inputting hive.metastore.warehouse.dir

     [ https://issues.apache.org/jira/browse/SPARK-15460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao Li updated SPARK-15460:
----------------------------
    Issue Type: Improvement  (was: Bug)

> Issue Exceptions from Thrift Server and Spark-SQL Cli when Users Inputting hive.metastore.warehouse.dir
> -------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-15460
>                 URL: https://issues.apache.org/jira/browse/SPARK-15460
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Xiao Li
>
> Multiple test suites are still using hive.metastore.warehouse.dir as the input parameters to the Thrift Server or Spark-SQL Cli. Before this PR, this parameter is simply ignored without any message. However, these parameters took effect to change the default location of database in warehouse until Spark 2.0.0.
> To ensure users correctly use the new parameter, this PR is to issue an exception if users specify the parm: hive.metastore.warehouse.dir in Thrift-Server and Spark SQL CLI:
> {noformat}
> Exception in thread "main" java.lang.Error: hive.metastore.warehouse.dir is deprecated. Instead, use spark.sql.warehouse.dir to specify the default location of database.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org