hadoop-common-issues mailing list archives

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

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

Chuan Liu updated HADOOP-9632:
------------------------------

    Attachment: HADOOP-9632.patch

Attaching a simple fix. I simply remove the pattern matching on address. There is no lost
in test coverage because we still test 'host' and 'port' settings, and 'host' and 'port' are
obtained via address.getHost() and address.getPort().
                
> 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