pyarrow.HadoopFileSystem.open

HadoopFileSystem.open(self, path, mode='rb', buffer_size=None, replication=None, default_block_size=None)

Open HDFS file for reading or writing

Parameters:mode (string) – Must be one of ‘rb’, ‘wb’, ‘ab’
Returns:handle (HdfsFile)