当我试图将文件从pc复制到hadoop时,它会抛出错误。
hadoop fs -put D:/test/file1 /test/input
-put:无法从空字符串创建路径
我也试过了 --copyFromLocal
```
hadoop fs -copyFromLocal D:/test/file1 /test/input
-copyfromlocal:无法从空字符串创建路径
我也有同样的错误。
目录中的文件夹:
hadoop fs -ls /test
Found 2 items
drwxr-xr-x - OPTCL supergroup 0 2021-03-04 15:36 /test/input
drwxr-xr-x - OPTCL supergroup 0 2021-03-04 15:36 /test/output
暂无答案!
目前还没有任何答案,快来回答吧!