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:
parent
d82dabaa6f
commit
91404d9c5d
|
@ -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)
|
||||
|
|
|
@ -401,6 +401,7 @@ public class HTableDescriptor implements WritableComparable<HTableDescriptor> {
|
|||
*/
|
||||
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 WritableComparable<HTableDescriptor> {
|
|||
/** @param name name of table */
|
||||
public void setName(byte[] name) {
|
||||
this.name = name;
|
||||
this.nameAsString = Bytes.toString(this.name);
|
||||
setMetaFlags(this.name);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue