[ https://issues.apache.org/jira/browse/SPARK-9944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14704236#comment-14704236 ]
Manku Timma commented on SPARK-9944: ------------------------------------ The output that you were asking:- [default Default Hive database /user/ec2-user/warehouse public] I have hive-site.xml in the classpath in both 1.3.1 and 1.4.0. I am able to run all SQL queries normally in both. For example, the metastore server host:port in configured in my hive-site.xml and that property is respected. But only the hive.metastore.warehouse.dir is not. > hive.metastore.warehouse.dir is not respected > --------------------------------------------- > > Key: SPARK-9944 > URL: https://issues.apache.org/jira/browse/SPARK-9944 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 1.4.0, 1.4.1 > Reporter: Manku Timma > > In 1.3.1, {{hive.metastore.warehouse.dir}} was honoured and table data was > stored there. In 1.4.0, this is no longer used. Instead > {{DBS.DB_LOCATION_URI}} of the metastore is used always. This breaks use > cases where the param is used to override the warehouse location. > To reproduce the issue, start spark-shell with > {{hive.metastore.warehouse.dir}} set in hive-site.xml and run > {{df.saveAsTable("x")}}. You will see that the param is not honoured. -- 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