[ 
https://issues.apache.org/jira/browse/HDFS-16615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yongpan Liu updated HDFS-16615:
-------------------------------
    Description: 
{color:#000000}Currently, the OIV tool does not support printing EC policy and 
EC replication of EC file. {color}{color:#000000}In addition, fsImage records 
only data blocks of EC files, ignoring parity blocks.{color}
{color:#000000}We can calculate replication for EC files based on (data block + 
Parity Block)/(data block).{color}

{color:#000000}For example, if we write 10K data to  file a.txt whose EC policy 
is RS-6-3-1 K, the file will consist of 10 data blocks and 6 parity block. So 
its replication factor is 1.6.{color}

 

  was:
{color:#000000}Currently, the OIV tool does not support printing EC policy and 
EC replication of EC file. {color}{color:#000000}In addition, fsImage records 
only data blocks of EC files, ignoring parity blocks.{color}
{color:#000000}We can calculate replication for EC files based on (data block + 
Parity Block)/(data block).{color}

{color:#000000}For example, if we write 10K data to  file a.txt whose EC policy 
is RS-6-3-1 K, the file will consist of 10 data blocks and 6 parity, then its 
replication factor is 1.6.{color}

 


> OIV: print out EC policy and EC replication  in oiv Delimited output
> --------------------------------------------------------------------
>
>                 Key: HDFS-16615
>                 URL: https://issues.apache.org/jira/browse/HDFS-16615
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: 3.0.0
>            Reporter: Yongpan Liu
>            Priority: Minor
>             Fix For: 3.3.0
>
>         Attachments: HDFS-16615.001.patch
>
>
> {color:#000000}Currently, the OIV tool does not support printing EC policy 
> and EC replication of EC file. {color}{color:#000000}In addition, fsImage 
> records only data blocks of EC files, ignoring parity blocks.{color}
> {color:#000000}We can calculate replication for EC files based on (data block 
> + Parity Block)/(data block).{color}
> {color:#000000}For example, if we write 10K data to  file a.txt whose EC 
> policy is RS-6-3-1 K, the file will consist of 10 data blocks and 6 parity 
> block. So its replication factor is 1.6.{color}
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to