'ERROR: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-l.el7_9.x86_64/bin/java is not executable

i have problem of

ERROR: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-l.el7_9.x86_64/bin/java is not executable

when i try to perform a formatting of the node's name of hadoop with

hdfs namenode -format


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source