hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8206) Common portion of ZK-based failover controller
Date Mon, 26 Mar 2012 23:28:30 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-8206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238982#comment-13238982

Todd Lipcon commented on HADOOP-8206:

bq. Makes sense to me. One question, though - we seem to be inconsistently using IllegalArgumentException
and HadoopIllegalArgumentException. Is there any good reason for that?

I'm not entirely sure -- looking across the code as a whole, we have a 10:1 ratio of IllegalArgumentException
vs HadoopIllegalArgumentException. So I'm erring on the side of what's used more often, except
in a few places where we directly expose it as a potentially user-visible error (like bad
command line arguments).
> Common portion of ZK-based failover controller
> ----------------------------------------------
>                 Key: HADOOP-8206
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8206
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: ha
>    Affects Versions: 0.24.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hadoop-8206.txt, hadoop-8206.txt, hadoop-8206.txt
> This JIRA is for the Common (generic) portion of HDFS-2185. It can't run on its own,
but this JIRA will include unit tests using mock/dummy services.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message