将pyspark代码连接到Hadoop目录时出现错误。
>>> from hdfs3 import HDFileSystem
>>> hdfs = HDFileSystem(host='localhost',port=8020)
terminate called after throwing an instance of 'Hdfs::InvalidParameter'
what(): InvalidParameter: Sessionconfig: Unknown protection mechanism type: authentication,privacy
Aborted (core dumped)