You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2010/03/30 06:56:24 UTC

svn commit: r928986 - in /hadoop/hbase/trunk: CHANGES.txt core/src/main/java/org/apache/hadoop/hbase/client/HTable.java

Author: stack
Date: Tue Mar 30 04:56:24 2010
New Revision: 928986

URL: http://svn.apache.org/viewvc?rev=928986&view=rev
Log:
HBASE-2389 HTable - delete / put unnecessary sync

Modified:
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/core/src/main/java/org/apache/hadoop/hbase/client/HTable.java

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=928986&r1=928985&r2=928986&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Tue Mar 30 04:56:24 2010
@@ -462,6 +462,7 @@ Release 0.21.0 - Unreleased
                (Kannan Muthukkaruppan via Stack)
    HBASE-2348  [stargate] Stargate needs both JAR and WAR artifacts (Paul Smith
                via Andrew Purtell)
+   HBASE-2389  HTable - delete / put unnecessary sync (Kay Kay via Stack)
 
   NEW FEATURES
    HBASE-1961  HBase EC2 scripts

Modified: hadoop/hbase/trunk/core/src/main/java/org/apache/hadoop/hbase/client/HTable.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/core/src/main/java/org/apache/hadoop/hbase/client/HTable.java?rev=928986&r1=928985&r2=928986&view=diff
==============================================================================
--- hadoop/hbase/trunk/core/src/main/java/org/apache/hadoop/hbase/client/HTable.java (original)
+++ hadoop/hbase/trunk/core/src/main/java/org/apache/hadoop/hbase/client/HTable.java Tue Mar 30 04:56:24 2010
@@ -469,7 +469,7 @@ public class HTable implements HTableInt
    * @throws IOException
    * @since 0.20.1
    */
-  public synchronized void delete(final List<Delete> deletes)
+  public void delete(final List<Delete> deletes)
   throws IOException {
     int last = 0;
     try {
@@ -487,7 +487,7 @@ public class HTable implements HTableInt
    * @throws IOException
    * @since 0.20.0
    */
-  public synchronized void put(final Put put) throws IOException {
+  public void put(final Put put) throws IOException {
     doPut(Arrays.asList(put));
   }
 
@@ -499,7 +499,7 @@ public class HTable implements HTableInt
    * @throws IOException if a remote or network exception occurs
    * @since 0.20.0
    */
-  public synchronized void put(final List<Put> puts) throws IOException {
+  public void put(final List<Put> puts) throws IOException {
     doPut(puts);
   }
 
@@ -583,7 +583,7 @@ public class HTable implements HTableInt
    * @throws IOException
    * @return true if the new put was execute, false otherwise
    */
-  public synchronized boolean checkAndPut(final byte [] row,
+  public boolean checkAndPut(final byte [] row,
       final byte [] family, final byte [] qualifier, final byte [] value,
       final Put put)
   throws IOException {