thangTang commented on PR #4547:
URL: https://github.com/apache/hbase/pull/4547#issuecomment-1167240325
> To align with what we have in HStore, I think we also need to add a
StoragePolicy config in TableDescriptor?
For this question, i have tested, we can set table like this:
` alter 'usertable', CONFIGURATION => {'hbase.hregion.block.storage.policy'
=> 'ALL_SSD'}`
Currently CF-level Storage Policy can be set in CF, for example:
`create 'table',{NAME=>'f1',STORAGE_POLICY=>'ALL_SSD'}`
If we wanted to add a StoragePolicy config in TableDescriptor, it would look
like this:
`create 't1', 'f1', REGION_STORAGE_POLICY=>'ALL_SSD', SPLITS_FILE =>
'splits.txt', OWNER => 'johndoe'`
We can see that this option is on par with SPLITS, OWNER, etc. My personal
opinion is that it's not so important, a configuration support is enough, and
it maybe too heavy if we extract it in isolation.
What do you think? @Apache9
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]