[ 
https://issues.apache.org/jira/browse/HDFS-14188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16769477#comment-16769477
 ] 

Wei-Chiu Chuang commented on HDFS-14188:
----------------------------------------

Thanks for the updated patch.

One question: is "reserOutputs()" a typo? Should it be "resetOutputs()"?
{quote}-verifyClusterSetup -policy <policyName>...<policyName>
{quote}
This is unfortunately not entirely accurate.

Running this command, I ended up with error "-verifyClusterSetup: Too many 
arguments"

In fact, you would need to double quote multiple policy names. For example,
{quote}-verifyClusterSetup -policy "RS-3-2-1024k RS-10-4-1024"
{quote}
Otherwise arguments won't parse correctly.

> Make hdfs ec -verifyClusterSetup command accept an erasure coding policy as a 
> parameter
> ---------------------------------------------------------------------------------------
>
>                 Key: HDFS-14188
>                 URL: https://issues.apache.org/jira/browse/HDFS-14188
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: erasure-coding
>    Affects Versions: 3.1.1
>            Reporter: Kitti Nanasi
>            Assignee: Kitti Nanasi
>            Priority: Major
>         Attachments: HDFS-14188.001.patch, HDFS-14188.002.patch, 
> HDFS-14188.003.patch, HDFS-14188.004.patch
>
>
> hdfs ec -verifyClusterSetup command verifies if there are enough data nodes 
> and racks for the enabled erasure coding policies
> I think it would be beneficial if it could accept an erasure coding policy as 
> a parameter optionally. For example the following command would run the 
> verify for only the RS-6-3-1024k policy.
> {code:java}
> hdfs ec -verifyClusterSetup -policy RS-6-3-1024k
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to