HDFS-10565: Erasure Coding: Document about the current allowed storage policies for EC Striped mode files

This commit is contained in:
Uma Maheswara Rao G 2016-07-22 11:08:20 -07:00
parent c60a68ce1d
commit 77ac04efe4
1 changed files with 3 additions and 1 deletions

View File

@ -81,7 +81,9 @@ The following is a typical storage policy table.
| 5 | Warm | DISK: 1, ARCHIVE: *n*-1 | ARCHIVE, DISK | ARCHIVE, DISK | | 5 | Warm | DISK: 1, ARCHIVE: *n*-1 | ARCHIVE, DISK | ARCHIVE, DISK |
| 2 | Cold | ARCHIVE: *n* | \<none\> | \<none\> | | 2 | Cold | ARCHIVE: *n* | \<none\> | \<none\> |
Note that the Lazy\_Persist policy is useful only for single replica blocks. For blocks with more than one replicas, all the replicas will be written to DISK since writing only one of the replicas to RAM\_DISK does not improve the overall performance. Note 1: The Lazy\_Persist policy is useful only for single replica blocks. For blocks with more than one replicas, all the replicas will be written to DISK since writing only one of the replicas to RAM\_DISK does not improve the overall performance.
Note 2: For the erasure coded files with striping layout, the suitable storage policies are All\_SSD, Hot, Cold. So, if user sets the policy for striped EC files other than the mentioned policies, it will not follow that policy while creating or moving block.
### Storage Policy Resolution ### Storage Policy Resolution