You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2012/08/03 21:53:03 UTC
[jira] [Created] (HDFS-3759) don't allow files to be created unless
blocksize is a multiple of chunksize
Colin Patrick McCabe created HDFS-3759:
------------------------------------------
Summary: don't allow files to be created unless blocksize is a multiple of chunksize
Key: HDFS-3759
URL: https://issues.apache.org/jira/browse/HDFS-3759
Project: Hadoop HDFS
Issue Type: Bug
Components: hdfs client
Affects Versions: 2.0.0-alpha
Reporter: Colin Patrick McCabe
Priority: Minor
The block size of a file should be a multiple of the io.bytes.per.checksum.
Currently, we're not enforcing this invariant, allowing files to be created with blocksize=1, chunksize=512, and other oddities.
--
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
[jira] [Updated] (HDFS-3759) NNBench creates files with
io.bytes.per.checksum = 1
Posted by "Colin Patrick McCabe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colin Patrick McCabe updated HDFS-3759:
---------------------------------------
Description: For some reason, NNBench is creating files with io.bytes.per.checksum = 1. This happens during the validation phase of the test, after the map-reduce jobs have finished. It's not clear why. If this turns out to be an NNBench problem, this JIRA should probably be moved to MAPREDUCE. (was: Should we allow files to be created with blocksize=1, chunksize=512?)
Summary: NNBench creates files with io.bytes.per.checksum = 1 (was: don't allow files to be created with io.bytes.per.checksum = 1)
> NNBench creates files with io.bytes.per.checksum = 1
> ----------------------------------------------------
>
> Key: HDFS-3759
> URL: https://issues.apache.org/jira/browse/HDFS-3759
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Affects Versions: 2.0.0-alpha
> Reporter: Colin Patrick McCabe
> Priority: Minor
>
> For some reason, NNBench is creating files with io.bytes.per.checksum = 1. This happens during the validation phase of the test, after the map-reduce jobs have finished. It's not clear why. If this turns out to be an NNBench problem, this JIRA should probably be moved to MAPREDUCE.
--
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
[jira] [Updated] (HDFS-3759) don't allow files to be created with
io.bytes.per.checksum = 1
Posted by "Colin Patrick McCabe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colin Patrick McCabe updated HDFS-3759:
---------------------------------------
Description: Should we allow files to be created with blocksize=1, chunksize=512? (was: The block size of a file should be a multiple of the io.bytes.per.checksum.
Currently, we're not enforcing this invariant, allowing files to be created with blocksize=1, chunksize=512, and other oddities.)
Summary: don't allow files to be created with io.bytes.per.checksum = 1 (was: don't allow files to be created unless blocksize is a multiple of chunksize)
> don't allow files to be created with io.bytes.per.checksum = 1
> --------------------------------------------------------------
>
> Key: HDFS-3759
> URL: https://issues.apache.org/jira/browse/HDFS-3759
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Affects Versions: 2.0.0-alpha
> Reporter: Colin Patrick McCabe
> Priority: Minor
>
> Should we allow files to be created with blocksize=1, chunksize=512?
--
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