重新配置了虚拟机和hadoop
解决方法:1.打开 .bashrc文件2.输入命令:vim .bashrc3.添加一行:PATH=$PATH:/usr/local/hadoop/sbin4.输入命令:source $HOME/.bashrc