<?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 Cloudera Manager difference in physical memory vs linux system memory usage in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-difference-in-physical-memory-vs-linux/m-p/66372#M48547</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a cluster with 3 masters and 5 data nodes. Jupyter is installed on one of the master and runs via the following command in client mode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;pyspark2 --master yarn --deploy-mode client --name jupyter-notebook --driver-memory 4G --executor-memory 4G --executor-cores 3 --num-executers 3&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything is working well but there is a difference of physical memory usage which is shown in Cloudera Manager and system memory usage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Total physical memory : 62G&lt;/P&gt;&lt;P&gt;Memory usage as shown by CM: 16.5 G&lt;/P&gt;&lt;P&gt;Memory usage on the system: 56G&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cloudera Manager&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-center" image-alt="Screenshot-2018-4-16 All Hosts - Cloudera Manager(2).png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/4009i71865D7E595DF44E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot-2018-4-16 All Hosts - Cloudera Manager(2).png" alt="Screenshot-2018-4-16 All Hosts - Cloudera Manager(2).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;while on the system&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mem_info.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/4008i6C1F5CCD7F31B0B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mem_info.png" alt="mem_info.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CM only takes count of memory used by Hadoop components but not the yarn running in a client mode.&lt;/P&gt;&lt;P&gt;Is there any way to make available the memory usage by yarn running in client-mode on CM?&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 13:06:21 GMT</pubDate>
    <dc:creator>null_pointer</dc:creator>
    <dc:date>2022-09-16T13:06:21Z</dc:date>
    <item>
      <title>Cloudera Manager difference in physical memory vs linux system memory usage</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-difference-in-physical-memory-vs-linux/m-p/66372#M48547</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a cluster with 3 masters and 5 data nodes. Jupyter is installed on one of the master and runs via the following command in client mode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;pyspark2 --master yarn --deploy-mode client --name jupyter-notebook --driver-memory 4G --executor-memory 4G --executor-cores 3 --num-executers 3&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything is working well but there is a difference of physical memory usage which is shown in Cloudera Manager and system memory usage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Total physical memory : 62G&lt;/P&gt;&lt;P&gt;Memory usage as shown by CM: 16.5 G&lt;/P&gt;&lt;P&gt;Memory usage on the system: 56G&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cloudera Manager&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-center" image-alt="Screenshot-2018-4-16 All Hosts - Cloudera Manager(2).png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/4009i71865D7E595DF44E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot-2018-4-16 All Hosts - Cloudera Manager(2).png" alt="Screenshot-2018-4-16 All Hosts - Cloudera Manager(2).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;while on the system&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mem_info.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/4008i6C1F5CCD7F31B0B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mem_info.png" alt="mem_info.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CM only takes count of memory used by Hadoop components but not the yarn running in a client mode.&lt;/P&gt;&lt;P&gt;Is there any way to make available the memory usage by yarn running in client-mode on CM?&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:06:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-difference-in-physical-memory-vs-linux/m-p/66372#M48547</guid>
      <dc:creator>null_pointer</dc:creator>
      <dc:date>2022-09-16T13:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cloudera Manager difference in physical memory vs linux system memory usage</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-difference-in-physical-memory-vs-linux/m-p/66374#M48548</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/26794"&gt;@null_pointer&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason I cannot see the image that you have uploaded, still i&amp;nbsp;got your point and trying to answer your question&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we cannot always match/compare the memory usage from CM vs linux for various reasons&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;Yes, as you said&amp;nbsp;&lt;SPAN&gt;CM only takes count of memory used by Hadoop components and it won't count consider if you have any other applications running on your local linux as CM designed to monitor only Hadoop and dependent services&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. (I am not sure you are getting the CM report from host monitor) There are practical difficulties to get&amp;nbsp;memory usage of each client node in a single report. Ex: Consider you have 100+ nodes and each node has different memory capacity like 100 GB, 200 GB, 250 GB, 300 GB, etc, it is difficult to generate a single report&amp;nbsp;to get memory usage of each client&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;still if the default report available in CM is not meeting your requirement,&amp;nbsp;may be you can try to build custom chart from CM -&amp;gt; Chart (menu) -&amp;gt; your&amp;nbsp;tsquery&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/5-9-x/topics/admin_cluster_util_custom.html" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/5-9-x/topics/admin_cluster_util_custom.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 11:05:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-difference-in-physical-memory-vs-linux/m-p/66374#M48548</guid>
      <dc:creator>saranvisa</dc:creator>
      <dc:date>2018-04-16T11:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cloudera Manager difference in physical memory vs linux system memory usage</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-difference-in-physical-memory-vs-linux/m-p/66385#M48549</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/18441"&gt;@saranvisa&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for your quick reply,&lt;BR /&gt;&lt;BR /&gt;The CM report is of the particular host where pyspark2 is running.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Custom charts will provide the memory usage of Hadoop components only.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:46:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-difference-in-physical-memory-vs-linux/m-p/66385#M48549</guid>
      <dc:creator>null_pointer</dc:creator>
      <dc:date>2018-04-16T13:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cloudera Manager difference in physical memory vs linux system memory usage</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-difference-in-physical-memory-vs-linux/m-p/66422#M48550</link>
      <description>&lt;P&gt;This is a mis-leading of the "free" output.&lt;/P&gt;&lt;P&gt;The first line (starting with "Mem") displays that you have 62G of memory and 56G are used. This memory is used but not from procesess. At the end of the line, you will see a number of 39G&amp;nbsp; cached. In few words, Linux uses a part of free RAM to store data from files used often, in order to save some interactions with the hard disk. Once an application request memory and there is no "free", Linux automatically drops these caches. You cannot turn this feature off. The only thing you can do is just drop the current cached data, but Linux will store something the very next second.&lt;/P&gt;&lt;P&gt;In any case, when the output of "free" is similar to the one you provided, you should always refer to the second line&lt;/P&gt;&lt;P&gt;"-/+ buffers/cache: 16G 49G"&lt;/P&gt;&lt;P&gt;This is the real status, which show "16G" used and "49G" free.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, CM displays the disk and memory usage of the host (in Hosts view) regardless of what process is using it. It is the same output as "free".&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 08:19:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-difference-in-physical-memory-vs-linux/m-p/66422#M48550</guid>
      <dc:creator>GeKas</dc:creator>
      <dc:date>2018-04-17T08:19:12Z</dc:date>
    </item>
  </channel>
</rss>

