You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2019/07/03 01:31:02 UTC

[GitHub] [incubator-hudi] cdmikechen edited a comment on issue #774: Matching question of the version in Spark and Hive2

cdmikechen edited a comment on issue #774: Matching question of the version in Spark and Hive2 
URL: https://github.com/apache/incubator-hudi/issues/774#issuecomment-507902009
 
 
   @bvaradar 
   I have some original hive tables and datas, I need to load these tables and datas and then save as hoodie tables.
   So I added some configs in spark session refer to https://issues.apache.org/jira/browse/SPARK-18112
   ```
   val sparkSession = SparkSession.builder()
         ...
         .config("spark.sql.hive.metastore.version", "2.3.3")
         .config("spark.sql.hive.metastore.jars", ".../hive-jars/*")
         .enableHiveSupport()
         .getOrCreate()
   ```
   I think if we set `spark.sql.hive.metastore.version`, spark will not use basic hive-1.2.1 metastore in itself jars lib and check hive version and then use `org.apache.spark.sql.hive.client.IsolatedClientLoader`.

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