我正在尝试运行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 ")")发布于 2015-10-03 04:38:14
问题出在外壳上。使用bash解决了这个问题:
bash libexec/yarn-config.shhttps://stackoverflow.com/questions/26004279
复制相似问题