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 21:21:38 UTC

[GitHub] [incubator-iceberg] rdblue commented on a change in pull request #437: Add guide about how to set hive.metastore.warehouse.dir

rdblue commented on a change in pull request #437: Add guide about how to set hive.metastore.warehouse.dir
URL: https://github.com/apache/incubator-iceberg/pull/437#discussion_r320047250
 
 

 ##########
 File path: site/docs/api-quickstart.md
 ##########
 @@ -11,6 +11,7 @@ The Hive catalog connects to a Hive MetaStore to keep track of Iceberg tables. T
 ```scala
 import org.apache.iceberg.hive.HiveCatalog
 
+spark.sparkContext.hadoopConfiguration.set("hive.metastore.warehouse.dir", "path/to/warehouse")
 
 Review comment:
   The temporary path should be a real one. Let's use `s3://bucket/path/to/warehouse`.
   
   Also, can you add a comment about being able to configure Hive here and add a newline between this and instantiating the catalog?

----------------------------------------------------------------
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