Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 35547 invoked from network); 1 Sep 2009 16:24:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Sep 2009 16:24:57 -0000 Received: (qmail 25404 invoked by uid 500); 1 Sep 2009 16:24:57 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 25375 invoked by uid 500); 1 Sep 2009 16:24:57 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 25321 invoked by uid 99); 1 Sep 2009 16:24:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 16:24:57 +0000 X-ASF-Spam-Status: No, hits=-1998.8 required=10.0 tests=ALL_TRUSTED,FS_REPLICA X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 16:24:54 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5FC27234C1EA for ; Tue, 1 Sep 2009 09:24:33 -0700 (PDT) Message-ID: <1797297794.1251822273391.JavaMail.jira@brutus> Date: Tue, 1 Sep 2009 09:24:33 -0700 (PDT) From: "Sanjay Radia (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-578) Support for using server default values for blockSize and replication when creating a file In-Reply-To: <1535958597.1251484712795.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749968#action_12749968 ] Sanjay Radia commented on HDFS-578: ----------------------------------- This is closely tied to HADOOP-4952 (so please refer to that) which states that we support options 1 and 2 but not 3: # Specify the desired values as explict parameters in the methods such as create. [as in current system] # Use SS defaults - different FS and their deployments can have their own defaults and also frees the admin from distributing the default config to all client nodes. [New] # Use client side defaults derived from the config. [ is in current system] It also proposes that there are no per FileSystem defaults, only per deployment SS defaults (see HADOOP-4952 for details). What it means is that one does not need fs config variables except for the default fs in the config. This works well for everything except the bytesPerChecksum, because the create call does not have parameter called bytesPerChecksum. If application configurable bytesPerChecksum is important then there are two options: (a) add it as a parameter to the create call (most folks will get confused by what to set) or (b) support options 3. If we support option 3 then to be consistent we should probably support it for all parameters (blkSize, repFac, buffer size, etc). > Support for using server default values for blockSize and replication when creating a file > ------------------------------------------------------------------------------------------ > > Key: HDFS-578 > URL: https://issues.apache.org/jira/browse/HDFS-578 > Project: Hadoop HDFS > Issue Type: Improvement > Components: hdfs client, name-node > Reporter: Kan Zhang > Assignee: Kan Zhang > > This is a sub-task of HADOOP-4952. This improvement makes it possible for a client to specify that it wants to use the server default values for blockSize and replication params when creating a file. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.