【发布时间】:2014-09-23 20:34:31
【问题描述】:
我正在尝试运行 YARN,但运行 yarn-config.sh 会出现以下错误。我该如何解决?是否与我使用的 shell 类型有关?
sh libexec/yarn-config.sh
libexec/yarn-config.sh: 82: /opt/hadoop/2.5.1/libexec/../libexec/hadoop-config.sh: Syntax error: word unexpected (expecting ")")
【问题讨论】:
-
为什么需要运行 config.sh ,为什么不运行 start-dfs.sh 和 start-yarn.sh ?
-
尝试运行 bash -x ..../hadoop-config.sh 看看是什么导致了错误
标签: hadoop hadoop-yarn