hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1085186 - in /hbase/trunk: CHANGES.txt src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java
Date Thu, 24 Mar 2011 23:12:55 GMT
Author: stack
Date: Thu Mar 24 23:12:55 2011
New Revision: 1085186

URL: http://svn.apache.org/viewvc?rev=1085186&view=rev
Log:
HBASE-3688 Setters of class HTableDescriptor do not work properly

Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1085186&r1=1085185&r2=1085186&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Thu Mar 24 23:12:55 2011
@@ -49,6 +49,7 @@ Release 0.91.0 - Unreleased
    HBASE-3583  Coprocessors: scannerNext and scannerClose hooks are called
                when HRegionInterface#get is invoked (Mingjie Lai via
                Andrew Purtell)
+   HBASE-3688  Setters of class HTableDescriptor do not work properly
 
   IMPROVEMENTS
    HBASE-3290  Max Compaction Size (Nicolas Spiegelberg via Stack)  

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java?rev=1085186&r1=1085185&r2=1085186&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java Thu Mar 24 23:12:55
2011
@@ -401,6 +401,7 @@ public class HTableDescriptor implements
    */
   public void setDeferredLogFlush(final boolean isDeferredLogFlush) {
     setValue(DEFERRED_LOG_FLUSH_KEY, isDeferredLogFlush? TRUE: FALSE);
+    this.isDeferredLog = isDeferredLogFlush;
   }
 
   /** @return name of table */
@@ -424,6 +425,8 @@ public class HTableDescriptor implements
   /** @param name name of table */
   public void setName(byte[] name) {
     this.name = name;
+    this.nameAsString = Bytes.toString(this.name);
+    setMetaFlags(this.name);
   }
 
   /**



Mime
View raw message