You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Markus Weimer (JIRA)" <ji...@apache.org> on 2015/05/29 17:12:17 UTC
[jira] [Commented] (REEF-168) Make EvaluatorRequestor injectable in
REEF.NET
[ https://issues.apache.org/jira/browse/REEF-168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14564942#comment-14564942 ]
Markus Weimer commented on REEF-168:
------------------------------------
A fairly simple fix for this could be to make a new injectable class which is in fact an {{IObserver<IEvaluatorRequestor>}} and also implements the {{IEvaluatorRequestor}} interface.Its {{submit}} method would spool evaluator requests until the "real" {{EvaluatorRequestor}} is passed in via its {{OnNext()}} method. While this is somewhat ugly, it allows us to keep both versions alive in 0.12.
> Make EvaluatorRequestor injectable in REEF.NET
> ----------------------------------------------
>
> Key: REEF-168
> URL: https://issues.apache.org/jira/browse/REEF-168
> Project: REEF
> Issue Type: Improvement
> Components: REEF.NET
> Reporter: Markus Weimer
>
> {{EvaluatorRequestor}} isn't injectable in REEF.NET, differing from the Java API. Instead, it is handed to an implementation of {{IObserver<IEvaluatorRequestor>}}, which makes it cumbersome to hand the singleton object around, something that Tang would make unnecessary.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)