[
https://issues.apache.org/jira/browse/HDFS-2840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195527#comment-13195527
]
Hudson commented on HDFS-2840:
------------------------------
Integrated in Hadoop-Hdfs-0.23-Build #152 (See
[https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/152/])
Merge -r 1236939:1236940 from trunk to branch. FIXES: HDFS-2840
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1236942
Files :
*
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/test/java/org/apache/hadoop/lib/servlet/TestHostnameFilter.java
*
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
> TestHostnameFilter should work with localhost or localhost.localdomain
> -----------------------------------------------------------------------
>
> Key: HDFS-2840
> URL: https://issues.apache.org/jira/browse/HDFS-2840
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Affects Versions: 0.23.0
> Reporter: Eli Collins
> Assignee: Alejandro Abdelnur
> Fix For: 0.23.1
>
> Attachments: HDFS-2840.patch
>
>
> TestHostnameFilter may currently fail with the following:
> {noformat}
> Error Message
> null expected:<localhost[.localdomain]> but was:<localhost[]>
> Stacktrace
> junit.framework.ComparisonFailure: null expected:<localhost[.localdomain]>
> but was:<localhost[]>
> at junit.framework.Assert.assertEquals(Assert.java:81)
> at junit.framework.Assert.assertEquals(Assert.java:87)
> at
> org.apache.hadoop.lib.servlet.TestHostnameFilter$1.doFilter(TestHostnameFilter.java:50)
> at
> org.apache.hadoop.lib.servlet.HostnameFilter.doFilter(HostnameFilter.java:68)
> at
> org.apache.hadoop.lib.servlet.TestHostnameFilter.hostname(TestHostnameFilter.java:58)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira