[ 
https://issues.apache.org/jira/browse/SPARK-11714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15359413#comment-15359413
 ] 

Charles Allen commented on SPARK-11714:
---------------------------------------

My proposed solution to this is to have a new property for coarse mode which 
takes in a coma separated list of format strings which will be passed as extra 
java options to the executor.

For example, if 
{code}-Dcom.sun.management.jmxremote.port=%s,-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=%s{code}
 is passed in the property, then both a JMX port and a remote debugging port 
will be acquired.

> Make Spark on Mesos honor port restrictions
> -------------------------------------------
>
>                 Key: SPARK-11714
>                 URL: https://issues.apache.org/jira/browse/SPARK-11714
>             Project: Spark
>          Issue Type: Improvement
>          Components: Mesos
>            Reporter: Charles Allen
>
> Currently the MesosSchedulerBackend does not make any effort to honor "ports" 
> as a resource offer in Mesos. This ask is to have the ports which the 
> executor binds to honor the limits of the "ports" resource of an offer.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to