Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
0.9.1
-
None
-
None
Description
SamzaContainer allocates an ephemeral port for the JMX server, as it expects to execute in YARN, where there is no guarantee there won't be a port collision if a static port is selected. But that limitation does not apply to other potential SamzaJob implementations.
Samza should allow the JMX port to be configured. The JmxSever class already support passing in a requested port number. SamzaContainer just needs to be modified to pass in the configured JXM port if one is found in the configuration.