HDFS-5106. TestDatanodeBlockScanner fails on Windows due to incorrect path format. Contributed by Chuan Liu.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1514911 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris Nauroth 2013-08-16 22:28:41 +00:00
parent 218ea7380c
commit 9ba95136e2
2 changed files with 5 additions and 1 deletions

View File

@ -355,6 +355,9 @@ Release 2.1.1-beta - UNRELEASED
HDFS-5105. TestFsck fails on Windows. (Chuan Liu via arp)
HDFS-5106. TestDatanodeBlockScanner fails on Windows due to incorrect path
format. (Chuan Liu via cnauroth)
Release 2.1.0-beta - 2013-08-22
INCOMPATIBLE CHANGES

View File

@ -440,7 +440,8 @@ private static void waitForBlockDeleted(ExtendedBlock blk, int dnIndex,
}
}
private static final String BASE_PATH = "/data/current/finalized";
private static final String BASE_PATH = (new File("/data/current/finalized"))
.getAbsolutePath();
@Test
public void testReplicaInfoParsing() throws Exception {