Return-Path: Delivered-To: apmail-hbase-user-archive@www.apache.org Received: (qmail 81949 invoked from network); 10 Mar 2011 10:09:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Mar 2011 10:09:43 -0000 Received: (qmail 38275 invoked by uid 500); 10 Mar 2011 10:09:41 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 38245 invoked by uid 500); 10 Mar 2011 10:09:41 -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 38237 invoked by uid 99); 10 Mar 2011 10:09:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2011 10:09:41 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of beuking@gmail.com designates 74.125.82.51 as permitted sender) Received: from [74.125.82.51] (HELO mail-ww0-f51.google.com) (74.125.82.51) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2011 10:09:35 +0000 Received: by wwj40 with SMTP id 40so1407126wwj.20 for ; Thu, 10 Mar 2011 02:09:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=LA6gDrqS4mJVJ+55zmQMoo7poWfXBYM/3kyL0wYPges=; b=rEMXKvCnxMZJXvIDWvCD+pl07ozNerE3N4u6f4Vtufv0tiBihAMqg8qip8oHjsscVT zkzknpYJp7jgCMj9TActOf/rdkCG3uYLhcs0+Ja+U0mrFuCKx+qm4j6IR8Lhev6bulN1 wS25oy5BlfLlmWKQnJxGlIuoxuZx6on6+LWbY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=hT89xjAHIl4c2P/eDeCn1c9cKtaMflqr+cRNddfPW4PzejXCz+KW8VJwLPSOqqxE6v 2JvW86VJvQaIqzwG2mqi03nU1134t1Lv4ttc31dcbIDGsY2kC8t8vn28ym3LialdhkTg aEmLsfKeVzfxiuKWFP04FGPqpI8nU7N/0fyPE= MIME-Version: 1.0 Received: by 10.216.241.11 with SMTP id f11mr3764001wer.76.1299751753887; Thu, 10 Mar 2011 02:09:13 -0800 (PST) Received: by 10.216.166.71 with HTTP; Thu, 10 Mar 2011 02:09:13 -0800 (PST) Date: Thu, 10 Mar 2011 17:09:13 +0700 Message-ID: Subject: Client HTable throw exception when HBase Server stop and start From: King JKing To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=e0cb4e3856d49630ed049e1e0901 --e0cb4e3856d49630ed049e1e0901 Content-Type: text/plain; charset=ISO-8859-1 Dear all, When I stop and start HBase server, HTable (org.apache.hadoop.hbase.client) throw exception. Here is my code test: HTable ht = new HTable(config, "T1"); byte[] row = Bytes.toBytes(1); Get get = new Get(row); Result result = ht.get(get); System.out.println(Bytes.toString(result.getValue("F1".getBytes(), "C1".getBytes()))); try { Thread.sleep(60000); } catch (InterruptedException ex) { ex.printStackTrace(); } get = new Get(row); result = ht.get(get); System.out.println(Bytes.toString(result.getValue("F1".getBytes(), "C1".getBytes()))); First I start HBase and run my code. After that I stop and start HBase. And exception "Exception closing session to sun.nio.ch.SelectionKeyImpl" throws a lot of times. Could you help me to fix this problem? Thank a lot for support. --e0cb4e3856d49630ed049e1e0901--