Bug背景
未修改任何配置的情况下,重启hadoop
biglucky@localhost>sh start-all.sh
This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh
start-all.sh: 112: /opt/hadoop-2.7.1/sbin/../libexec/hadoop-config.sh: Syntax error: word unexpected (expecting ")")
提示了“Syntax error: word unexpected (expecting “)”)”这样的异常,而这段期间我没有修改过任何配置。于是各种找资料使用
sudo sh start-all.sh
等这样的命令也会出错。