Return-Path: Delivered-To: apmail-hadoop-hbase-user-archive@locus.apache.org Received: (qmail 82603 invoked from network); 17 Sep 2008 18:50:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Sep 2008 18:50:24 -0000 Received: (qmail 36364 invoked by uid 500); 17 Sep 2008 18:50:20 -0000 Delivered-To: apmail-hadoop-hbase-user-archive@hadoop.apache.org Received: (qmail 36348 invoked by uid 500); 17 Sep 2008 18:50:20 -0000 Mailing-List: contact hbase-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-user@hadoop.apache.org Delivered-To: mailing list hbase-user@hadoop.apache.org Received: (qmail 36337 invoked by uid 99); 17 Sep 2008 18:50:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Sep 2008 11:50:20 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of slava.gorelik@gmail.com designates 72.14.204.238 as permitted sender) Received: from [72.14.204.238] (HELO qb-out-0506.google.com) (72.14.204.238) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Sep 2008 18:49:22 +0000 Received: by qb-out-0506.google.com with SMTP id f30so3788741qba.35 for ; Wed, 17 Sep 2008 11:49:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=qGmBs364vp0anMABvmEm84RElHKWlqrvJwat0oDD3I4=; b=fVOHQ2dwHzSGNhIx97JuumP/Wk0LDz83OJnsbxNE5nD/PwcQKBMZe/ciGSIRnxhiLX jr05ect9Eqv0d46ysTa7P1GVM3VLno3DVi21phmAAe7HZc9F/zoR23CUPotmT5bq7/lR IeuV2RLNa/aXbSRHeIpU3u7jGW/H/7xEH3f1M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=aIj/bRZks/y6lOoCnU+Ze7tCnMrUzFnQSlFmDQGmTkCStFH+JmCAKMUVzfLp/nchYD +1TWcBEUUytl9HhJiU+mQBHmiUAKaD4BhhMXibWuPCYXZducCvkxfJkqnwQvcxG7sh6S dIRsa/g2M9xPNGR7FtQOqovIZXLdeoWD+fEuY= Received: by 10.180.245.6 with SMTP id s6mr2214519bkh.39.1221677393621; Wed, 17 Sep 2008 11:49:53 -0700 (PDT) Received: by 10.180.231.4 with HTTP; Wed, 17 Sep 2008 11:49:53 -0700 (PDT) Message-ID: Date: Wed, 17 Sep 2008 21:49:53 +0300 From: "Slava Gorelik" To: hbase-user@hadoop.apache.org Subject: BatchUpdate MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3776_22078091.1221677393634" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_3776_22078091.1221677393634 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi.Few small questions: 1) BatchUpdate.*getTimestamp *() - If i understand correct, this method should return the timestamp that row will be committed with. But how the BatchUpdate will now the timestamp ? Isn't this timestamp should be only known after the row is written ? Any way, the value returned is always the same and not correct. 2) Delete Cell - i saw in the FAQ that need to add a delete record and commit it with exactly the same timestamp like the original row, but i didn't found any commit method with timestamp. 3) For my update operation i need to check if the row that my application holds is still contains most recent data and only in this case i'll update some cells, to do this i need to lock the row -> check the timestamp of the particular cell -> update it if timestamp is the same that application holds. All those operation, if they are perform on HTable will be perform by numbers of RPC. I think, if it's possible to do those operation directly on HRegsionServer, will help me to get rid off all extra RPCs. Is there some way to work with specific HRegionServer that row is belongs to it ? If yes - how can i get the HRegionServer for this specific row. Thank You and Best Regards. Slava. ------=_Part_3776_22078091.1221677393634--