reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergiy Matusevych (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (REEF-1475) REEFIMRUClient.Submit() always returns null
Date Mon, 27 Jun 2016 23:41:57 GMT

     [ 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)

Mime
View raw message