先建个文件夹
(base) localhost:~ XXX$ hadoop fs -mkdir /corpora
2020-01-13 09:47:44,788 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
将”文稿"中的一个txt上传到corpora文件夹中
(base) localhost:~ XXX$ hadoop fs -put`
/Users/XXX/Documents/hadoop_file/shakespeare.txt /corpora/shakespeare.txt
2020-01-13 09:51:45,525 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
2020-01-13 09:51:46,827 INFO sasl.SaslDataTransferClient: SASL encryption trust check: localHostTrusted = false, remoteHostTrusted = false
看一下里面的文件夹