Stack trace: ExitCodeException exitCode=127

In HADOOP_HOME/libexec/hadoop-config.sh look for the if condition below # Attempt to set JAVA_HOME if it is not set

Remove extra parentheses in the export JAVA_HOME lines as below. Change this

if [ -x /usr/libexec/java_home ]; then
export JAVA_HOME=($(/usr/libexec/java_home))
else
export JAVA_HOME=(/Library/Java/Home)
fi

to

if [ -x /usr/libexec/java_home ]; then
// note that the extra parentheses are removed
export JAVA_HOME=$(/usr/libexec/java_home)
else
export JAVA_HOME=/Library/Java/Home
fi

Restart yarn after you have made this change.

More detailed info can be found here https://issues.apache.org/jira/browse/HADOOP-8717 and seems that Hadoop 3.0.0-alpha1 is the first release with the fix.

最新文章

  1. 编译安装mysql
  2. MyBatis中#,$的用法区别
  3. AOP 底层技术比较
  4. Camelot_floyd&&DP
  5. 利用doScroll在IE浏览器里模仿DOMContentLoaded
  6. Node.js 创建第一个应用
  7. 【python之路7】python基本数据类型(一)
  8. [C#技术参考]在PictureBox 中绘图防止闪烁的办法
  9. 转: linux文件链接(软链接和硬链接)
  10. nodejs+express+mongodb简单的例子
  11. Docker命令之 save
  12. Bootstrap-CSS:概况
  13. 学习笔记之Redis
  14. OAF_OAF控件系列7 - Tree的实现(案列)
  15. ThreadLocal 类说明
  16. C#直接解析Json键值对
  17. 初识Trie_对Trie的一些认识
  18. easyui combobox 的取值问题
  19. C/C++中qsort()以及sort()的用法
  20. Codeforces 777C Alyona and Spreadsheet(思维)

热门文章

  1. 《ABCD组》实验十一 团队作业7:团队项目设计完善&编码
  2. 28-SQLServer带见证服务器的镜像搭建
  3. Makefile:248: /usr/local/otp_src_18.1/make/x86_64-unknown-linux-gnu/otp_ded.mk: No such file
  4. 有关Django的smallDemo
  5. MySQL 视图 触发器 事务 存储过程 函数 流程控制 索引与慢查询优化
  6. Educational Codeforces Round 75 (Rated for Div. 2) A. Broken Keyboard
  7. 系统空闲时间 解决 GetLastInputInfo 负数问题
  8. PHP基础语法之 三元运算符和其它运算符
  9. 18.4.09 模拟考 zhx P75
  10. luogu P2345 奶牛集会