[ https://issues.apache.org/jira/browse/HDFS-10204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lin Yiqun updated HDFS-10204: ----------------------------- Attachment: HDFS-10204.001.patch Attach a initial patch. Almost {{IllegalArgumentException}} has been replaced except some in unit tests. > Use HadoopIllegalArgumentException replace IllegalArgumentException in > hadoop-hdfs > ---------------------------------------------------------------------------------- > > Key: HDFS-10204 > URL: https://issues.apache.org/jira/browse/HDFS-10204 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Lin Yiqun > Assignee: Lin Yiqun > Attachments: HDFS-10204.001.patch > > > In HDFS-1151, it recommended that HDFS should throw > HadoopIllegalArgumentException instead of IllegalArgumentException as > described in HADOOP-6537. The intent of that was to differentiate > IllegalArgumentException thrown by Hadoop rather than JDK. And in current > code, some palces has used {{HadoopIllegalArgumentException}}. But the most > of them were still using {{IllegalArgumentException}}. > Current JIRA's scope focused on hadoop-hdfs, other project > hadoop-hdfs-client, etc can be updated later. -- This message was sent by Atlassian JIRA (v6.3.4#6332)