[ https://issues.apache.org/jira/browse/HDFS-7349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14232819#comment-14232819 ]
Kai Zheng commented on HDFS-7349: --------------------------------- Thanks Vinay for the detailed clarifying. About convertToEC command, I had an offline discussion with Vinay and we're synced as follows. Like createZone command, we also need an option/parameter to specify the schema name to be used for the conversion. It's optional, when not specified, a system default schema (can be configured) will be used. The specified or default schema will be used to erasure code the converted individual folder/file. > 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 > > > 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)