hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8790) Add Filesystem level stress tests
Date Wed, 22 Jul 2015 18:15:52 GMT

    [ https://issues.apache.org/jira/browse/HDFS-8790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14637340#comment-14637340

Steve Loughran commented on HDFS-8790:

James, it's about concurrency, specifically, 
# if positioned read is a seek+read+seek-back sequence, is that intermediate position visible
# do >1 operations interfere

this situation arose in encrypted HDFS and HBase

> 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
> 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.

This message was sent by Atlassian JIRA

View raw message