Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Using G1GC of JDK 8 on Cloudera

avatar
Contributor

Hi,

 

We have CDH 5.15 on our production cluster with JDK 8,

What is your recommendation about moving to G1GC or stay with the CMS,

didn't find any clear instruction about it.

Does it depend on the CDH version? or on the components I'm using?

 

Thanks

1 ACCEPTED SOLUTION

avatar
Expert Contributor

Hello @hores,

 

I am not sure about your use case scenario to opt for g1. But as per most of the GC test, cms still seems to the best and default option. G1 may have improved latency but throughput is still a challenge in many tested scenario.

 

Also, you may review tunning GC for HBase. 

 

Hope that helps.

View solution in original post

3 REPLIES 3

avatar
Expert Contributor

Hello @hores,

 

If you plan to use and enable G1 GC for all your YARN jobs then please modify YARN's Configuration -> "Map Task Java Opts Base" and "Reduce Task Java Opts Base".

 

Hope that helps.

avatar
Contributor

Hi @Consult,

 

1. What is your recommendation about it? It is better to use it on all your components (Hive, ImpalaEmbeddedJVM, YARN, hdfs etc) or not? are their some exceptional components?

2. How do I configure theImpalaEmbeddedJVM ?

 

Thanks

avatar
Expert Contributor

Hello @hores,

 

I am not sure about your use case scenario to opt for g1. But as per most of the GC test, cms still seems to the best and default option. G1 may have improved latency but throughput is still a challenge in many tested scenario.

 

Also, you may review tunning GC for HBase. 

 

Hope that helps.