From 6067bd122839838ab42c0f7183a4f4493d5f7c63 Mon Sep 17 00:00:00 2001 From: Suresh Srinivas Date: Thu, 6 Jun 2013 03:49:04 +0000 Subject: [PATCH] HADOOP-9131. Merge r1420366 from trunk. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1490118 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-common-project/hadoop-common/CHANGES.txt | 9 ++++++--- .../java/org/apache/hadoop/fs/TestLocalFileSystem.java | 3 +++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 49f8123d6f5..3a3b76322ad 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -242,6 +242,10 @@ Release 2.1.0-beta - UNRELEASED HADOOP-8957 AbstractFileSystem#IsValidName should be overridden for embedded file systems like ViewFs (Chris Nauroth via Sanjay Radia) + HADOOP-9607. Fixes in Javadoc build (Timothy St. Clair via cos) + + HADOOP-9605. Update junit dependency. (Timothy St. Clair via cos) + BREAKDOWN OF HADOOP-8562 SUBTASKS AND RELATED JIRAS HADOOP-8924. Hadoop Common creating package-info.java must not depend on @@ -416,9 +420,8 @@ Release 2.1.0-beta - UNRELEASED HADOOP-9397. Incremental dist tar build fails. (Chris Nauroth via jlowe) - HADOOP-9607. Fixes in Javadoc build (Timothy St. Clair via cos) - - HADOOP-9605. Update junit dependency. (Timothy St. Clair via cos) + HADOOP-9131. Turn off TestLocalFileSystem#testListStatusWithColons on + Windows. (Chris Nauroth via suresh) Release 2.0.5-alpha - UNRELEASED diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestLocalFileSystem.java b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestLocalFileSystem.java index cebb1ee4ee0..bef4d86ec6f 100644 --- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestLocalFileSystem.java +++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestLocalFileSystem.java @@ -20,6 +20,7 @@ package org.apache.hadoop.fs; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileSystem.Statistics; import org.apache.hadoop.util.StringUtils; +import org.apache.hadoop.util.Shell; import static org.apache.hadoop.fs.FileSystemTestHelper.*; @@ -28,6 +29,7 @@ import java.util.Arrays; import java.util.Random; import static org.junit.Assert.*; +import static org.junit.Assume.assumeTrue; import org.junit.After; import org.junit.Before; @@ -263,6 +265,7 @@ public class TestLocalFileSystem { @Test(timeout = 1000) public void testListStatusWithColons() throws IOException { + assumeTrue(!Shell.WINDOWS); File colonFile = new File(TEST_ROOT_DIR, "foo:bar"); colonFile.mkdirs(); FileStatus[] stats = fileSys.listStatus(new Path(TEST_ROOT_DIR));