From 3c9728b41ef171044be32b9422a4d3ba2289e8cd Mon Sep 17 00:00:00 2001 From: Chris Nauroth Date: Wed, 30 Oct 2013 18:40:36 +0000 Subject: [PATCH] HDFS-5432. Merging change r1537230 from trunk to branch-2. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1537232 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../apache/hadoop/hdfs/server/datanode/TestDatanodeJsp.java | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 84f8bbe0ad6..27ef32ce874 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -211,6 +211,9 @@ Release 2.2.1 - UNRELEASED HDFS-5433. When reloading fsimage during checkpointing, we should clear existing snapshottable directories. (Aaron T. Myers via wang) + HDFS-5432. TestDatanodeJsp fails on Windows due to assumption that loopback + address resolves to host name localhost. (cnauroth) + Release 2.2.0 - 2013-10-13 INCOMPATIBLE CHANGES diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDatanodeJsp.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDatanodeJsp.java index 147d12e2ff1..0d1c441bfcb 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDatanodeJsp.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDatanodeJsp.java @@ -88,7 +88,8 @@ public class TestDatanodeJsp { regex = "Go\\s*Back\\s*to\\s*File\\s*View\\<\\/a\\>"; assertFileContents(regex, "Go Back to File View"); - regex = "Go back to DFS home"; + regex = "Go back to DFS home"; assertTrue("page should generate DFS home scheme without explicit scheme", viewFilePage.contains(regex)); }