0

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:

enter image description here

Full error print screen:

enter image description here

enter image description here

AntnR
  • 5
  • 2

0 Answers0