From mapreduce-issues-return-14105-apmail-hadoop-mapreduce-issues-archive=hadoop.apache.org@hadoop.apache.org Wed Jun 02 02:16:03 2010 Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 58658 invoked from network); 2 Jun 2010 02:16:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Jun 2010 02:16:03 -0000 Received: (qmail 25794 invoked by uid 500); 2 Jun 2010 02:16:03 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 25764 invoked by uid 500); 2 Jun 2010 02:16:03 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 25754 invoked by uid 99); 2 Jun 2010 02:16:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jun 2010 02:16:03 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jun 2010 02:16:01 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o522FdKc027314 for ; Wed, 2 Jun 2010 02:15:39 GMT Message-ID: <11782775.121491275444939536.JavaMail.jira@thor> Date: Tue, 1 Jun 2010 22:15:39 -0400 (EDT) From: "Konstantin Shvachko (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Updated: (MAPREDUCE-1832) Support for file sizes less than 1MB in DFSIO benchmark. In-Reply-To: <10184545.120231275440020126.JavaMail.jira@thor> 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/MAPREDUCE-1832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konstantin Shvachko updated MAPREDUCE-1832: ------------------------------------------- Attachment: TestDFSIO-fsize.patch - This patch lets specify files in bytes, KB, MB, GB, and TB. That is, one can say {{-fileSize 37B}}. The default units are still MBs. That is, {{-fileSize 37}} sets file size to 37MB. - {{TestDFSIO}} implements {{Tool}} class, which lets it accept generic options, including -D. This particularly solves the problem reported in MAPREDUCE-1614. To specify output directory do this: {code} TestDFSIO -Dtest.build.data=/user/me/DFSIO -write -nrFiles 12 -fileSize 1024KB {code} - Usage is updated respectively. - Implementing {{Tool}} places all the main startup logic in {{run()}}, which eliminates the necessity for methods to remain static. I removed static. > Support for file sizes less than 1MB in DFSIO benchmark. > -------------------------------------------------------- > > Key: MAPREDUCE-1832 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1832 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: benchmarks > Affects Versions: 0.20.2 > Reporter: Konstantin Shvachko > Assignee: Konstantin Shvachko > Fix For: 0.20.3 > > Attachments: TestDFSIO-fsize.patch > > > Currently DFSIO benchmark allows to specify files sizes in 1MB increments. It would be useful to be able to specify smaller sizes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.