apache / apache/beam

Python HDFS: add Kerberos authentication support

Open
#20,719 4 comments 0 reactions 1 assignee Claimed by @haseebmalik18 View on GitHub
good first issue hadoop improvement io P3 python
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

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](https://issues.apache.org/jira/browse/BEAM-11750). Original Jira may contain additional context.
Reported by: udim.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.