Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 46924 invoked from network); 15 Jun 2009 19:23:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jun 2009 19:23:26 -0000 Received: (qmail 95245 invoked by uid 500); 15 Jun 2009 19:23:38 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 95209 invoked by uid 500); 15 Jun 2009 19:23:38 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 95199 invoked by uid 99); 15 Jun 2009 19:23:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 19:23:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 19:23:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5FE46234C044 for ; Mon, 15 Jun 2009 12:23:07 -0700 (PDT) Message-ID: <1013350160.1245093787378.JavaMail.jira@brutus> Date: Mon, 15 Jun 2009 12:23:07 -0700 (PDT) From: "Irfan Mohammed (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Updated: (HBASE-1525) HTable.incrementColumnValue hangs() In-Reply-To: <1080472659.1245093667365.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Irfan Mohammed updated HBASE-1525: ---------------------------------- Attachment: client_dump.out hbase-irfan-master-damascus.out Attached the client and the master thread dumps. > HTable.incrementColumnValue hangs() > ------------------------------------ > > Key: HBASE-1525 > URL: https://issues.apache.org/jira/browse/HBASE-1525 > Project: Hadoop HBase > Issue Type: Bug > Components: regionserver > Affects Versions: 0.20.0 > Environment: ubuntu 9.04 > jdk 1.6.0.13 > hadoop 0.20.0 > hbase 0.20.0-dev [trunk] > Reporter: Irfan Mohammed > Attachments: client_dump.out, hbase-irfan-master-damascus.out > > > In the following code, > @Test > public void usingIncrement() throws Exception > { > long siteId = 1234; > long publisherId = 5678; > Date eventTime = DATE_INPUT_FORMAT.parse("2009-06-15 13:08:54"); > > long[] metrics = new long[] { 10, 22, 32 }; > > byte[] rowKey = Bytes.toBytes(siteId + "_" + ROW_KEY_FORMAT.format(eventTime)); > byte[] family = Bytes.toBytes(FAMILY_PUBLISHER); > byte[] qualifier = Bytes.toBytes(publisherId); > > HTable table = getTable(); > > for (int i1 = 0, n1 = metrics.length; n1 > 0; i1++, n1--) { > LOGGER.info("processing [{0}] ...", i1); > table.incrementColumnValue(rowKey, family, qualifier, metrics[i1]); > LOGGER.info("processing [{0}] completed", i1); > } > > table.close(); > queryMetrics(table, siteId, publisherId, eventTime); > } > The call table.incrementColumnValue hangs. Have to kill the hbase client and the master processes to get around the problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.