在阿里云申请的机器,但是测试yarn的时候执行:hadoop jar hadoop-mapreduce-examples-3.2.1.jar pi 2 3会报错:
[2020-06-29 12:07:23.924]Container exited with a non-zero exit code 127. Error file: prelaunch.err.
Last 4096 bytes of prelaunch.err :
Last 4096 bytes of stderr :
/bin/bash: /bin/java: No such file or directory