[
https://issues.apache.org/jira/browse/HBASE-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716752#action_12716752
]
stack commented on HBASE-1143:
------------------------------
Backported the above fix which makes .META. schema editable and J-D's setting
of memcache size to 16k on .META.:
{code}
Index: src/java/org/apache/hadoop/hbase/HTableDescriptor.java
===================================================================
--- src/java/org/apache/hadoop/hbase/HTableDescriptor.java (revision
782130)
+++ src/java/org/apache/hadoop/hbase/HTableDescriptor.java (working copy)
@@ -111,6 +111,8 @@
for(HColumnDescriptor descriptor : families) {
this.families.put(Bytes.mapKey(descriptor.getName()), descriptor);
}
+ // TODO: Fix this hard-coding.
+ setMemcacheFlushSize(16 * 1024);
}
/**
@@ -687,4 +689,4 @@
new HColumnDescriptor(HConstants.COLUMN_FAMILY_HISTORIAN,
HConstants.ALL_VERSIONS, HColumnDescriptor.CompressionType.NONE,
false, false, Integer.MAX_VALUE, HConstants.WEEK_IN_SECONDS,
false)});
-}
{code}
> region count erratic in master UI (kill server hosting root or meta and see
> how count goes awry).... make sure you have a bunch of reions in there
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-1143
> URL: https://issues.apache.org/jira/browse/HBASE-1143
> Project: Hadoop HBase
> Issue Type: Bug
> Reporter: stack
> Assignee: Jean-Daniel Cryans
> Fix For: 0.20.0
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.