You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Alejandro Abdelnur (JIRA)" <ji...@apache.org> on 2013/01/17 23:48:12 UTC

[jira] [Commented] (OOZIE-1177) HostnameFilter should only catch UnknownHostException, not Exception

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

Alejandro Abdelnur commented on OOZIE-1177:
-------------------------------------------

+1
                
> HostnameFilter should only catch UnknownHostException, not Exception
> --------------------------------------------------------------------
>
>                 Key: OOZIE-1177
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1177
>             Project: Oozie
>          Issue Type: Bug
>          Components: core
>    Affects Versions: trunk
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>            Priority: Trivial
>             Fix For: trunk
>
>         Attachments: OOZIE-1177.patch
>
>
> OOZIE-1171 adds some checking to the {{HostnameFilter}} that involves handling any {{Exception}}.  We should change this to only catch {{UnknownHostException}} because we wouldn't want to necessarily continue in the case of other types of {{Exception}} s.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira