HDFS-5065. Merging change r1512870 from trunk to branch-2.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1512871 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ivan Mitic 2013-08-11 04:56:44 +00:00
parent a6c58bc850
commit 8e71151845
2 changed files with 4 additions and 1 deletions

View File

@ -42,6 +42,8 @@ Release 2.3.0 - UNRELEASED
HDFS-5035. getFileLinkStatus and rename do not correctly check permissions HDFS-5035. getFileLinkStatus and rename do not correctly check permissions
of symlinks. (Andrew Wang via Colin Patrick McCabe) of symlinks. (Andrew Wang via Colin Patrick McCabe)
HDFS-5065. TestSymlinkHdfsDisable fails on Windows. (ivanmi)
Release 2.1.1-beta - UNRELEASED Release 2.1.1-beta - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -42,7 +42,8 @@ public class TestSymlinkHdfsDisable {
DistributedFileSystem dfs = cluster.getFileSystem(); DistributedFileSystem dfs = cluster.getFileSystem();
FileContext fc = FileContext.getFileContext(cluster.getURI(0), conf); FileContext fc = FileContext.getFileContext(cluster.getURI(0), conf);
// Create test files/links // Create test files/links
FileContextTestHelper helper = new FileContextTestHelper(); FileContextTestHelper helper = new FileContextTestHelper(
"/tmp/TestSymlinkHdfsDisable");
Path root = helper.getTestRootPath(fc); Path root = helper.getTestRootPath(fc);
Path target = new Path(root, "target"); Path target = new Path(root, "target");
Path link = new Path(root, "link"); Path link = new Path(root, "link");