centos version 7.2.1511 when starting hadoop2.8.5, prompt:
[root@master sbin]-sharp ./start-all.sh
This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh
Starting namenodes on [master]
master: /usr/bin/env: bash:
master: /usr/bin/env: bash:
slave1: /usr/bin/env: bash:
slave2: /usr/bin/env: bash:
Starting secondary namenodes [master]
master: /usr/bin/env: bash:
starting yarn daemons
resourcemanager running as process 11195. Stop it first.
master: /usr/bin/env: bash:
slave1: /usr/bin/env: bash:
slave2: /usr/bin/env: bash:
in fact, you can find / usr/bin/env
this directory in the system. I don"t know what caused it. I haven"t done it after debugging all day. Please take a look at it. Thank you!
the installation steps refer to https://blog.csdn.net/source_.