Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 32945 invoked from network); 2 Nov 2007 11:10:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Nov 2007 11:10:27 -0000 Received: (qmail 54055 invoked by uid 500); 2 Nov 2007 11:10:15 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 54010 invoked by uid 500); 2 Nov 2007 11:10:14 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 53997 invoked by uid 99); 2 Nov 2007 11:10:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 04:10:14 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 11:10:14 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E0592714201 for ; Fri, 2 Nov 2007 04:09:50 -0700 (PDT) Message-ID: <26209994.1194001790916.JavaMail.jira@brutus> Date: Fri, 2 Nov 2007 04:09:50 -0700 (PDT) From: "Konstantin Shvachko (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-2000) Re-write NNBench to use MapReduce In-Reply-To: <15554700.1191620390866.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539565 ] Konstantin Shvachko commented on HADOOP-2000: --------------------------------------------- # redundant imports import java.text.DateFormat; import org.apache.hadoop.mapred.Reducer; # variable name in NNBenchMapper.map() is never used. # Typo {code} // Set user-dfined parameters, {code} # Printing TPS calculating TPmS. Should be the same: {code} " RAW DATA: TPS Total : " + totalTimeTPmS, {code} # double totalTimeTPS is confusing, since it is in fact TPS, not time according to the formula and the comments # I am not happy with the whole concept of transactions per second. So you measure total execution time of each map (t_i) and then divide Number_of_files / Sum(t_i). But the Sum(t_i) is not the right time, because maps are running in parallel, so in order to obtain the true TPS you need to time the start and the end of +*all*+ maps rather than the start and the end of +*individual*+ maps. But it is hard to get the exact starting and ending times of the job's map stage. Your proposed TPS measures the # of transactions per second of a single client under a certain load on the cluster. This is not completely unreasonable, but does not say much as a benchmark result imo. I mean it is quite clear that if the cluster bears more load the clients run slower. > Re-write NNBench to use MapReduce > --------------------------------- > > Key: HADOOP-2000 > URL: https://issues.apache.org/jira/browse/HADOOP-2000 > Project: Hadoop > Issue Type: Test > Components: test > Affects Versions: 0.15.0 > Reporter: Mukund Madhugiri > Assignee: Mukund Madhugiri > Fix For: 0.16.0 > > Attachments: HADOOP-2000.patch, HADOOP-2000.patch, HADOOP-2000.patch, HADOOP-2000.patch, HADOOP-2000.patch > > > The proposal is to re-write the NNBench benchmark/test to measure Namenode operations using MapReduce. Two buckets of measurements will be done: > 1. Transactions per second > 2. Average latency > for these operations > - Create and Close file > - Open file > - Rename file > - Delete file -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.