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 2020/08/19 09:45:11 UTC

[GitHub] [iceberg] Heltman commented on issue #1359: java.lang.IllegalArgumentException: no location provided for warehouse

Heltman commented on issue #1359:
URL: https://github.com/apache/iceberg/issues/1359#issuecomment-676049225


   > ```
   > --conf spark.sql.catalog.spark_catalog=org.apache.iceberg.spark.SparkSessionCatalog
   > --conf spark.sql.catalog.spark_catalog.type=hive
   > --conf spark.sql.catalog.local=org.apache.iceberg.spark.SparkCatalog
   > --conf spark.sql.catalog.local.type=hadoop
   > --conf spark.sql.catalog.local.uri=hdfs://nameservice1:8020/user/spark2/iceberg
   > ```
   > 
   > Once we group configs by catalog then configs for `local` catalog are following:
   > 
   > ```
   > --conf spark.sql.catalog.local=org.apache.iceberg.spark.SparkCatalog
   > --conf spark.sql.catalog.local.type=hadoop
   > --conf spark.sql.catalog.local.uri=hdfs://nameservice1:8020/user/spark2/iceberg
   > ```
   > 
   > `uri` is for hive-type catalog. hadoop-type catalog requires `warehouse`.
   > 
   > Please refer https://iceberg.apache.org/spark/#configuring-catalogs to check required configurations.
   
   ![image](https://user-images.githubusercontent.com/44333070/90619273-9fce3900-e243-11ea-8842-ead3c91e5cac.png)
   
   this mistake me...


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



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