HBASE-3688 Setters of class HTableDescriptor do not work properly

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1085186 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-03-24 23:12:55 +00:00
parent d82dabaa6f
commit 91404d9c5d
2 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,7 @@ Release 0.91.0 - Unreleased
HBASE-3583 Coprocessors: scannerNext and scannerClose hooks are called HBASE-3583 Coprocessors: scannerNext and scannerClose hooks are called
when HRegionInterface#get is invoked (Mingjie Lai via when HRegionInterface#get is invoked (Mingjie Lai via
Andrew Purtell) Andrew Purtell)
HBASE-3688 Setters of class HTableDescriptor do not work properly
IMPROVEMENTS IMPROVEMENTS
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack) HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)

View File

@ -401,6 +401,7 @@ public class HTableDescriptor implements WritableComparable<HTableDescriptor> {
*/ */
public void setDeferredLogFlush(final boolean isDeferredLogFlush) { public void setDeferredLogFlush(final boolean isDeferredLogFlush) {
setValue(DEFERRED_LOG_FLUSH_KEY, isDeferredLogFlush? TRUE: FALSE); setValue(DEFERRED_LOG_FLUSH_KEY, isDeferredLogFlush? TRUE: FALSE);
this.isDeferredLog = isDeferredLogFlush;
} }
/** @return name of table */ /** @return name of table */
@ -424,6 +425,8 @@ public class HTableDescriptor implements WritableComparable<HTableDescriptor> {
/** @param name name of table */ /** @param name name of table */
public void setName(byte[] name) { public void setName(byte[] name) {
this.name = name; this.name = name;
this.nameAsString = Bytes.toString(this.name);
setMetaFlags(this.name);
} }
/** /**