Andrew Wang created HDFS-11683:
----------------------------------
Summary: getErasureCodingPolicyByName should throw a checked
exception
Key: HDFS-11683
URL: https://issues.apache.org/jira/browse/HDFS-11683
Project: Hadoop HDFS
Issue Type: Bug
Components: erasure-coding
Affects Versions: 3.0.0-alpha3
Reporter: Andrew Wang
getErasureCodingPolicyByName throws a HadoopIllegalArgumentException, which is
a RuntimeException. This is basically only used by CLI tools and client code,
we should throw a different exception in the NameNode.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]