The current way we expose JMX is throw logs. The process for figuring this out is (To debug a particular partition):
1. Figure out the Partition to container mapping through the YARM AM or logs.
2. Once we know the container, access the container logs and figure out the JMX port.
3. Connect to the machine using the JMX port.
We should ideally expose it through some REST service or make it available through the coordinator stream.