[ https://issues.apache.org/jira/browse/SPARK-15460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15294730#comment-15294730 ]
Apache Spark commented on SPARK-15460: -------------------------------------- User 'gatorsmile' has created a pull request for this issue: https://github.com/apache/spark/pull/13111 > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org