YARN-9303 Username splits won't help timelineservice.app_flow table. Contributed by Prabhu Joseph.
This commit is contained in:
parent
f09a78f73f
commit
eb03f7c419
@ -79,13 +79,7 @@ public void createTable(Admin admin, Configuration hbaseConf)
|
||||
mappCF.setBloomFilterType(BloomType.ROWCOL);
|
||||
appToFlowTableDescp.addFamily(mappCF);
|
||||
|
||||
appToFlowTableDescp
|
||||
.setRegionSplitPolicyClassName(
|
||||
"org.apache.hadoop.hbase.regionserver.KeyPrefixRegionSplitPolicy");
|
||||
appToFlowTableDescp.setValue("KeyPrefixRegionSplitPolicy.prefix_length",
|
||||
TimelineHBaseSchemaConstants.USERNAME_SPLIT_KEY_PREFIX_LENGTH);
|
||||
admin.createTable(appToFlowTableDescp,
|
||||
TimelineHBaseSchemaConstants.getUsernameSplits());
|
||||
admin.createTable(appToFlowTableDescp);
|
||||
LOG.info("Status of table creation for " + table.getNameAsString() + "="
|
||||
+ admin.tableExists(table));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user