YARN-9303 Username splits won't help timelineservice.app_flow table. Contributed by Prabhu Joseph.

This commit is contained in:
Vrushali C 2019-04-03 22:53:05 -07:00
parent f09a78f73f
commit eb03f7c419
1 changed files with 1 additions and 7 deletions

View File

@ -79,13 +79,7 @@ public class AppToFlowTableRW extends BaseTableRW<AppToFlowTable> {
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));
}