当我开始 yarn.sh 时出现错误

error coming while i am start the yarn.sh

start-yarn.sh
starting yarn daemons
starting resourcemanager, logging to /logs/yarn-hduser-resourcemanager-ubuntu.out
nice: /bin/yarn: No such file or directory
localhost: starting nodemanager, logging to /logs/yarn-hduser-nodemanager-ubuntu.out
localhost: nice: /bin/yarn: No such file or directory

您应该使用此命令安装 yarn:

sudo apt-get install cmdtest