Skip to main content
SidMishra619
Silver ⭐️
April 13, 2020
Solved

cloudera scm server start issues - java

I am trying to install cloudera 6.3 using postgresql 10 and openjdk 11.0.6

When I start the cloudera-scm-server, it fails and i get the below error in the cloudera-scm-server.out. Any ideas?

 

 

JAVA_HOME=/usr/lib/jvm/java-openjdk
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Unrecognized VM option 'UseParNewGC'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

 

 

Here is the java version

 

 

[root@dex cloudera-scm-server]# java -version
openjdk version "11.0.6" 2020-01-14 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.6+10-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.6+10-LTS, mixed mode, sharing)

 

lwang
lwangAnswer
Platinum ⭐️
April 13, 2020

Hi @SidMishra619 ,

 

Thanks for reaching out to Cloudera community.

 

Could you please help answer few questions so we can assist further?

1) What is the actual path to OpenJDK on CM server?

2) What is the Operating System?

3) Have you modified the file /etc/default/cloudera-scm-server? Please send a copy if you can.

 

Just based on our doc: https://docs.cloudera.com/documentation/enterprise/upgrade/topics/ug_jdk8.html, CM 6.3 should be able to work with OpenJDK 11.0.3 or higher.

 

Thanks,

Li

Li Wang, Technical Solution Manager

2 replies

lwang
Platinum ⭐️
lwangAnswer
Platinum ⭐️
April 13, 2020

Hi @SidMishra619 ,

 

Thanks for reaching out to Cloudera community.

 

Could you please help answer few questions so we can assist further?

1) What is the actual path to OpenJDK on CM server?

2) What is the Operating System?

3) Have you modified the file /etc/default/cloudera-scm-server? Please send a copy if you can.

 

Just based on our doc: https://docs.cloudera.com/documentation/enterprise/upgrade/topics/ug_jdk8.html, CM 6.3 should be able to work with OpenJDK 11.0.3 or higher.

 

Thanks,

Li

Translate
Li Wang, Technical Solution Manager
SidMishra619
Silver ⭐️
April 14, 2020

Hi @lwang ,

 

I was able to resolve the issues with a few tries in configuring the java home path in /etc/default/cloudera-scm-server.

 

Thanks

 

 

Translate