test-wangxiaoyu opened a new pull request #3613:
URL: https://github.com/apache/hudi/pull/3613


   For Hive with Kerberos enabled, THE HMS of HUDI cannot access the Hive 
metadata
   Hive.get(configuration).getMSC()
   Methods before
   Perform Kerberos authentication on the Flink client
   Set the parameters for enabling Kerberos authentication and the 
configuration parameters for transmitting hive Principal to Hive
   I added two parameters
   1.hive_sync.use_kerberos
   2.hive_sync.kerberos_principal
   Use the following method to enable Hive Kerberos access control
   CREATE TABLE t2(
   Uuid VARCHAR (20),
   The name VARCHAR (10),
   The age INT,
   Ts TIMESTAMP (3),
   partition VARCHAR (20)
   )
   PARTITIONED BY (partition)
   with(
   'connector' = 'hudi',
   'hive_sync.enable'='true',
   'hive_sync.db'='test',
   'hive_sync.table'='t2',
   'hive_sync.mode'='hms',
   'path' = 'hdfs://ip:8020/warehouse/hudi/t2',
   'hive_sync.metastore.uris'='thrift://ip:9083',
   'hive_sync.use_kerberos' = 'true',
   'hive_sync.kerberos_principal' = 'hive/_HOST@BIGDATA'
   )
   


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

To unsubscribe, e-mail: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to