Reply
DKL
Explorer
Posts: 9
Registered: ‎07-29-2014
Accepted Solution

physical memory aware to cloudera manager

We installed Cloudera Manager with only 8GB of memory on the datanodes. Later, the memory was bumped up, however Cloudera Manager still shows that each datanode can only utilize 8GB of physical memory (shown in the hosts tab and it will also complain of overcommit if more than 8GB is allocated total). Is there a way to update Cloudera Manager with the newly added memory or is there a configuration to adjust this?

 

Thank you!

Contributor
Posts: 26
Registered: ‎07-24-2014

Re: physical memory aware to cloudera manager

Your query is partial

 

How many nodes you have?

 

1) If you installed CM, CDH, Embedded DB on single node then you can increase CM memory in the default config

    $ sudo vi /etc/default/cloudera-scm-server

2) You can go the each service and increase the java memory settings using advanced configuarion.

 

DKL
Explorer
Posts: 9
Registered: ‎07-29-2014

Re: physical memory aware to cloudera manager

[ Edited ]

Firstly, thank you for your response and I apologize for the lack of description. I'll attempt to be more descriptive here:

 

Where am I seeing this:

Go to "Hosts" tab, click on any of the datanodes (4 total), in the top left of the datanode status page there is a "Details" section. In there, there is a "Host Agent" row which displays "Physical Memory" as a bar that fills up. (Shown Below)

 

clouderaforums_memory.jpg

 

What it states:

It states that it has 8GB total of memory available. I feel like it should be more now though given the increase in memory we gave to the datanodes.

 

Why I feel this is wrong:

We had initially only had 8GB on each node, but then we bumped up the memory on each node. Now when doing "cat /proc/meminfo" on one of the datanodes, it shows that at least 25GB is free. So, to me, I feel like Cloudera Manager has to somehow reevaluate how much memory is available on the datanodes.

 

 Does this help?

Cloudera Employee
Posts: 224
Registered: ‎09-23-2013

Re: physical memory aware to cloudera manager

Hmm, the images are not showing up.  I'll check with our forums administrator as to why they are not available and hopefully we can evaluate & reply.

DKL
Explorer
Posts: 9
Registered: ‎07-29-2014

Re: physical memory aware to cloudera manager

After playing around I have found that in order to actually get Cloudera Manager to recognize a change in RAM on the system, you have to restart the cloudera-scm-agent on whichever host got the change in RAM. Once the restart has completed Cloudera Manager will automatically update with an updated value of physical memory. 

Cloudera Employee
Posts: 224
Registered: ‎09-23-2013

Re: physical memory aware to cloudera manager

Awesome, thanks for following up and identifying fix!

Highlighted
Explorer
Posts: 13
Registered: ‎04-05-2017

Re: physical memory aware to cloudera manager

i'am using cloudera manager5.10 on ubuntu 14.04 i want to reduce the memory size of hdfs and kafka , any help please ?
Announcements