apache/beam

Python HDFS: add Kerberos authentication support

Open

#20,719 建立於 2022年6月4日

在 GitHub 查看
 (4 留言) (0 反應) (1 負責人)Java (4,097 fork)batch import
P3good first issuehadoopimprovementiopython

倉庫指標

Star
 (7,313 star)
PR 合併指標
 (平均合併 6天) (30 天內合併 243 個 PR)

描述

The HDFS client used by Beam supports Kerberos.

Initial idea: add a flag --hdfs_client that defaults to "INSECURE" and also accepts "KERBEROS". This flag will control initialization of self._hdfs_client.

HDFS client docs: https://hdfscli.readthedocs.io/en/latest/api.html#module-hdfs.ext.kerberos

The HDFS client seems to use this Kerberos library: https://pypi.org/project/requests-kerberos/

Imported from Jira BEAM-11750. Original Jira may contain additional context. Reported by: udim.

貢獻者指南