dzygoon commented on issue #6369:
URL: https://github.com/apache/seatunnel/issues/6369#issuecomment-1968344308

   > Is the namenode in your cluster in HA mode? If so, please give me your 
configuration information. I made an error during the configuration 
process.thx!!!
   
   官方文档的描述是正确的,我得配置如下:
       fs.defaultFS: hdfs://hacluster
       seatunnel.hadoop.dfs.nameservices: hacluster
       seatunnel.hadoop.dfs.ha.namenodes.hacluster: 37,38
       seatunnel.hadoop.dfs.namenode.rpc-address.hacluster.37: 
rdqh-mrs-testnode02:25000
       seatunnel.hadoop.dfs.namenode.rpc-address.hacluster.38: 
rdqh-mrs-testnode03:25000
       seatunnel.hadoop.dfs.client.failover.proxy.provider.hacluster: 
org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider
   
   
   如果你需要使用kerberos认证,那么需要额外添加如下配置:
       kerberosPrincipal: [email protected]
       kerberosKeytabFilePath: /wwdl/resource/huawei_kerberos/user.keytab
       seatunnel.hadoop.dfs.namenode.kerberos.principal: 
hdfs/[email protected]
       seatunnel.hadoop.dfs.datanode.kerberos.principal: 
hdfs/[email protected]
       seatunnel.hadoop.rpc.protection: authentication


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

Reply via email to