You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by Achuth Raghavendra <ac...@microsoft.com.INVALID> on 2017/07/16 18:38:28 UTC
Timeout param to EvaluatorRequestor
When driver asks for a evaluator (Yarn container) especially on a host and YARN RM doesn't respond due to one of the below reasons, then evaluator requestor waits indefinitely.
1) the machine asked for not valid machine
2) the machine asked for is not healthy
3) the machine asked for has lot of request waiting ahead of you
4) the machine asked for has reservation pending (e.g. Big containers)
5) the machine doesn't have enough capacity
6) <10 seconds has elapsed between 3-5
Proposing:
Adding timeout on the evaluator request and have a response back (call back eg: onNext(IEvaluatorRequestorTimeout value) will help driver to manage the request processing well. Instead of waiting indefinitely we dispose these objects from the driver side. There is a way to cancel the container requests from the java side( I need to confirm this on Java bridge side). I wanted to know the general consensus on this Idea.
Thanks,
Achuth R
Re: Timeout param to EvaluatorRequestor
Posted by Markus Weimer <ma...@weimo.de>.
I'm generally +1 on the idea, as it also translates to other RMs. We'd
have to implement it for all those as well, though.
Markus
On Sun, Jul 16, 2017 at 11:38 AM, Achuth Raghavendra
<ac...@microsoft.com.invalid> wrote:
> When driver asks for a evaluator (Yarn container) especially on a host and YARN RM doesn't respond due to one of the below reasons, then evaluator requestor waits indefinitely.
>
> 1) the machine asked for not valid machine
> 2) the machine asked for is not healthy
> 3) the machine asked for has lot of request waiting ahead of you
> 4) the machine asked for has reservation pending (e.g. Big containers)
> 5) the machine doesn't have enough capacity
> 6) <10 seconds has elapsed between 3-5
>
> Proposing:
> Adding timeout on the evaluator request and have a response back (call back eg: onNext(IEvaluatorRequestorTimeout value) will help driver to manage the request processing well. Instead of waiting indefinitely we dispose these objects from the driver side. There is a way to cancel the container requests from the java side( I need to confirm this on Java bridge side). I wanted to know the general consensus on this Idea.
>
> Thanks,
> Achuth R
>
>
>
>
>