Created 06-21-2017 07:31 AM
HI
I'm trying to install a cloudera cluster but i have somme issue.
during the installation i have this error
Command Start is not currently available for execution
when i try to start the cloudera scm server manualy i have this
cloudera-scm-server.service - LSB: Cloudera SCM Server Loaded: loaded (/etc/init.d/cloudera-scm-server; bad; vendor preset: enabled) Active: active (exited) since mer. 2017-06-21 13:56:55 CEST; 2h 2min ago Docs: man:systemd-sysv-generator(8) Tasks: 0 Memory: 0B CPU: 0 juin 21 13:56:50 ha01vmlx systemd[1]: Starting LSB: Cloudera SCM Server... juin 21 13:56:50 ha01vmlx su[4933]: Successful su for cloudera-scm by root juin 21 13:56:50 ha01vmlx su[4933]: + ??? root:cloudera-scm juin 21 13:56:50 ha01vmlx su[4933]: pam_unix(su:session): session opened for user cloudera-scm by (uid=0) juin 21 13:56:55 ha01vmlx cloudera-scm-server[4911]: Starting cloudera-scm-server: * cloudera-scm-server started juin 21 13:56:55 ha01vmlx systemd[1]: Started LSB: Cloudera SCM Server.
and this is what i have seen when i try to look the error in the cloudera manager
How can i resolve this issue?
thanks for your help
Created 06-21-2017 07:33 AM
Could you provide me the stack trace of Cloduera Installer , Cloudera Server .
is your Cloduera agent and Cloduera manager Database is up and runining ? whats their status
Created 06-21-2017 07:37 AM
Created 06-21-2017 07:36 AM
whats the version of CM and JAVA .
what OS are you using ?
is your firewalld enabled on that host
Created 06-21-2017 07:39 AM
Created on 06-21-2017 06:08 PM - edited 06-21-2017 06:12 PM
1. is your
SELINUX is disabled
2. So you have JDK1.6 and Cloudera's version of Java .
if so then thats the problem . I would recommend you to use cloudera-java version.
and remove the JDK1.6
More over use always JDK 1.7 or 1.8. (Cloduera manager version 5.3 higer)
refer this link for more supported version
https://www.cloudera.com/documentation/enterprise/5-2-x/topics/cdh_ig_req_supported_versions.html
3. Finally make sure you dont have multiple version of JDK sitting on the host.
Created 06-22-2017 12:02 AM
Thanks for your response. i think there is multiple version of JDK in the host, because when i look at the version in Cloudera Manager i see 1.7.0_67.
Created 06-22-2017 01:47 AM
Remove all the JDK and keep one around in the host .
Make sure you have one version in all the master and slave nodes.
This should help you fix and let me know if that works or not
Created 06-22-2017 02:33 AM
i unistall 1.6 using these commandes in all hosts
sudo update-alternatives --remove "java" "/usr/lib/jvm/j2sdk1.6-oracle/bin/java" sudo update-alternatives --remove "javac" "/usr/lib/jvm/j2sdk1.6-oracle/bin/javac" sudo update-alternatives --remove "javaws" "/usr/lib/jvm/j2sdk1.6-oracle/bin/javaws" sudo rm -r /usr/lib/jvm/j2sdk1.6-oracle
after i have modified JAVA_HOME like this
export JAVA_HOME=/usr/lib/jvm/java-7-oracle-cloudera
i also modifie the path off java in Cloudera Manager.
but when i restart cloudera-scm-server i have this
cloudera-scm-server.service - LSB: Cloudera SCM Server Loaded: loaded (/etc/init.d/cloudera-scm-server; bad; vendor preset: enabled) Active: active (exited) since jeu. 2017-06-22 11:25:23 CEST; 27s ago Docs: man:systemd-sysv-generator(8) Process: 13383 ExecStop=/etc/init.d/cloudera-scm-server stop (code=exited, status=1/FAILURE) Process: 13408 ExecStart=/etc/init.d/cloudera-scm-server start (code=exited, status=0/SUCCESS) juin 22 11:25:17 ha01vmlx systemd[1]: cloudera-scm-server.service: Unit entered failed state. juin 22 11:25:17 ha01vmlx systemd[1]: cloudera-scm-server.service: Failed with result 'exit-code'. juin 22 11:25:17 ha01vmlx systemd[1]: Starting LSB: Cloudera SCM Server... juin 22 11:25:18 ha01vmlx su[13438]: Successful su for cloudera-scm by root juin 22 11:25:18 ha01vmlx su[13438]: + ??? root:cloudera-scm juin 22 11:25:18 ha01vmlx su[13438]: pam_unix(su:session): session opened for user cloudera-scm by (uid=0) juin 22 11:25:23 ha01vmlx cloudera-scm-server[13408]: Starting cloudera-scm-server: * cloudera-scm-server started juin 22 11:25:23 ha01vmlx systemd[1]: Started LSB: Cloudera SCM Server.
the status is always active(exited)
Created 06-22-2017 02:43 AM
Could you provide me the logs . cloudera-scm-server.log
also let me know if you performing the cloudera manager installation using PATH B
parcel or packages.
During the installation it will ask if you want to install Oracle jdk and accept licience.
You dont need to set JAVA_HOME manually .
https://www.cloudera.com/documentation/enterprise/5-8-x/topics/cm_ig_install_path_b.html