You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Patrick Chung (JIRA)" <ji...@apache.org> on 2016/09/26 23:23:21 UTC
[jira] [Updated] (REEF-1609) NameLookupClient.Lookup can wait
forever and never return.
[ https://issues.apache.org/jira/browse/REEF-1609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Chung updated REEF-1609:
--------------------------------
Description:
{{NameLookupClient.Lookup()}} calls {{Take()}} on a blocking collection. If for any reason, the collection ends up unable to service the {{Take()}} invocation, the call will block forever.
We should change this implementation to include a timeout or a cancellation token.
> NameLookupClient.Lookup can wait forever and never return.
> ----------------------------------------------------------
>
> Key: REEF-1609
> URL: https://issues.apache.org/jira/browse/REEF-1609
> Project: REEF
> Issue Type: Bug
> Components: REEF.NET
> Environment: {{NameLookupClient.Lookup()}} calls {{Take()}} on a blocking collection. If for any reason, the collection ends up unable to service the {{Take()}} invocation, the call will block forever.
> We should change this implementation to include a timeout or a cancellation token.
> Reporter: Patrick Chung
> Assignee: Patrick Chung
> Priority: Minor
>
> {{NameLookupClient.Lookup()}} calls {{Take()}} on a blocking collection. If for any reason, the collection ends up unable to service the {{Take()}} invocation, the call will block forever.
> We should change this implementation to include a timeout or a cancellation token.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)