[
https://issues.apache.org/jira/browse/HDFS-7349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14304733#comment-14304733
]
Kai Zheng commented on HDFS-7349:
---------------------------------
bq.It's a design question whether we should ask users to configure each item
(hdfs ec -convertToEC <path> -numDataBlocks 6 -numParityBlocks 3 -codec RS) or
choose from a predefined list (hdfs ec -convertToEC <path> -s RS63)
I thought predefined list is a great idea and better approach, since it's
error-prone to specify those parameters. Please note we may have more
parameters other than the three ones for some code schemes. I just re-purposed
HDFS-7371 to allow predefine EC schemas.
> Support DFS command for the EC encoding
> ---------------------------------------
>
> Key: HDFS-7349
> URL: https://issues.apache.org/jira/browse/HDFS-7349
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Vinayakumar B
> Assignee: Vinayakumar B
> Attachments: HDFS-7349-001.patch, HDFS-7349-002.patch
>
>
> Support implementation of the following commands
> *hdfs dfs -convertToEC <path>*
> <path>: Converts all blocks under this path to EC form (if not already in
> EC form, and if can be coded).
> *hdfs dfs -convertToRep <path>*
> <path>: Converts all blocks under this path to be replicated form.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)