<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: GC Duration warnings on CDH 5.5.1 cluster in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40460#M38615</link>
    <description>&lt;P&gt;Ok we applied the following configuration as recommended on our Dev Cluster&amp;nbsp;and are seeing no issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;property: Java Configuration Options for NodeManager:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled &lt;STRONG&gt;-Xms512m -Xmx2048m -XX:PermSize=216m -XX:MaxPermSize=512m&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the point to note is GC Duration warnings had never happened on this cluster, it happened on our Production cluster.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So shall we go ahead and make changes on Production cluster or there are any other things we have to consider ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please any suggestions&lt;/P&gt;</description>
    <pubDate>Wed, 04 May 2016 17:48:34 GMT</pubDate>
    <dc:creator>Jais</dc:creator>
    <dc:date>2016-05-04T17:48:34Z</dc:date>
    <item>
      <title>GC Duration warnings on CDH 5.5.1 cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40373#M38601</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We recently started getting the GC warnings on our Yarn and all nodes of Production cluster frequently, so want to avoid this warnings. Please someone can help us to resolve this issue as soon as possible.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Following is the warning:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Test of whether this role spends too much time in garbage collection.&lt;/SPAN&gt; &lt;SPAN class="status-icon"&gt;&lt;SPAN&gt;Concerning&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="health-explanation"&gt;&lt;DIV&gt;Average time spent in garbage collection was 19.8 second(s) (32.97%) per minute over the previous 5 minute(s). Warning threshold: 30.00%.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:16:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40373#M38601</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2022-09-16T10:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: GC Duration warnings on CDH 5.5.1 cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40380#M38602</link>
      <description>&lt;P&gt;What is exactly the role that had this warning message?&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 21:16:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40380#M38602</guid>
      <dc:creator>haibochen</dc:creator>
      <dc:date>2016-05-02T21:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: GC Duration warnings on CDH 5.5.1 cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40381#M38603</link>
      <description>&lt;P&gt;Node Manager&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 21:26:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40381#M38603</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2016-05-02T21:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: GC Duration warnings on CDH 5.5.1 cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40383#M38604</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gc.png" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/1728i7A646AF964F2CED1/image-size/large?v=v2&amp;amp;px=999" role="button" title="gc.png" alt="gc.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 21:28:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40383#M38604</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2016-05-02T21:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: GC Duration warnings on CDH 5.5.1 cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40385#M38605</link>
      <description>&lt;P&gt;Following is the default configuration for garbage collection:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2016-05-02 at 2.40.32 PM.png" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/1729i86C989CCBBCB65C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2016-05-02 at 2.40.32 PM.png" alt="Screen Shot 2016-05-02 at 2.40.32 PM.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 21:42:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40385#M38605</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2016-05-02T21:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: GC Duration warnings on CDH 5.5.1 cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40389#M38606</link>
      <description>&lt;P&gt;Jais, for some reason, the configuration is not visiable to me. Can you copy and paste it here as text?&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 22:12:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40389#M38606</guid>
      <dc:creator>haibochen</dc:creator>
      <dc:date>2016-05-02T22:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: GC Duration warnings on CDH 5.5.1 cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40392#M38607</link>
      <description>&lt;DIV class="header-column"&gt;&lt;DIV class="display-name"&gt;I/O Sort Factor&lt;/DIV&gt;&lt;DIV class="property-name"&gt;mapreduce.task.io.sort.factor &amp;nbsp; &amp;nbsp;------&amp;gt; 64&lt;/DIV&gt;&lt;DIV class="property-name"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="property-name"&gt;&lt;SPAN&gt;Client Java Configuration Options -------- &amp;gt;&amp;nbsp;&lt;SPAN&gt;-Djava.net.preferIPv4Stack=true&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="property-name"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="property-name"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Java Configuration Options for JobHistory Server ------&amp;gt;&amp;nbsp;&lt;SPAN&gt;-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="property-name"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="property-name"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Java Configuration Options for NodeManager ------&amp;gt; &amp;nbsp;&lt;SPAN&gt;-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="property-name"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="property-name"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Java Configuration Options for ResourceManager -----&amp;gt;&amp;nbsp;&lt;SPAN&gt;-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="property-name"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="property-name"&gt;&lt;DIV class="header-column"&gt;&lt;DIV class="display-name"&gt;Garbage Collection Duration Thresholds---------&amp;gt;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;Warning: 30.0 Critical: 60.0&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="display-name"&gt;&lt;SPAN&gt;&lt;SPAN&gt;Garbage Collection Duration Monitoring Period ------ &amp;gt;&amp;nbsp;&lt;SPAN&gt;5 minute(s)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 02 May 2016 22:19:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40392#M38607</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2016-05-02T22:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: GC Duration warnings on CDH 5.5.1 cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40394#M38610</link>
      <description>&lt;P&gt;Which version of java are you using? I do not know much about GC tuning, but heap size can lead to GC pause sometimes, you can try to increaes the heap size of Node Manager if that is possible. You can also try to collect gc logs by adding java options temporarily "&lt;SPAN&gt;-XX:+PrintGCDetails -XX:+PrintHeapAtGC -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -XX:+PrintGCApplicationStoppedTime -XX:PrintFLSStatistics=2"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 23:19:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40394#M38610</guid>
      <dc:creator>haibochen</dc:creator>
      <dc:date>2016-05-02T23:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: GC Duration warnings on CDH 5.5.1 cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40397#M38611</link>
      <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Java version we are using is "1.8.0_51".&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;What property do we need to reset for increasing heap size.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Is it&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="header-column"&gt;&lt;DIV class="display-name"&gt;Client Java Heap Size&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="property-name"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="control-column-expanded"&gt;&lt;DIV class=""&gt;&lt;DIV class="context-container"&gt;&lt;SPAN class="context-label"&gt;Gateway Default Group&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;-------------&amp;gt;&amp;nbsp;825955249 B = &lt;SPAN&gt;787.69 MiB&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="context-container"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="context-container"&gt;&lt;SPAN&gt;If yes, by how much should we increase the size,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="context-container"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="context-container"&gt;&lt;SPAN&gt;Its a 13 Node cluster&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 23:44:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40397#M38611</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2016-05-02T23:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: GC Duration warnings on CDH 5.5.1 cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40400#M38612</link>
      <description>&lt;P&gt;you will need to append "&lt;/P&gt;&lt;PRE&gt; -Xms512m -Xmx1024m -XX:PermSize&lt;SPAN class="token operator"&gt;=216&lt;/SPAN&gt;m -XX:MaxPermSize&lt;SPAN class="token operator"&gt;=512&lt;/SPAN&gt;m&lt;/PRE&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;to the property &amp;nbsp;&lt;STRONG&gt;Java Configuration Options for Node Manager,&amp;nbsp;&lt;/STRONG&gt;and then restart Node Managers. You'll want to change &amp;nbsp;the numbers for -Xmx and -XX:MaxPermSize to values bigger than what you currently have for Node Manager. Please try to do this in a test enviroment first as this may impact on your production cluster.&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 00:24:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40400#M38612</guid>
      <dc:creator>haibochen</dc:creator>
      <dc:date>2016-05-03T00:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: GC Duration warnings on CDH 5.5.1 cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40401#M38613</link>
      <description>&lt;P&gt;Can you please be more specific to this, like how to find out the current setting for following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;-Xms512m -Xmx1024m -XX:PermSize&lt;SPAN class="token operator"&gt;=216&lt;/SPAN&gt;m -XX:MaxPermSize&lt;SPAN class="token operator"&gt;=512&lt;/SPAN&gt;m&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 May 2016 00:50:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40401#M38613</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2016-05-03T00:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: GC Duration warnings on CDH 5.5.1 cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40402#M38614</link>
      <description>&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/9257361/how-to-check-heap-size-allocated-for-jvm-by-linux" target="_blank"&gt;http://stackoverflow.com/questions/9257361/how-to-check-heap-size-allocated-for-jvm-by-linux&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 01:04:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40402#M38614</guid>
      <dc:creator>haibochen</dc:creator>
      <dc:date>2016-05-03T01:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: GC Duration warnings on CDH 5.5.1 cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40460#M38615</link>
      <description>&lt;P&gt;Ok we applied the following configuration as recommended on our Dev Cluster&amp;nbsp;and are seeing no issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;property: Java Configuration Options for NodeManager:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled &lt;STRONG&gt;-Xms512m -Xmx2048m -XX:PermSize=216m -XX:MaxPermSize=512m&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the point to note is GC Duration warnings had never happened on this cluster, it happened on our Production cluster.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So shall we go ahead and make changes on Production cluster or there are any other things we have to consider ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please any suggestions&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2016 17:48:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40460#M38615</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2016-05-04T17:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: GC Duration warnings on CDH 5.5.1 cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40489#M38616</link>
      <description>&lt;P&gt;Is it possible for you to try the same&amp;nbsp;settings in your production cluster? If your dev cluster is very close to production server in terms of workload, then I'd guess&amp;nbsp;this will alleviate gc pause in your production cluster as well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2016 02:23:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GC-Duration-warnings-on-CDH-5-5-1-cluster/m-p/40489#M38616</guid>
      <dc:creator>haibochen</dc:creator>
      <dc:date>2016-05-05T02:23:40Z</dc:date>
    </item>
  </channel>
</rss>

