[
https://issues.apache.org/jira/browse/SPARK-15460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-15460.
----------------------------------
Resolution: Incomplete
> 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
> Priority: Major
> Labels: bulk-closed
>
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]