Support Questions

Find answers, ask questions, and share your expertise

cloudera scm server start issues - java

avatar
New Contributor

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)

 

1 ACCEPTED SOLUTION

avatar
Guru

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


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:

Terms of Service

Community Guidelines

How to use the forum

View solution in original post

2 REPLIES 2

avatar
Guru

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


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:

Terms of Service

Community Guidelines

How to use the forum

avatar
New Contributor

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