apache/beam

Python HDFS: add Kerberos authentication support

オープン

#20,719 opened on 2022/06/04

 (4 件のコメント) (0 件のリアクション) (1 人の担当者)Java (4,097 件のフォーク)batch import
P3good first issuehadoopimprovementiopython

Repository metrics

Stars
 (7,313 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド