如何将文件(PDF)传输到 Hadoop 文件系统

How to transfer a file(PDF) to Hadoop file system

我有 Hortonworks 系统,想将文件从文件系统复制到 Hadoop。最好的方法是什么?

尝试:

hadoop fs -put /your/local/file.pdf /your/hdfs/location

hadoop fs -copyFromLocal /your/local/file.pdf /your/hdfs/location

参考put command