hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lin Yiqun (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10204) Use HadoopIllegalArgumentException replace IllegalArgumentException in hadoop-hdfs
Date Fri, 25 Mar 2016 03:18:25 GMT

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

Lin Yiqun commented on HDFS-10204:
----------------------------------

The failed unit tests seem not related, update the patch for fixing checkstyle issues.

> 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, HDFS-10204.002.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)

Mime
View raw message