apache/beam

Python HDFS: add Kerberos authentication support

Open

#20.719 aperta il 4 giu 2022

Vedi su GitHub
 (4 commenti) (0 reazioni) (1 assegnatario)Java (4097 fork)batch import
P3good first issuehadoopimprovementiopython

Metriche repository

Star
 (7313 star)
Metriche merge PR
 (Merge medio 6g) (243 PR mergiate in 30 g)

Descrizione

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.

Guida contributor