Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DE220200AF8 for ; Thu, 5 May 2016 19:33:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DCC2C160A04; Thu, 5 May 2016 17:33:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 305B41609F3 for ; Thu, 5 May 2016 19:33:14 +0200 (CEST) Received: (qmail 64319 invoked by uid 500); 5 May 2016 17:33:13 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 64295 invoked by uid 99); 5 May 2016 17:33:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 May 2016 17:33:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E09AD2C1F60 for ; Thu, 5 May 2016 17:33:12 +0000 (UTC) Date: Thu, 5 May 2016 17:33:12 +0000 (UTC) From: "Xiaowei Zhu (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-8790) Add Filesystem level stress tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 05 May 2016 17:33:15 -0000 [ https://issues.apache.org/jira/browse/HDFS-8790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaowei Zhu updated HDFS-8790: ------------------------------ Attachment: (was: HDFS-9890.HDFS-8707.006.patch) > Add Filesystem level stress tests > --------------------------------- > > Key: HDFS-8790 > URL: https://issues.apache.org/jira/browse/HDFS-8790 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: hdfs-client > Reporter: James Clampffer > Assignee: James Clampffer > Attachments: HDFS-8790.HDFS-8707.000.patch > > > I propose adding stress tests on libhdfs(3) compatibility layer was well as the async calls. These can be also used for basic performance metrics and inputs to profiling tools to see improvements over time. > I'd like to make these tests into a seperate executable, or set of them, so that they can be used for longer running tests on dedicated clusters that may already exist. Each should provide a simple command line interface for scripted or manual use. > Basic tests would be: > looped open-read-close > sequential scans > small random reads > All tests will be parameterized for number of threads, read size, and upper and lower offset bounds for a specified file. This will make it much easier to detect and reproduce threading issues and resource leaks as well as provide a simple executable (or set of executables) that can be run with valgrind to gain a high confidence that the code is operating correctly. > I'd appreciate suggestions for any other simple stress tests. > HDFS-8766 intentionally avoided shared_ptr and unique_ptr in the C api to make debugging this a little easier in case memory stomps and dangling references show up in stress tests. These will be added into the C API when the patch for this jira is submitted because things should be reasonably stable once the stress tests pass. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org