Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 09-11-2014 07:09 AM - edited 09-16-2022 02:07 AM
Hello,
When setting the parameter "dfs.datanode.max.locked.memory" to a value other than 0, it is supposed to be the user's responsibility to set the MEMLOCK limits accordingly. CM does not leave that for the user and enforces it. (as seen on /proc/<pid>/limits)
This parameter is used by HDFS only to limt cache resources, so there is no real reason for CM to enforce this limit on an OS level. By doing so, CM does not allow external libraries (non-cache related) on the datanode to allocate memory past this limit.
To make a long story short, I'd like to cancel CM's enforcement of this limit and set the limits myself. Is there any way I could do so?
Thanks,
Elad
Created 09-11-2014 07:24 AM
Created 09-11-2014 07:24 AM
Created 09-11-2014 07:47 AM
Thanks a lot Darren, a very simple solution 🙂