[ https://issues.apache.org/jira/browse/HDFS-17056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17800168#comment-17800168 ]
ASF GitHub Bot commented on HDFS-17056: --------------------------------------- huangzhaobo99 commented on PR #6379: URL: https://github.com/apache/hadoop/pull/6379#issuecomment-1868495316 > May be necessary to modify the erasurecoding.proto file, `required` to `repeated`, similar to `DistributedFileSystem#addErasureCodingPolicies`. > > This modification will result in a many to many relationship. > > ```proto > // now > message GetECTopologyResultForPoliciesResponseProto { > required ECTopologyVerifierResultProto response = 1; > } > > // expect > message GetECTopologyResultForPoliciesResponseProto { > repeated ECTopologyVerifierResultProto response = 1; > } > ``` Hi @ayushtkn @haiyang1987, If you have time, let's discuss it together, Thanks. > EC: Fix verifyClusterSetup output in case of an invalid param. > -------------------------------------------------------------- > > Key: HDFS-17056 > URL: https://issues.apache.org/jira/browse/HDFS-17056 > Project: Hadoop HDFS > Issue Type: Bug > Components: ec > Reporter: Ayush Saxena > Assignee: huangzhaobo99 > Priority: Major > Labels: newbie, pull-request-available > > {code:java} > bin/hdfs ec -verifyClusterSetup XOR-2-1-1024k > 9 DataNodes are required for the erasure coding policies: RS-6-3-1024k, > XOR-2-1-1024k. The number of DataNodes is only 3. {code} > verifyClusterSetup requires -policy then the name of policies, else it > defaults to all enabled policies. > In case there are additional invalid options it silently ignores them, unlike > other EC commands which throws out Too Many Argument exception. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org