Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 72709 invoked from network); 4 Nov 2010 18:13:33 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Nov 2010 18:13:33 -0000 Received: (qmail 56097 invoked by uid 500); 4 Nov 2010 18:14:04 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 56079 invoked by uid 500); 4 Nov 2010 18:14:04 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 56071 invoked by uid 99); 4 Nov 2010 18:14:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 18:14:04 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 18:14:04 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA4IDhVM022047 for ; Thu, 4 Nov 2010 18:13:44 GMT Message-ID: <10715740.12591288894423686.JavaMail.jira@thor> Date: Thu, 4 Nov 2010 14:13:43 -0400 (EDT) From: "Jean-Daniel Cryans (JIRA)" To: issues@hbase.apache.org Subject: [jira] Commented: (HBASE-3197) Using the same HBaseConfiguration for multiple puts makes some data not to be written In-Reply-To: <4948639.6871288869581806.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-3197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928292#action_12928292 ] Jean-Daniel Cryans commented on HBASE-3197: ------------------------------------------- Thanks for reporting this Francesco, perhaps you could provide a small unit test that shows the issue? > Using the same HBaseConfiguration for multiple puts makes some data not to be written > ------------------------------------------------------------------------------------- > > Key: HBASE-3197 > URL: https://issues.apache.org/jira/browse/HBASE-3197 > Project: HBase > Issue Type: Bug > Affects Versions: 0.20.6 > Environment: HBase cluster running on 6 machines (Centos 5.5, Intel Dual Core/core i3, ram 4/8GB) > Reporter: Francesco Angi > > I created a DAO object for loading and storing data into HBase. The DAO has a HBaseConfiguration field, created inside the DAO constructor. Each DAO's method creates a new HTable using the class's HBaseConfiguration. The problem shows up when subsequent writings (using a put) are invoked, since not all the data is written. Moreover this behaviour is not deterministic: invoking the same writings never writes all the data, but the missing ones change every time. > I solved this situation removing the class's HBaseConfiguration and creating a new HBaseConfiguration inside each method. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.