[
https://issues.apache.org/jira/browse/HBASE-20105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16398383#comment-16398383
]
Jean-Marc Spaggiari commented on HBASE-20105:
---------------------------------------------
Hi [~stack], thanks a lot for the review!
If
store.getColumnFamilyDescriptor().getConfigurationValue(HConstants.FLUSH_STORAGE_POLICY))
returns null, it's ok and expected. If store.getColumnFamilyDescriptor()
returns null, it will already crash 2 lines above. So I think this is fine. If
it returns gobble-de-gook, FSUtils.setStoragePolicy will log a WARN that HDFS
is not able to set this storage policy. So I think we are fine too.
{quote}
Should there be an assign here?
{quote}
Ha! Shame! :( Yes it should. That's very bad :(
> Allow flushes to target SSD storage
> -----------------------------------
>
> Key: HBASE-20105
> URL: https://issues.apache.org/jira/browse/HBASE-20105
> Project: HBase
> Issue Type: New Feature
> Components: Performance, regionserver
> Affects Versions: hbase-2.0.0-alpha-4
> Reporter: Jean-Marc Spaggiari
> Assignee: Jean-Marc Spaggiari
> Priority: Major
> Fix For: 2.0.0
>
> Attachments: HBASE-20105-v0.patch, HBASE-20105-v1.patch,
> HBASE-20105-v2.patch, HBASE-20105-v3.patch, HBASE-20105-v4.patch,
> HBASE-20105-v5.patch
>
>
> On heavy writes usecases, flushes are compactes together pretty quickly.
> Allowing flushes to go on SSD allows faster flush and faster first
> compactions. Subsequent compactions going on regular storage.
>
> I will be interesting to have an option to target SSD for flushes.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)