[
https://issues.apache.org/jira/browse/HBASE-29238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Reid Chan updated HBASE-29238:
------------------------------
Release Note:
This feature supports specifying the storage medium for different column
families by adding a -storage-policy.
The format is like this: a=HOT, which is for a single case. If there are
multiple column families, use: a=HOT&b=ALL_SSD. This means the storage medium
for column family a is HOT, and for column family b it is ALL_SSD, separated by
&.
Additionally, if there is a column family c for which you haven’t specified a
storage policy (unspecified), HDFS will decide the storage medium automatically.
was:This feature supports specifying the storage medium for different column
families by adding a -storage-policy. The format is like this: a=HOT, which is
for a single case. If there are multiple column families, use: a=HOT&b=ALL_SSD.
This means the storage medium for column family a is HOT, and for column family
b it is ALL_SSD, separated by &. Additionally, if there is a column family c
for which you haven’t specified a storage policy (unspecified), HDFS will
decide the storage medium automatically.
> ExportSnapshot support specify storage policy
> ---------------------------------------------
>
> Key: HBASE-29238
> URL: https://issues.apache.org/jira/browse/HBASE-29238
> Project: HBase
> Issue Type: Improvement
> Components: snapshots
> Reporter: Reid Chan
> Assignee: Reid Chan
> Priority: Minor
> Labels: pull-request-available
> Fix For: 2.7.0, 3.0.0-beta-2, 2.6.3
>
>
> If storage policy is unspecified, the default is either HOT or DISK.
> In our production case, we have a cluster which support DISK in A IDC while
> SSD only in B IDC (yes, it is cross-IDC cluster).
> We want to export a snapshot to B IDC using all SSD directly, but since
> default policy, it will be DISK. We have to trigger a major compaction to
> move all data from DISK to SSD which it is time consuming.
> That's the background of this improvement.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)