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 8E6BFDE19 for ; Tue, 24 Jul 2012 22:14:01 +0000 (UTC) Received: (qmail 79676 invoked by uid 500); 24 Jul 2012 22:13:59 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 79598 invoked by uid 500); 24 Jul 2012 22:13:59 -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 79590 invoked by uid 99); 24 Jul 2012 22:13:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2012 22:13:59 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jdcryans@gmail.com designates 209.85.216.169 as permitted sender) Received: from [209.85.216.169] (HELO mail-qc0-f169.google.com) (209.85.216.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2012 22:13:53 +0000 Received: by qcsd16 with SMTP id d16so41345qcs.14 for ; Tue, 24 Jul 2012 15:13:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=OKR+ITpoNBQh87X0gr9wRKSLcjAEByfB3k5jdaFT49I=; b=kVOsmT2MjRgootl81YM0+9NwOuLz5ECdIsCkrjHgxij+j3Vs2e/CjpqDEVFRI40Sjh 7W9JcptOWYqVK8gvrDRfiWDxNhlObGo3aShy7X5p/yduMb0CYb1niWpfr6hrXjGtaY6/ qKyoSJ+MicCOnDLAyGGfj4fVsdKDxGbH/nK1MrAb0HCPhzegqJ6qOgJBPMcJcd/7Rb7p AsquXS2dz3RUCIF9jZ5lXB2KeiEMB7K0UUL/Df5iuAvF4b5kut+RDgp/zCVWAe8Ojthj O2Xn/fy7CEuRpCUkAqfaAQeZ58NMy9hHWcpVxxIaSRsiq+wkXYNZ8Wmo+39+A2Vd1mEt P9OA== MIME-Version: 1.0 Received: by 10.229.137.21 with SMTP id u21mr9882437qct.142.1343168012742; Tue, 24 Jul 2012 15:13:32 -0700 (PDT) Sender: jdcryans@gmail.com Received: by 10.49.61.71 with HTTP; Tue, 24 Jul 2012 15:13:32 -0700 (PDT) In-Reply-To: <786FF04E80AD4CF2A8FAE5A42AAAE699@gallotta.co.za> References: <786FF04E80AD4CF2A8FAE5A42AAAE699@gallotta.co.za> Date: Tue, 24 Jul 2012 15:13:32 -0700 X-Google-Sender-Auth: lj1x0-mrIrwnkbovdcZ1Z09Zcvo Message-ID: Subject: Re: UnknownRowLockException From: Jean-Daniel Cryans To: user@hbase.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Tue, Jul 24, 2012 at 3:08 PM, Marco Gallotta wrote: > HBase's increment method says "readers do not take row locks so get and scan operations can see this operation partially completed", which could cause problems. As far as I can tell your code suffers from the same issue eg if you need to increment 2 cells you do 2 puts under two separate locks. J-D