You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2019/09/02 07:21:08 UTC

[GitHub] [incubator-iceberg] waterlx commented on issue #437: Add guide about how to set hive.metastore.warehouse.dir

waterlx commented on issue #437: Add guide about how to set hive.metastore.warehouse.dir
URL: https://github.com/apache/incubator-iceberg/pull/437#issuecomment-527032995
 
 
   `hive.metastore.warehouse.dir` is supposed to set in hive-site.xml, in common sense. But SparkContext#hadoopConfiguration() does not take hive-site.xml into account, so even though you might copy hive-site.xml into $HADOOP_CONF_DIR, it does not work in Spark.
   Setting it in the code is the most explicit way to configure it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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