Hearen / HadoopInitializer

Using pure shell to configure hadoop 2.7.1 environment in CentOS 7.1 cluster
GNU General Public License v3.0
1 stars 0 forks source link

When the java already installed in remotes, the newly java can be ignored #5

Closed Hearen closed 8 years ago

Hearen commented 8 years ago

This can be the reason why the hadoop cluster runs abnormally.

Hearen commented 8 years ago

install java respectively and if it prompts java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory you should change the hard link to the soft link ln /opt/jdk1.8.0/bin/java /usr/bin/java to /ln -s /opt/jdk1.8.0/bin/java /usr/bin/java`

Hearen commented 8 years ago

Try to copy it and then link it -> maybe it can work fine