Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9F086969C for ; Sat, 24 Dec 2011 06:44:55 +0000 (UTC) Received: (qmail 24625 invoked by uid 500); 24 Dec 2011 06:44:55 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 24596 invoked by uid 500); 24 Dec 2011 06:44:55 -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 24588 invoked by uid 99); 24 Dec 2011 06:44:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Dec 2011 06:44:54 +0000 X-ASF-Spam-Status: No, hits=-2002.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Dec 2011 06:44:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A5B5C1269D1 for ; Sat, 24 Dec 2011 06:44:30 +0000 (UTC) Date: Sat, 24 Dec 2011 06:44:30 +0000 (UTC) From: "Harsh J (Commented) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <402247226.43876.1324709070680.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-1314) dfs.block.size accepts only absolute value 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-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175682#comment-13175682 ] Harsh J commented on HDFS-1314: ------------------------------- Where possible, lets use FileSystem.getDefaultBlockSize(); and have that do the work underneath. > dfs.block.size accepts only absolute value > ------------------------------------------ > > Key: HDFS-1314 > URL: https://issues.apache.org/jira/browse/HDFS-1314 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Karim Saadah > Assignee: Sho Shimauchi > Priority: Minor > Labels: newbie > Attachments: hdfs-1314.txt > > > Using "dfs.block.size=8388608" works > but "dfs.block.size=8mb" does not. > Using "dfs.block.size=8mb" should throw some WARNING on NumberFormatException. > (http://pastebin.corp.yahoo.com/56129) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira