Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 40769 invoked from network); 14 Feb 2007 10:53:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Feb 2007 10:53:28 -0000 Received: (qmail 54400 invoked by uid 500); 14 Feb 2007 10:53:34 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 54340 invoked by uid 500); 14 Feb 2007 10:53:34 -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 54311 invoked by uid 99); 14 Feb 2007 10:53:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2007 02:53:34 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Wed, 14 Feb 2007 02:53:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D2BE37141E1 for ; Wed, 14 Feb 2007 02:53:05 -0800 (PST) Message-ID: <16300973.1171450385860.JavaMail.jira@brutus> Date: Wed, 14 Feb 2007 02:53:05 -0800 (PST) From: "Arun C Murthy (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-333) we should have some checks that the sort benchmark generates correct outputs In-Reply-To: <22178088.1151601692882.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-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arun C Murthy updated HADOOP-333: --------------------------------- Attachment: HADOOP-333_20070214_2.patch Here is another patch incorporating Owen's f/b: a) Validates the no. of bytes and records in sort's input & output. b) Validates the xor of the md5's of each key/value pair c) Ensures same key/value is present in both input and output. Run this as: hadoop jar hadoop-0.11.2-dev-examples.jar sortvalidator -sortInput /randomwriter/input -sortOutput /randomwriter/output > we should have some checks that the sort benchmark generates correct outputs > ---------------------------------------------------------------------------- > > Key: HADOOP-333 > URL: https://issues.apache.org/jira/browse/HADOOP-333 > Project: Hadoop > Issue Type: Improvement > Components: mapred > Reporter: Owen O'Malley > Assigned To: Arun C Murthy > Attachments: HADOOP-333_20070213_1.patch, HADOOP-333_20070214_2.patch > > > We should implement some checks of the input versus output of the sort benchmark to get some correctness guarantees: > 1. the number of records > 2. the number of bytes > 3. the output records are in fact sorted > 4. the xor of the md5 of each record's key/value pair -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.