From b04d59ee2bff6b8fb845195fc4ba9222de9d0534 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Wed, 4 Aug 2021 17:02:12 +0200 Subject: [PATCH] ARROW-9719: [Python] Improve HadoopFileSystem docstring Document missing parameters. Closes #10867 from pitrou/ARROW-9719-hdfs-docstring Authored-by: Antoine Pitrou Signed-off-by: Antoine Pitrou --- python/pyarrow/_hdfs.pyx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python/pyarrow/_hdfs.pyx b/python/pyarrow/_hdfs.pyx index 5ede8f5159dba..6d1a85e18e5bd 100644 --- a/python/pyarrow/_hdfs.pyx +++ b/python/pyarrow/_hdfs.pyx @@ -37,6 +37,8 @@ cdef class HadoopFileSystem(FileSystem): HDFS host to connect to. port : int, default 8020 HDFS port to connect to. + user : str, default None + Username when connecting to HDFS; None implies login user. replication : int, default 3 Number of copies each block will have. buffer_size : int, default 0 @@ -47,6 +49,9 @@ cdef class HadoopFileSystem(FileSystem): 128 MB. kerb_ticket : string or path, default None If not None, the path to the Kerberos ticket cache. + extra_conf : dict, default None + Extra key/value pairs for configuration; will override any + hdfs-site.xml properties. """ cdef: