Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 34635 invoked from network); 12 Jan 2011 06:24:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Jan 2011 06:24:13 -0000 Received: (qmail 96488 invoked by uid 500); 12 Jan 2011 06:24:13 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 96373 invoked by uid 500); 12 Jan 2011 06:24:10 -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 96365 invoked by uid 99); 12 Jan 2011 06:24:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jan 2011 06:24:09 +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, 12 Jan 2011 06:24:07 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0C6Nj7t023370 for ; Wed, 12 Jan 2011 06:23:46 GMT Message-ID: <31294136.306781294813425834.JavaMail.jira@thor> Date: Wed, 12 Jan 2011 01:23:45 -0500 (EST) From: "Konstantin Boudnik (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-1244) Misc improvements to TestFileAppend2 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-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980580#action_12980580 ] Konstantin Boudnik commented on HDFS-1244: ------------------------------------------ coupla nits: - as use of log4j has been added would it make sense to replace all System.*.println calls with proper Log's methods invocations? - perhaps instead of adding main() method to a test (kinda unorthodox) you might consider using {{@RunWith(Parameterized.class)}}? > Misc improvements to TestFileAppend2 > ------------------------------------ > > Key: HDFS-1244 > URL: https://issues.apache.org/jira/browse/HDFS-1244 > Project: Hadoop HDFS > Issue Type: Test > Components: test > Affects Versions: 0.20-append, 0.22.0 > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Priority: Minor > Fix For: 0.20-append, 0.22.0 > > Attachments: hdfs-1244-0.20-append.txt, hdfs-1244.txt > > > I've made a bunch of improvements to TestFileAppend2: > - Now has a main() with various command line options to change the workload (number of DNs, number of threads, etc) > - Sleeps for less time in between operations to catch races around close/reopen > - Updates to Junit 4 style, adds timeouts > - Improves error mesages on failure -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.