hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cpeel@kence.org (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-2635) NNBench creates duplicate files if multiple maps are run from the same client
Date Tue, 06 Dec 2011 20:05:40 GMT
NNBench creates duplicate files if multiple maps are run from the same client
-----------------------------------------------------------------------------

                 Key: HDFS-2635
                 URL: https://issues.apache.org/jira/browse/HDFS-2635
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: test
    Affects Versions: 0.20.205.0, 0.20.204.0, 0.20.203.0
            Reporter: cpeel@kence.org
            Priority: Minor


NNBench creates files in the format:
  file_<hostname>__<filenum>

This works seamlessly as long as all of the Hadoop clients in the cluster are each running
with a single map slot. If multiple map slots are available on a single client, each mapper
tries to create the same set of files. This can result in lock contention on some non-Hadoop
HDFS implementations thereby defeating the purpose of the NNBench test.

Making the files unique per mapper, not per host, resolves this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message