<?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 concerning for jobtracker in CDH5.9 cluster in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/GC-duration-concerning-for-jobtracker-in-CDH5-9-cluster/m-p/61791#M71231</link>
    <description>Raising the heap should mostly help with this, as &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/18441"&gt;@saranvisa&lt;/a&gt; points out. The GC is usually driven by inadequate free heap memory, and adding more allocated heap memory helps with that. However, if the GCs are occurring without any change/increase in load, it could also be related to history retention configurations of the JobTracker.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Cm -&amp;gt; Yarn -&amp;gt; Configuration -&amp;gt; "Garbage Collection Duration Monitoring Period" Increase it from 5 mins to 10 mins&lt;BR /&gt;&lt;BR /&gt;I'd not recommend doing this, as it only hides the problem - You should be concerned if there's excessive GC due to heap pressure, and the default alert window and thresholds covers it well. Only increase it if you're absolutely sure the GC spikes are temporary and workload-driven but non-concerning, which doesn't seem determined yet.&lt;BR /&gt;&lt;BR /&gt;Also, if you want to check the heap usage before increasing the heap by any value, you may see it in the heap charts shown on the JobTracker instance page of CM.</description>
    <pubDate>Tue, 14 Nov 2017 08:40:02 GMT</pubDate>
    <dc:creator>Harsh J</dc:creator>
    <dc:date>2017-11-14T08:40:02Z</dc:date>
    <item>
      <title>GC duration concerning for jobtracker in CDH5.9 cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/GC-duration-concerning-for-jobtracker-in-CDH5-9-cluster/m-p/61752#M71228</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are getting warning (concerning) messages for mapreduce1 &amp;nbsp;jobtracker frequently on our Cloudera CDH 5.9 cluster. Currently java heap size of jobtracker is 4.11GB and it's 14-node cluster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Below is the warning message that appears regarding the garbage collection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Test of whether this role spends too much time in garbage collection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Concerning:Average time spent in garbage collection was 20.6 seconds(34.28%)per minute over the previous &amp;nbsp;5 minute(s).Warning threshold:30.00%&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="health-explanation alert alert-warning"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="health-explanation alert alert-warning"&gt;&lt;SPAN class="bold"&gt;Can someone please help me to get rid of the issue?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="health-explanation alert alert-warning"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="health-explanation alert alert-warning"&gt;&lt;SPAN class="bold"&gt;Thanks,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="health-explanation alert alert-warning"&gt;&lt;SPAN class="bold"&gt;Priya&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Nov 2017 13:42:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/GC-duration-concerning-for-jobtracker-in-CDH5-9-cluster/m-p/61752#M71228</guid>
      <dc:creator>cdhhadoop</dc:creator>
      <dc:date>2017-11-13T13:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: GC duration concerning for jobtracker in CDH5.9 cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/GC-duration-concerning-for-jobtracker-in-CDH5-9-cluster/m-p/61758#M71229</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/23293"&gt;@cdhhadoop&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try the below, it may help you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cm -&amp;gt; Yarn -&amp;gt; Configuration -&amp;gt; "Java Heap Size of NodeManager in Bytes" Get the current value like 1GB or 2GB, etc... Increase one extra GB, ex: if it is 1GB, increase it to 2GB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(or)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cm -&amp;gt; Yarn -&amp;gt; Configuration -&amp;gt;&amp;nbsp;&lt;/SPAN&gt;"Garbage Collection Duration Monitoring Period" Increase it from 5 mins to 10 mins&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;restart yarn as needed&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 15:58:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/GC-duration-concerning-for-jobtracker-in-CDH5-9-cluster/m-p/61758#M71229</guid>
      <dc:creator>saranvisa</dc:creator>
      <dc:date>2017-11-13T15:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: GC duration concerning for jobtracker in CDH5.9 cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/GC-duration-concerning-for-jobtracker-in-CDH5-9-cluster/m-p/61789#M71230</link>
      <description>&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/18441"&gt;@saranvisa&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply . I will try the option you mentioned .</description>
      <pubDate>Tue, 14 Nov 2017 04:26:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/GC-duration-concerning-for-jobtracker-in-CDH5-9-cluster/m-p/61789#M71230</guid>
      <dc:creator>cdhhadoop</dc:creator>
      <dc:date>2017-11-14T04:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: GC duration concerning for jobtracker in CDH5.9 cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/GC-duration-concerning-for-jobtracker-in-CDH5-9-cluster/m-p/61791#M71231</link>
      <description>Raising the heap should mostly help with this, as &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/18441"&gt;@saranvisa&lt;/a&gt; points out. The GC is usually driven by inadequate free heap memory, and adding more allocated heap memory helps with that. However, if the GCs are occurring without any change/increase in load, it could also be related to history retention configurations of the JobTracker.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Cm -&amp;gt; Yarn -&amp;gt; Configuration -&amp;gt; "Garbage Collection Duration Monitoring Period" Increase it from 5 mins to 10 mins&lt;BR /&gt;&lt;BR /&gt;I'd not recommend doing this, as it only hides the problem - You should be concerned if there's excessive GC due to heap pressure, and the default alert window and thresholds covers it well. Only increase it if you're absolutely sure the GC spikes are temporary and workload-driven but non-concerning, which doesn't seem determined yet.&lt;BR /&gt;&lt;BR /&gt;Also, if you want to check the heap usage before increasing the heap by any value, you may see it in the heap charts shown on the JobTracker instance page of CM.</description>
      <pubDate>Tue, 14 Nov 2017 08:40:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/GC-duration-concerning-for-jobtracker-in-CDH5-9-cluster/m-p/61791#M71231</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2017-11-14T08:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: GC duration concerning for jobtracker in CDH5.9 cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/GC-duration-concerning-for-jobtracker-in-CDH5-9-cluster/m-p/61794#M71232</link>
      <description>@HarshJ&lt;BR /&gt;Thanks for inputs. I checked heap charts on jobtracker instance and it's hitting the maximum heap value frequently and then reducing to little less value.&lt;BR /&gt;&lt;BR /&gt;Also, there has not been any change/increase in load.&lt;BR /&gt;I checked the jobtracker logs but couldn't find any pauses as logging is not enabled for GC.&lt;BR /&gt;&lt;BR /&gt;Can you please let me know what are the history retention configurations of jobtracker?&lt;BR /&gt;&lt;BR /&gt;Can you please suggest me how to identify the reason behind the GC taking significant time?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Priya&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Nov 2017 09:41:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/GC-duration-concerning-for-jobtracker-in-CDH5-9-cluster/m-p/61794#M71232</guid>
      <dc:creator>cdhhadoop</dc:creator>
      <dc:date>2017-11-14T09:41:37Z</dc:date>
    </item>
  </channel>
</rss>

