Reply
Contributor
Posts: 56
Registered: ‎02-09-2015
Accepted Solution

how to increase spark's worker memory from CM

i am working on a cluster of 1 master and 2 workers , when i open spark master UI 

Memory: 128.0 MB Total

each worker memory 64.0 MB (0.0 B Used) 

while each worker has 4 GB memory in total and 2.5 GB free memory   , so i want to increase the worker memory instead of 64 to make it 1 GB , i tried to find spark-defaults.conf in /etc/spark/conf.cloudera.spark   but it doesn't exist , i am running cloudera manager 5.0.2 , i guess there might be a configuration that can be done to increase the memory from cloudera manger => spark service , but i can't find it 

 

Thanks in advance 

Cloudera Employee
Posts: 508
Registered: ‎07-30-2013

Re: how to increase spark's worker memory from CM

Look in the Resource Management category on the left of the configuration page. Each role group (there's usually one for each role type) has this subcategory.

You can also search for "memory" or "heap" using the search bar on the left.

Editing /etc/spark/conf won't help you since the daemon roles don't read that file. CM daemons don't read from /etc, but instead have their own independent configuration directories.
http://blog.cloudera.com/blog/2013/07/how-does-cloudera-manager-work/

Thanks,
Darren
Highlighted
Contributor
Posts: 56
Registered: ‎02-09-2015

Re: how to increase spark's worker memory from CM

thanks so much !!

Announcements