Re: Programatically collect taskmanagers details from Job Manager

2016-08-29 Thread Robert Metzger
Hi, I think the JMX port is logged, but not accessible through the REST interface of the JobManager. I think its a useful feature. If you want, you can file a JIRA for it. On Mon, Aug 29, 2016 at 12:14 PM, Sreejith S wrote: > Thank you Stephen ! That helps, > > Is it possible to get the JMX_POR

Re: Programatically collect taskmanagers details from Job Manager

2016-08-29 Thread Sreejith S
Thank you Stephen ! That helps, Is it possible to get the JMX_PORT kind of details from taskmanagers ? My program will connect to Job Manager and get all taskmaneger IP's and JMX Port and create a JMX_URL automatically. This is what i am trying to achieve. Is it possible ? Thanks, On Mon, Aug

Re: Programatically collect taskmanagers details from Job Manager

2016-08-29 Thread Stephan Ewen
You should be able to call the Monitor handler of the JobManager: http://jobmanagerhost:8081/taskmanagers That gives you a JSON response like this: { "taskmanagers [ { "id" : "7c8835b89acf533cb8a5119dbcaf4b4f", "path" : "akka.tcp://flink@127.0.1.1:56343/user/taskmanager", "dataPort" : 5