Re: status of slaves in standalone cluster rest/rpc call

2015-11-09 Thread Igor Berman
further reading code of MasterPage gave me what I want:
http://:8080/json returns json view of all info presented in
main page

On 9 November 2015 at 22:41, Igor Berman  wrote:

> Hi,
> How do I get status of workers(slaves) from driver?
> why I need it - I want to autoscale new workers and want to poll status of
> cluster(e.g. number of alive slaves connected) so that I'll submit job only
> after expected number of slaves joined cluster
>
>
> I've found MasterPage class that produces ui html status page
> Is there any possibility to get it with rest call or somehow to get
> actorSystem(rpcEndpoint) and get this status from it?
>
> thanks in advance.
>
>
>


status of slaves in standalone cluster rest/rpc call

2015-11-09 Thread Igor Berman
Hi,
How do I get status of workers(slaves) from driver?
why I need it - I want to autoscale new workers and want to poll status of
cluster(e.g. number of alive slaves connected) so that I'll submit job only
after expected number of slaves joined cluster


I've found MasterPage class that produces ui html status page
Is there any possibility to get it with rest call or somehow to get
actorSystem(rpcEndpoint) and get this status from it?

thanks in advance.