hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Purtell <apurt...@apache.org>
Subject Re: GC peaks during major compaction
Date Thu, 21 Aug 2014 17:59:38 GMT
G1 is not the default collector for Java 7. You have to enable it
specifically with -XX:+UseG1GC

I believe the default collector for the server VM in 7 (and 8) is the
parallel collector, equivalent to specifying -XX:+UseParallelGC.

Yes, you need to not select more than one collector on the JVM command
line. No good can come of that. :-)

I'm not sure how many production deploys of HBase use G1. I'm guessing
greater than zero but with a preponderance of installs using CMS.

On Thu, Aug 21, 2014 at 1:43 AM, yanivG <yaniv.yancovich@gmail.com> wrote:

> Thanks for all your answer.
> I have few questions tough:
> 1. I saw that G1 is default for Java7. So did it worked by default? I am
> using Java SUN 1.7_51.
> 2. If I am changing to G!, should i remove the other GC options?
> XX:+UseConcMarkSweepGC -XX:+UseParNewGC
> --
> View this message in context:
> http://apache-hbase.679495.n3.nabble.com/GC-peaks-during-major-compaction-tp4062704p4063022.html
> Sent from the HBase User mailing list archive at Nabble.com.

Best regards,

   - Andy

Problems worthy of attack prove their worth by hitting back. - Piet Hein
(via Tom White)

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message