You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Andrew V Stiegmann (JIRA)" <ji...@apache.org> on 2014/12/02 03:57:13 UTC
[jira] [Created] (MESOS-2164) Put Mesos Container Resource Limits
in the Shell Environment
Andrew V Stiegmann created MESOS-2164:
-----------------------------------------
Summary: Put Mesos Container Resource Limits in the Shell Environment
Key: MESOS-2164
URL: https://issues.apache.org/jira/browse/MESOS-2164
Project: Mesos
Issue Type: Improvement
Components: containerization
Reporter: Andrew V Stiegmann
While using Chronos with a JVM I am trying to set the -xmx parameter based on the maximum amount of ram available in the container. However I found that there is no easy way or getting this value. It would be very helpful if this information was included in the environment. Something like
MESOS_RSRC_MEM=1024
MESOS_RSRC_CPU=2
would be perfect. Thanks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)