Return-Path: X-Original-To: apmail-curator-user-archive@minotaur.apache.org Delivered-To: apmail-curator-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4512BC2BA for ; Fri, 14 Mar 2014 14:48:07 +0000 (UTC) Received: (qmail 49032 invoked by uid 500); 14 Mar 2014 14:48:06 -0000 Delivered-To: apmail-curator-user-archive@curator.apache.org Received: (qmail 48902 invoked by uid 500); 14 Mar 2014 14:48:03 -0000 Mailing-List: contact user-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@curator.apache.org Delivered-To: mailing list user@curator.apache.org Received: (qmail 48606 invoked by uid 99); 14 Mar 2014 14:48:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Mar 2014 14:48:02 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of joelittlejohn@gmail.com designates 209.85.192.46 as permitted sender) Received: from [209.85.192.46] (HELO mail-qg0-f46.google.com) (209.85.192.46) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Mar 2014 14:47:58 +0000 Received: by mail-qg0-f46.google.com with SMTP id e89so7634803qgf.5 for ; Fri, 14 Mar 2014 07:47:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=8wXpJ/SSbjOYTPxAgqdJmxJwnrym5YkPZcqVDxandfE=; b=hzjUvPBoiuZKW8AvFsr1bSUTBL3B6osmDnw/LGF5LdtGD5n7FDqPKyfbHQI00+qJOf 1TGld6cRKJ5jvtalFxShMF4v2B0pSwqbRbdapBM8tLlMA0lRkwDF9EwBl0sHGrMrpivs aKNdgTeUo3I9R0zyhMSi3V4ss2/vjthvO4iZzLfvwYfe8AX1R0jv+RvbwD4+OAK1/yqb rD9Twx+BkDb+g+382/ScI0QJh4oOqUU14Wjd7MWIPIdSKHBd4aTwd5WrG33TDi9RFUXW f0dW9knVpFPnD3RblSlacu0wg6MTlXvv0KEHav67X/gYJbJTxbfO7ctGzmyZPST/j6UZ aUaA== MIME-Version: 1.0 X-Received: by 10.140.104.230 with SMTP id a93mr1961195qgf.113.1394808457516; Fri, 14 Mar 2014 07:47:37 -0700 (PDT) Received: by 10.140.38.168 with HTTP; Fri, 14 Mar 2014 07:47:37 -0700 (PDT) Date: Fri, 14 Mar 2014 14:47:37 +0000 Message-ID: Subject: Could not cancel java.util.concurrent.FutureTask@77f2f3f7 From: Joe Littlejohn To: user@curator.apache.org Content-Type: multipart/alternative; boundary=001a113535aaa3f52104f4922674 X-Virus-Checked: Checked by ClamAV on apache.org --001a113535aaa3f52104f4922674 Content-Type: text/plain; charset=UTF-8 When using curator-x-discovery my application is logging the following warning very regularly: Could not cancel java.util.concurrent.FutureTask@77f2f3f7 My app creates a ServiceProvider, uses it to build a URI (buildUriSpect) then closes the provider. I see that the warning is related to this line: https://github.com/apache/curator/blob/apache-curator-2.4.1/curator-client/src/main/java/org/apache/curator/utils/CloseableExecutorService.java#L153 Can anyone explain what this warning is trying to indicate? It doesn't seem to affect the behaviour as the discovery process is working correctly. What kind of tasks are being scheduled here and is it expected that these tasks will regularly fail to cancel? Cheers --001a113535aaa3f52104f4922674 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
When using curator-x-discovery my application is logging the following war= ning very regularly:

=C2=A0= =C2=A0 Could not cancel java.util.concurrent.FutureTask@77f2f3f7
=

My app creates a ServiceProvider, uses it to build a URI (buildUriSpect) th= en closes the provider.=C2=A0

I see that the warning is related to this line:


Can anyone explain wha= t this warning is trying to indicate? It doesn't seem to affect the beh= aviour as the discovery process is working correctly. What kind of tasks ar= e being scheduled here and is it expected that these tasks will regularly f= ail to cancel?

Cheers
--001a113535aaa3f52104f4922674--