test-wangxiaoyu opened a new pull request #3771:
URL: https://github.com/apache/hudi/pull/3771
**Previously hudI did not support synchronizing Kerberos-managed Hive. This
time, I added two parameters to hudI sync Hive Meta to support synchronizing
Kerberos-managed Hive,Supports JDBC and HMS modes**
**The new parameters**:
1) hive_sync.use_kerberos (default false,true: Enables the
Kerberos function of Hive Sync)
2) hive_sync.kerberos_principal (Connected to hive Principal,
note!Peincipal is not the Principal used by Hive)
**Flink sample**:
CREATE TABLE t1(
uuid VARCHAR(20),
name VARCHAR(10),
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'='t1',
'hive_sync.mode'='hms',
'path' = 'hdfs://ip:8020/warehouse/hudi/t1',
'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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]