Author: suresh
Date: Tue Sep 22 00:23:19 2009
New Revision: 817458
URL: http://svn.apache.org/viewvc?rev=817458&view=rev
Log:
HDFS-640. Fix TestHDFSFileContextMainOperations.java build failure. Contributed
by Suresh Srinivas.
Modified:
hadoop/hdfs/trunk/CHANGES.txt
hadoop/hdfs/trunk/src/test/hdfs/org/apache/hadoop/fs/TestHDFSFileContextMainOperations.java
Modified: hadoop/hdfs/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/hadoop/hdfs/trunk/CHANGES.txt?rev=817458&r1=817457&r2=817458&view=diff
==============================================================================
--- hadoop/hdfs/trunk/CHANGES.txt (original)
+++ hadoop/hdfs/trunk/CHANGES.txt Tue Sep 22 00:23:19 2009
@@ -11,6 +11,7 @@
OPTIMIZATIONS
BUG FIXES
+ HDFS-640. Fixed TestHDFSFileContextMainOperations.java build failure.
(suresh)
Release 0.21.0 - Unreleased
Modified:
hadoop/hdfs/trunk/src/test/hdfs/org/apache/hadoop/fs/TestHDFSFileContextMainOperations.java
URL:
http://svn.apache.org/viewvc/hadoop/hdfs/trunk/src/test/hdfs/org/apache/hadoop/fs/TestHDFSFileContextMainOperations.java?rev=817458&r1=817457&r2=817458&view=diff
==============================================================================
---
hadoop/hdfs/trunk/src/test/hdfs/org/apache/hadoop/fs/TestHDFSFileContextMainOperations.java
(original)
+++
hadoop/hdfs/trunk/src/test/hdfs/org/apache/hadoop/fs/TestHDFSFileContextMainOperations.java
Tue Sep 22 00:23:19 2009
@@ -44,7 +44,7 @@
fc = FileContext.getFileContext(cluster.getFileSystem());
defaultWorkingDirectory = fc.makeQualified( new Path("/user/" +
UnixUserGroupInformation.login().getUserName()));
- fc.mkdirs(defaultWorkingDirectory, FileContext.DEFAULT_PERM);
+ fc.mkdir(defaultWorkingDirectory, FileContext.DEFAULT_PERM, true);
}