Skip to content

Commit

Permalink
YARN-9303 Username splits won't help timelineservice.app_flow table. …
Browse files Browse the repository at this point in the history
…Contributed by Prabhu Joseph.
  • Loading branch information
Vrushali C committed Apr 4, 2019
1 parent f09a78f commit eb03f7c
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit eb03f7c

Please sign in to comment.