I have already tried many different ways but non of them does not work. For example, the followng way failed with the error "The system cannot find the file specified."
Example:
import pyarrow as pa
fs = pa.hdfs.connect('192.168.100.45', 20500, 'hdfs')
path='/user/hive/warehouse/sample_07/sample_07'
with fs.open(path, 'r') as f:
print(f)
Error
FileNotFoundError: [WinError 2] The system cannot find the file specified
HDFS File System IMAGE:
Full error print screen: