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 7BDEE4470 for ; Thu, 19 May 2011 02:09:30 +0000 (UTC) Received: (qmail 83068 invoked by uid 500); 19 May 2011 02:09:30 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 83034 invoked by uid 500); 19 May 2011 02:09:30 -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 83026 invoked by uid 99); 19 May 2011 02:09:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2011 02:09:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Thu, 19 May 2011 02:09:28 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C3E15D0571 for ; Thu, 19 May 2011 02:08:47 +0000 (UTC) Date: Thu, 19 May 2011 02:08:47 +0000 (UTC) From: "CW Chung (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <481821334.25287.1305770927798.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1810895682.17167.1304386263160.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-1877) Create a functional test for file read/write 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-1877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] CW Chung updated HDFS-1877: --------------------------- Status: Patch Available (was: Open) Thanks for the suggestion. Here is another patch with the following improvements: 1. Use svn diff format 2. System.out.println changed to LOG 3. Use sequential read rather than position read. Junit Test will therefore pass. 4. Removed unused import, declarations 5. Test routine begin with name Test 6. Add parsing of command line option > Create a functional test for file read/write > -------------------------------------------- > > Key: HDFS-1877 > URL: https://issues.apache.org/jira/browse/HDFS-1877 > Project: Hadoop HDFS > Issue Type: Test > Components: test > Affects Versions: 0.22.0 > Reporter: CW Chung > Priority: Minor > Attachments: TestWriteRead.java > > > It would be a great to have a tool, running on a real grid, to perform function test (and stress tests to certain extent) for the file operations. The tool would be written in Java and makes HDFS API calls to read, write, append, hflush hadoop files. The tool would be usable standalone, or as a building block for other regression or stress test suites (written in shell, perl, python, etc). -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira