You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Arpit Agarwal (JIRA)" <ji...@apache.org> on 2013/06/08 00:12:20 UTC

[jira] [Commented] (HADOOP-9632) TestShellCommandFencer will fail if there is a 'host' machine in the network

    [ 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