hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9632) TestShellCommandFencer will fail if there is a 'host' machine in the network
Date Fri, 07 Jun 2013 22:12:20 GMT

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

Arpit Agarwal commented on HADOOP-9632:
---------------------------------------

Hi Chuan,

Are we losing test coverage for the resolution of $target_address?

Thanks,
Arpit
                
> TestShellCommandFencer will fail if there is a 'host' machine in the network
> ----------------------------------------------------------------------------
>
>                 Key: HADOOP-9632
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9632
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 2.1.0-beta
>            Reporter: Chuan Liu
>            Assignee: Chuan Liu
>            Priority: Minor
>         Attachments: HADOOP-9632.patch
>
>
> TestShellCommandFencer will fail if there is a machine named ‘host’ in the network.
The %target_address% environment variable used in the test was from result of InetSocketAddress.getAddress().
The method will return 'host/ip' instead of only 'host' when the host actually exists in the
network. When the test comparing the log output, it assumes there is no ip in the address.

--
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

Mime
View raw message