[Solved] Mrjob running error: /bin/bash: /bin/java: No such file or directory

reference: https://stackoverflow.com/questions/41906993/hadoop-2-7-3-exception-from-container-launch-failed-due-to-am-container-exit-co

Am container is Java_Reasons for home

ip:8088/cluster/app/application_1637120527577_0001

It is written in the error message

/bin/bash: /bin/java: No such file or directory

Solution:

Input in shell

All you need to return/usr/local/Java/bin/Java is this executable java file

Enter/usr/local/Java/bin/Java – version to view the version, which indicates that there is no problem

Connect with soft link

ln -s /usr/local/java/bin/java /bin/java

Run again successfully

Similar Posts: