[
https://issues.apache.org/jira/browse/HADOOP-9526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chuan Liu reopened HADOOP-9526:
-------------------------------
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 when
the host actually exists in the network. When the test comparing the log
output, it assumes there is no ip in the address.
> TestShellCommandFencer and TestShell fail on Windows
> ----------------------------------------------------
>
> Key: HADOOP-9526
> URL: https://issues.apache.org/jira/browse/HADOOP-9526
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Affects Versions: 3.0.0, 2.1.0-beta
> Reporter: Arpit Agarwal
> Assignee: Arpit Agarwal
> Fix For: 3.0.0, 2.1.0-beta
>
> Attachments: HADOOP-9526.001.patch, HADOOP-9526.002.patch
>
>
> The following TestShellCommandFencer tests fail on Windows.
> # testTargetAsEnvironment
> # testConfAsEnvironment
> # testTargetAsEnvironment
> TestShell#testInterval also fails.
> All failures look like test issues.
--
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