我知道有一个熟悉的标题问题,但我们问的是不同的。 我想这复制文件从本地到HDFS
[email protected]:/usr/local/hadoop$ bin/hadoop dfs -copyFromLocal /tmp/Text /home/hduser/Text
而且我得到这个:
DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.
15/10/14 10:15:21 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
copyFromLocal: `/home/hduser/Text': No such file or directory
不过,我有到/ home/hduser /文本和我使用HDFS命令 是什么错误呢?我该如何修复它
您是否尝试过在目标路径中指定的服务器和端口:'HDFS: //:/home/hduser/T ext'? –
我正在单节点上工作。我需要指定服务器和端口吗? –