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

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

     [ https://issues.apache.org/jira/browse/OOZIE-1177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Kanter updated OOZIE-1177:
---------------------------------

    Attachment: OOZIE-1177.patch

I didn't add a test for this because its a pretty trivial change and OOZIE-1171 already tests the main functionality here.  
                
> 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