Closed laixueyong closed 4 months ago
"writer": { "name": "hdfswriter", "parameter": { "defaultFS": "hdfs://cdhtest01:8020", "fileType": "parquet", "path": "/user/hive/warehouse/px3", "fileName": "px", "column": [ { "name": "sku", "type": "string" }, { "name": "sku_name", "type": "string" }, { "name": "com_name", "type": "string" } ], "hadoopConfig": { "dfs.nameservices": "nameservice1", "dfs.ha.namenodes.nameservice1": "namenode67,namenode103", "dfs.namenode.rpc-address.nameservice1.namenode67": "cdhtest01:8020", "dfs.namenode.rpc-address.nameservice1.namenode103": "cdhtest05:8020", "dfs.client.failover.proxy.provider.nameservice1": "org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider" }, "haveKerberos": true, "kerberosKeytabFilePath": "/home/extimp/lxy_work/datax_format/datax/keytab/hive.keytab", "kerberosPrincipal": "hive/cdhtest01@PEC.COM.CN", "writeMode": "append", "fieldDelimiter": "\u0001", "compress": "SNAPPY" } }
已经解决了
What happened?
我使用了hive.keytab和hdfs.keytab的方式去认证Kerberos都不成功 强制nn/_HOST@ 以nn开头
Version
4.1.3 (Default)
OS Type
No response
Java JDK Version
Oracle JDK 1.8.0
Relevant log output