Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C8CD8200B9F for ; Tue, 27 Sep 2016 01:23:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C77C5160ACA; Mon, 26 Sep 2016 23:23:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 48888160AE3 for ; Tue, 27 Sep 2016 01:23:27 +0200 (CEST) Received: (qmail 35042 invoked by uid 500); 26 Sep 2016 23:23:21 -0000 Mailing-List: contact dev-help@reef.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@reef.apache.org Delivered-To: mailing list dev@reef.apache.org Received: (qmail 34970 invoked by uid 99); 26 Sep 2016 23:23:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2016 23:23:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 50AA92C0B05 for ; Mon, 26 Sep 2016 23:23:21 +0000 (UTC) Date: Mon, 26 Sep 2016 23:23:21 +0000 (UTC) From: "Patrick Chung (JIRA)" To: dev@reef.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (REEF-1609) NameLookupClient.Lookup can wait forever and never return. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 26 Sep 2016 23:23:27 -0000 [ https://issues.apache.org/jira/browse/REEF-1609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Chung updated REEF-1609: -------------------------------- Environment: (was: {{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 > 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)