How to import "HdfsClient" in python 3?
HDFSClient
is deprecated. You might want to use pyarrow.hdfs.connect
.Also try pip freeze
to see if the relevant library is installed in your python environment or not.ex.
from pyarrow import hdfshdfs.connect('192.168.0.119', 50070, 'cloudera', driver='libhdfs')