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 93B5018929 for ; Mon, 25 Jan 2016 20:41:36 +0000 (UTC) Received: (qmail 70314 invoked by uid 500); 25 Jan 2016 20:41:34 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 70243 invoked by uid 500); 25 Jan 2016 20:41:34 -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 70188 invoked by uid 99); 25 Jan 2016 20:41:34 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jan 2016 20:41:34 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id D98CAC0D8D for ; Mon, 25 Jan 2016 20:41:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.206 X-Spam-Level: *** X-Spam-Status: No, score=3.206 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KHOP_DYNAMIC=0.781, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.554, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id r7M2LEUfNnoM for ; Mon, 25 Jan 2016 20:41:26 +0000 (UTC) Received: from trysvpppps02.searshc.com (trysvpppps02.searshc.com [192.148.105.151]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 1F765210B2 for ; Mon, 25 Jan 2016 20:41:24 +0000 (UTC) Received: from pps.filterd (trysvpppps02.searshc.com [127.0.0.1]) by TRYSVPPPPS02.searshc.com (8.15.0.59/8.15.0.59) with SMTP id u0PKdta8021615 for ; Mon, 25 Jan 2016 15:41:16 -0500 Received: from trtsapprsa1.kih.kmart.com ([157.241.174.39]) by TRYSVPPPPS02.searshc.com with ESMTP id 20nthcr5vb-11 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 25 Jan 2016 15:41:15 -0500 Received: from HFPRX4EXHUB2.kih.kmart.com (hfprx4exhub2.kih.kmart.com [10.3.7.113]) by trtsapprsa1.kih.kmart.com (RSA Interceptor) for ; Mon, 25 Jan 2016 15:41:00 -0500 Received: from TRYPRX3EXMB16.kih.kmart.com ([169.254.16.116]) by HFPRX4EXHUB2.kih.kmart.com ([10.3.7.113]) with mapi id 14.03.0248.002; Mon, 25 Jan 2016 14:41:00 -0600 From: "Yakubovich, Alexey" To: "user@hbase.apache.org" Subject: HBase atomic update Thread-Topic: HBase atomic update Thread-Index: AQHRV7CyHVn/XyPc0U23DIp5GIWGWw== Date: Mon, 25 Jan 2016 20:40:59 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [157.241.198.1] x-tm-as-product-ver: SMEX-11.0.0.4179-8.000.1202-22088.002 x-tm-as-result: No--31.802400-8.000000-31 x-tm-as-user-approved-sender: No x-tm-as-user-blocked-sender: No Content-Type: multipart/alternative; boundary="_000_D2CBE47A9432alexeyyakubovichsearshccom_" MIME-Version: 1.0 X-Proofpoint-SPF-Result: softfail X-Proofpoint-SPF-Record: v=spf1 ip4:208.247.100.106 ip4:192.148.105.151 ip4:192.148.105.152 ip4:192.148.105.154 ip4:192.148.105.166 ip4:64.73.153.164 ~all X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-01-25_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=1 spamscore=1 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1507310008 definitions=main-1601250314 --_000_D2CBE47A9432alexeyyakubovichsearshccom_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="Windows-1252" I am trying to master HBase, and vuala, I discover that so nice API compone= nts: checkAndPut, checkAndDelete, Increment, Append (HTable) Or may be not so nice? So e.g. checkAndPut can atomically update the specif= ied cell. But what if I want to update two cells (from one row) in one atomic operati= on? What if it=92s two cells from two different rows, but in need to be upd= ated atomically? What is the best way to achieve that? Thank you Alexey This message, including any attachments, is the property of Sears Holdings = Corporation and/or one of its subsidiaries. It is confidential and may cont= ain proprietary or legally privileged information. If you are not the inten= ded recipient, please delete it without reading the contents. Thank you. --_000_D2CBE47A9432alexeyyakubovichsearshccom_--