Repository navigation
How to custom rowKey for composite index in Hbase #3329
Unanswered
dinhphu2k1-gif
asked this question in
Q&A
Replies: 2 comments 2 replies
|
What do you mean with the "rowKey for composite index" and what improvement should a custom rowKey bring? |
1 reply
|
OK, it sounds like you mean graph partitioning, that is the placement of vertices with their adjacencies across partitions/regions. Although the composite index is also stored in HBase as a separate table, it seems unlikely that you see the effect of unevenly spread index lookups. For implementing a custom placement strategy the ids.num-partitions and ids.placement config properties are relevant, as well as the IDPlacementStrategy interface to implement. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I want to custom rowKey for composite index when it's inserted to Hbase table by add salt to rowKey.
I find a post in StackOverFlow about this problem https://stackoverflow.com/questions/45237151/hbase-row-key-split-algorithm.
But they don't show where i have to modify code or config Hbase.
Can anyon help me?
All reactions