flinkx读取hdfs鉴权kerberos

"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": "[email protected]",
              "dfs.namenode.keytab.file": "/tmp/sync.keytab",
              "java.security.krb5.conf": "/etc/krb5.conf",
              "useLocalFile": "true",
              "principalFile": "/tmp/sync.keytab",
              "principal": "[email protected]"
            },

flinkx 验证kerberos hdfs 鉴权,亲测可用

你可能感兴趣的:(flinkx,数据同步)