Return-Path: X-Original-To: apmail-incubator-connectors-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-connectors-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 48D087745 for ; Tue, 29 Nov 2011 23:48:23 +0000 (UTC) Received: (qmail 36730 invoked by uid 500); 29 Nov 2011 23:48:23 -0000 Delivered-To: apmail-incubator-connectors-commits-archive@incubator.apache.org Received: (qmail 36694 invoked by uid 500); 29 Nov 2011 23:48:23 -0000 Mailing-List: contact connectors-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: connectors-dev@incubator.apache.org Delivered-To: mailing list connectors-commits@incubator.apache.org Received: (qmail 36687 invoked by uid 99); 29 Nov 2011 23:48:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2011 23:48:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2011 23:48:20 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 15CF1238890A; Tue, 29 Nov 2011 23:47:59 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1208149 - in /incubator/lcf/branches/CONNECTORS-286/warthog/src: main/java/org/apache/warthog/tablestore/ test/java/org/apache/warthog/tests/ Date: Tue, 29 Nov 2011 23:47:58 -0000 To: connectors-commits@incubator.apache.org From: kwright@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111129234759.15CF1238890A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: kwright Date: Tue Nov 29 23:47:56 2011 New Revision: 1208149 URL: http://svn.apache.org/viewvc?rev=1208149&view=rev Log: Experiment further on whether keeping the calculated hash value around helps. It doesn't. Modified: incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/IndexNodeKey.java incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/TableColumnKey.java incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/TableRowKey.java incubator/lcf/branches/CONNECTORS-286/warthog/src/test/java/org/apache/warthog/tests/MultiThreadTest.java Modified: incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/IndexNodeKey.java URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/IndexNodeKey.java?rev=1208149&r1=1208148&r2=1208149&view=diff ============================================================================== --- incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/IndexNodeKey.java (original) +++ incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/IndexNodeKey.java Tue Nov 29 23:47:56 2011 @@ -37,7 +37,7 @@ public class IndexNodeKey implements WHK this.indexID = indexID; this.rowID = rowID; this.columnName = columnName; - hashCodeValue = calculateHashCode(indexID,rowID,columnName); + //hashCodeValue = calculateHashCode(indexID,rowID,columnName); } public IndexNodeKey(byte[] data) @@ -46,7 +46,7 @@ public class IndexNodeKey implements WHK this.indexID = LongKey.readObject(bp); this.rowID = LongKey.readObject(bp); this.columnName = StringKey.readObject(bp); - hashCodeValue = calculateHashCode(indexID,rowID,columnName); + //hashCodeValue = calculateHashCode(indexID,rowID,columnName); } public byte[] serializeObject() Modified: incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/TableColumnKey.java URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/TableColumnKey.java?rev=1208149&r1=1208148&r2=1208149&view=diff ============================================================================== --- incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/TableColumnKey.java (original) +++ incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/TableColumnKey.java Tue Nov 29 23:47:56 2011 @@ -36,7 +36,7 @@ public class TableColumnKey implements W this.tableID = tableID; this.rowID = rowID; this.columnName = columnName; - hashCodeValue = calculateHashCode(tableID,rowID,columnName); + //hashCodeValue = calculateHashCode(tableID,rowID,columnName); } public TableColumnKey(byte[] data) @@ -45,7 +45,7 @@ public class TableColumnKey implements W this.tableID = LongKey.readObject(bp); this.rowID = LongKey.readObject(bp); this.columnName = StringKey.readObject(bp); - hashCodeValue = calculateHashCode(tableID,rowID,columnName); + //hashCodeValue = calculateHashCode(tableID,rowID,columnName); } public byte[] serializeObject() Modified: incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/TableRowKey.java URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/TableRowKey.java?rev=1208149&r1=1208148&r2=1208149&view=diff ============================================================================== --- incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/TableRowKey.java (original) +++ incubator/lcf/branches/CONNECTORS-286/warthog/src/main/java/org/apache/warthog/tablestore/TableRowKey.java Tue Nov 29 23:47:56 2011 @@ -35,7 +35,7 @@ public class TableRowKey implements WHKe { this.tableID = tableID; this.rowID = rowID; - hashCodeValue = calculateHashCode(tableID,rowID); + //hashCodeValue = calculateHashCode(tableID,rowID); } public TableRowKey(byte[] data) @@ -43,7 +43,7 @@ public class TableRowKey implements WHKe BufferPointer bp = new BufferPointer(data); this.tableID = LongKey.readObject(bp); this.rowID = LongKey.readObject(bp); - hashCodeValue = calculateHashCode(tableID,rowID); + //hashCodeValue = calculateHashCode(tableID,rowID); } public byte[] serializeObject() Modified: incubator/lcf/branches/CONNECTORS-286/warthog/src/test/java/org/apache/warthog/tests/MultiThreadTest.java URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-286/warthog/src/test/java/org/apache/warthog/tests/MultiThreadTest.java?rev=1208149&r1=1208148&r2=1208149&view=diff ============================================================================== --- incubator/lcf/branches/CONNECTORS-286/warthog/src/test/java/org/apache/warthog/tests/MultiThreadTest.java (original) +++ incubator/lcf/branches/CONNECTORS-286/warthog/src/test/java/org/apache/warthog/tests/MultiThreadTest.java Tue Nov 29 23:47:56 2011 @@ -215,7 +215,7 @@ public class MultiThreadTest { try { - WHTableStore ts = new TableStore(new InMemTransactionalStoreImpl(store)); + WHTableStore ts = new TableStore(new InMemNativeTransactionalStoreImpl(store)); performInserts(ts); } catch (Throwable e) @@ -300,7 +300,7 @@ public class MultiThreadTest { try { - WHTableStore ts = new TableStore(new InMemTransactionalStoreImpl(store)); + WHTableStore ts = new TableStore(new InMemNativeTransactionalStoreImpl(store)); performTask(ts); } catch (Throwable e)