When trying to use the non-legacy dataset from pyarrow package (version 0.17.1), i get the OSError: HDFS connection failed error when connecting to hdfs. However, when i use the legacy one, i can establish the connection without any issues.
i.e. the bellow works:
filesystem = pa.hdfs.connect(host = 'host_name', kerb_ticket = path_to_kerb_ticket_cache, port = 0)
but this does not:
filesystem = pa.fs.HadoopFileSystem(host = 'host_name', kerb_ticket = path_to_kerb_ticket_cache, port = 0)
Moreover, if i first create connection using the legacy way and then try to connect with the non-legacy way, everything works:
filesystem = pa.hdfs.connect(host = 'host_name', kerb_ticket = path_to_kerb_ticket_cache, port = 0)
filesystem = pa.fs.HadoopFileSystem(host = 'host_name', kerb_ticket = path_to_kerb_ticket_cache, port = 0)
Any ideas how to properly use pa.fs.HadoopFileSystem?