You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Sergiy Matusevych (JIRA)" <ji...@apache.org> on 2016/06/27 23:41:57 UTC
[jira] [Updated] (REEF-1475) REEFIMRUClient.Submit() always returns
null
[ https://issues.apache.org/jira/browse/REEF-1475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergiy Matusevych updated REEF-1475:
------------------------------------
Description:
{{IMRUClient.Submit()}} method has the following signature:
{code}
public interface IIMRUClient
{
IEnumerable<TResult> Submit<TMapInput, TMapOutput, TResult, TPartitionType>(IMRUJobDefinition jobDefinition);
}
{code}
That is, the {{Submit()}} method it has to return an enumeration of results (produced by the Updater). Currently, only one of the implementations, {{InProcessIMRUClient}}, does so. Unfortunately, the other, more useful one, {{REEFIMRUClient}}, _always_ returns {{null}}.
We have to make sure that all implementations of the {{IMRUClient}} are consistent and return the same values - either by implementing the missing functionality in {{REEFIMRUClient}}, or by changing the base interface - e.g. by making {{.Submit()}} method return void or, say, an observer.
was:
{{IMRUClient.Submit()}} method has the following signature:
{code:csharp}
public interface IIMRUClient
{
IEnumerable<TResult> Submit<TMapInput, TMapOutput, TResult, TPartitionType>(IMRUJobDefinition jobDefinition);
}
{code}
That is, the {{Submit()}} method it has to return an enumeration of results (produced by the Updater). Currently, only one of the implementations, {{InProcessIMRUClient}}, does so. Unfortunately, the other, more useful one, {{REEFIMRUClient}}, _always_ returns {{null}}.
We have to make sure that all implementations of the {{IMRUClient}} are consistent and return the same values - either by implementing the missing functionality in {{REEFIMRUClient}}, or by changing the base interface - e.g. by making {{.Submit()}} method return void or, say, an observer.
> REEFIMRUClient.Submit() always returns null
> -------------------------------------------
>
> Key: REEF-1475
> URL: https://issues.apache.org/jira/browse/REEF-1475
> Project: REEF
> Issue Type: Improvement
> Components: IMRU
> Reporter: Sergiy Matusevych
> Priority: Minor
>
> {{IMRUClient.Submit()}} method has the following signature:
> {code}
> public interface IIMRUClient
> {
> IEnumerable<TResult> Submit<TMapInput, TMapOutput, TResult, TPartitionType>(IMRUJobDefinition jobDefinition);
> }
> {code}
> That is, the {{Submit()}} method it has to return an enumeration of results (produced by the Updater). Currently, only one of the implementations, {{InProcessIMRUClient}}, does so. Unfortunately, the other, more useful one, {{REEFIMRUClient}}, _always_ returns {{null}}.
> We have to make sure that all implementations of the {{IMRUClient}} are consistent and return the same values - either by implementing the missing functionality in {{REEFIMRUClient}}, or by changing the base interface - e.g. by making {{.Submit()}} method return void or, say, an observer.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)