"hadoopConfig" : {
"properties.hadoop.user.name": "sync",
"properties.dfs.ha.namenodes.ns": "hostname1,hostname2",
"properties.fs.defaultFS": "hdfs://bigdata",
"properties.dfs.namenode.rpc-address.ns.nn2": "hostname1:8020",
"properties.dfs.client.failover.proxy.provider.ns": "org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider",
"properties.dfs.namenode.rpc-address.ns.nn1": "hostname2:8020",
"properties.dfs.nameservices": "bigdata",
"properties.fs.hdfs.impl.disable.cache": "true",
"properties.fs.hdfs.impl": "org.apache.hadoop.hdfs.DistributedFileSystem",
"hadoop.security.authorization": "true",
"hadoop.security.authentication": "Kerberos",
"dfs.namenode.kerberos.principal": "sync@xxx.COM",
"dfs.namenode.keytab.file": "/tmp/sync.keytab",
"java.security.krb5.conf": "/etc/krb5.conf",
"useLocalFile": "true",
"principalFile": "/tmp/sync.keytab",
"principal": "sync@xxx.COM"
},
flinkx 验证kerberos hdfs 鉴权,亲测可用