Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 46DA6997F for ; Wed, 14 Mar 2012 08:33:51 +0000 (UTC) Received: (qmail 62414 invoked by uid 500); 14 Mar 2012 08:33:49 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 62326 invoked by uid 500); 14 Mar 2012 08:33:49 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 62294 invoked by uid 99); 14 Mar 2012 08:33:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2012 08:33:48 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [212.227.126.204] (HELO mxintern.schlund.de) (212.227.126.204) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2012 08:33:40 +0000 Received: from [10.2.3.78] (helo=exnlb03.webde.local) by mxintern.schlund.de with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (envelope-from ) id 1S7je4-000gA0-2A; Wed, 14 Mar 2012 09:33:20 +0100 Received: from exnlb11.webde.local (172.19.74.11) by exnlb03.webde.local (10.2.3.78) with Microsoft SMTP Server (TLS) id 8.3.213.0; Wed, 14 Mar 2012 09:33:19 +0100 Received: from [172.28.124.198] (172.28.124.198) by owa.extranet.1and1.com (217.72.200.71) with Microsoft SMTP Server (TLS) id 8.3.213.0; Wed, 14 Mar 2012 09:33:19 +0100 Message-ID: <4F60579F.7040608@1and1.ro> Date: Wed, 14 Mar 2012 10:32:31 +0200 From: Daniel Iancu Organization: 1and1 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: "user@hbase.apache.org" CC: =?UTF-8?B?6Z+26ZqG5ZC0?= Subject: Re: HTablePool putTable References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------060809040908060902000205" X-Virus-Scanned: Symantec AntiVirus Scan Engine X-UI-Msg-Verification: 2103ce14eac84d94716e030167a6b54d X-Virus-Checked: Checked by ClamAV on apache.org --------------060809040908060902000205 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit Hi Don't use HTablePut.put() method, just HTable.close on the table you got from pool when you no longer need it. Don't worry, the table will be put back in the pool after you closed it. On 03/14/2012 10:14 AM, 韶隆吴 wrote: > Hi all: > From blogs I know HTablePool class is like ConnectionPool.But when I use > method putTable() ,my IDE noticed me > The method putTable(HTableInterface) from the type HTablePool is > deprecated > Is this class has been abandon?Do there any class like HTablePool instead? --------------060809040908060902000205--