Return-Path: Delivered-To: apmail-hadoop-hdfs-commits-archive@minotaur.apache.org Received: (qmail 37885 invoked from network); 10 Mar 2010 22:13:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Mar 2010 22:13:36 -0000 Received: (qmail 5135 invoked by uid 500); 10 Mar 2010 22:13:05 -0000 Delivered-To: apmail-hadoop-hdfs-commits-archive@hadoop.apache.org Received: (qmail 5063 invoked by uid 500); 10 Mar 2010 22:13:04 -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 5053 invoked by uid 99); 10 Mar 2010 22:13:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Mar 2010 22:13:04 +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; Wed, 10 Mar 2010 22:13:03 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A562523888CD; Wed, 10 Mar 2010 22:12:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r921593 - in /hadoop/hdfs/trunk: CHANGES.txt src/contrib/fuse-dfs/src/fuse_impls_open.c src/contrib/fuse-dfs/src/fuse_impls_truncate.c Date: Wed, 10 Mar 2010 22:12:43 -0000 To: hdfs-commits@hadoop.apache.org From: tomwhite@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100310221243.A562523888CD@eris.apache.org> Author: tomwhite Date: Wed Mar 10 22:12:43 2010 New Revision: 921593 URL: http://svn.apache.org/viewvc?rev=921593&view=rev Log: HDFS-856. Hardcoded replication level for new files in fuse-dfs. Contributed by Brian Bockelman. Modified: hadoop/hdfs/trunk/CHANGES.txt hadoop/hdfs/trunk/src/contrib/fuse-dfs/src/fuse_impls_open.c hadoop/hdfs/trunk/src/contrib/fuse-dfs/src/fuse_impls_truncate.c Modified: hadoop/hdfs/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/CHANGES.txt?rev=921593&r1=921592&r2=921593&view=diff ============================================================================== --- hadoop/hdfs/trunk/CHANGES.txt (original) +++ hadoop/hdfs/trunk/CHANGES.txt Wed Mar 10 22:12:43 2010 @@ -176,6 +176,9 @@ Trunk (unreleased changes) HDFS-999. Secondary namenode should login using kerberos if security is configured (boryas) + HDFS-856. Hardcoded replication level for new files in fuse-dfs. + (Brian Bockelman via tomwhite) + Release 0.21.0 - Unreleased INCOMPATIBLE CHANGES Modified: hadoop/hdfs/trunk/src/contrib/fuse-dfs/src/fuse_impls_open.c URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/src/contrib/fuse-dfs/src/fuse_impls_open.c?rev=921593&r1=921592&r2=921593&view=diff ============================================================================== --- hadoop/hdfs/trunk/src/contrib/fuse-dfs/src/fuse_impls_open.c (original) +++ hadoop/hdfs/trunk/src/contrib/fuse-dfs/src/fuse_impls_open.c Wed Mar 10 22:12:43 2010 @@ -50,7 +50,7 @@ int dfs_open(const char *path, struct fu return -EIO; } - if ((fh->hdfsFH = hdfsOpenFile(fh->fs, path, flags, 0, 3, 0)) == NULL) { + if ((fh->hdfsFH = hdfsOpenFile(fh->fs, path, flags, 0, 0, 0)) == NULL) { syslog(LOG_ERR, "ERROR: could not connect open file %s:%d\n", __FILE__, __LINE__); return -EIO; } Modified: hadoop/hdfs/trunk/src/contrib/fuse-dfs/src/fuse_impls_truncate.c URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/src/contrib/fuse-dfs/src/fuse_impls_truncate.c?rev=921593&r1=921592&r2=921593&view=diff ============================================================================== --- hadoop/hdfs/trunk/src/contrib/fuse-dfs/src/fuse_impls_truncate.c (original) +++ hadoop/hdfs/trunk/src/contrib/fuse-dfs/src/fuse_impls_truncate.c Wed Mar 10 22:12:43 2010 @@ -54,7 +54,7 @@ int dfs_truncate(const char *path, off_t int flags = O_WRONLY | O_CREAT; hdfsFile file; - if ((file = (hdfsFile)hdfsOpenFile(userFS, path, flags, 0, 3, 0)) == NULL) { + if ((file = (hdfsFile)hdfsOpenFile(userFS, path, flags, 0, 0, 0)) == NULL) { syslog(LOG_ERR, "ERROR: could not connect open file %s:%d\n", __FILE__, __LINE__); return -EIO; }