我一直在关注有关安装Hadoop的this文章,并且已经完成了这篇文章。
但是,尝试创建新的hdfs文件夹时,发生以下错误。
C:\hadoop-2.8.0\bin>hadoop fs -mkdir /user/input
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.hadoop.security.authentication.util.KerberosUtil (file:/C:/hadoop-2.8.0/share/hadoop/common/lib/hadoop-auth-2.8.0.jar) to method sun.security.krb5.Config.getInstance()
WARNING: Please consider reporting this to the maintainers of org.apache.hadoop.security.authentication.util.KerberosUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
mkdir: `/user/input': No such file or directory
这很困扰我,因为我试图建立一个文件夹,而不是执行-ls或-put命令。
出于记录,我在Windows 10上以管理员身份运行。
我一直在关注有关安装Hadoop的本文,并且已经完成了这篇文章。但是,在尝试创建新的hdfs文件夹时,发生以下错误。 C:\ hadoop-2.8.0 \ bin> ...
如参考资料所示,使用jps命令检查是否所有服务都已启动并且正在运行namenode,datanode等。