Return-Path: Delivered-To: apmail-hadoop-hdfs-commits-archive@minotaur.apache.org Received: (qmail 65105 invoked from network); 22 Sep 2009 00:23:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Sep 2009 00:23:42 -0000 Received: (qmail 58334 invoked by uid 500); 22 Sep 2009 00:23:42 -0000 Delivered-To: apmail-hadoop-hdfs-commits-archive@hadoop.apache.org Received: (qmail 58290 invoked by uid 500); 22 Sep 2009 00:23:42 -0000 Mailing-List: contact hdfs-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-commits@hadoop.apache.org Received: (qmail 58280 invoked by uid 99); 22 Sep 2009 00:23:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2009 00:23:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2009 00:23:40 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 469582388893; Tue, 22 Sep 2009 00:23:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r817458 - in /hadoop/hdfs/trunk: CHANGES.txt src/test/hdfs/org/apache/hadoop/fs/TestHDFSFileContextMainOperations.java Date: Tue, 22 Sep 2009 00:23:20 -0000 To: hdfs-commits@hadoop.apache.org From: suresh@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090922002320.469582388893@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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); }