[ https://issues.apache.org/jira/browse/HDFS-13998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16700796#comment-16700796 ]
Daniel Templeton commented on HDFS-13998: ----------------------------------------- The safest answer is to add another CLI option. I also think it's clearer. I find {{hdfs ec -setPolicy -path /EC}} to be strange syntax. Let's set the policy but not say to what! Huh? > ECAdmin NPE with -setPolicy -replicate > -------------------------------------- > > Key: HDFS-13998 > URL: https://issues.apache.org/jira/browse/HDFS-13998 > Project: Hadoop HDFS > Issue Type: Bug > Components: erasure-coding > Affects Versions: 3.2.0, 3.1.2 > Reporter: Xiao Chen > Assignee: Zsolt Venczel > Priority: Major > Attachments: HDFS-13998.01.patch, HDFS-13998.02.patch, > HDFS-13998.03.patch > > > HDFS-13732 tried to improve the output of the console tool. But we missed the > fact that for replication, {{getErasureCodingPolicy}} would return null. > This jira is to fix it in ECAdmin, and add a unit test. -- 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