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 "sam liu (JIRA)" <ji...@apache.org> on 2015/01/16 03:35:34 UTC

[jira] [Updated] (HDFS-7625) TestPersistBlocks hardcode block size without considering native OS

     [ https://issues.apache.org/jira/browse/HDFS-7625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sam liu updated HDFS-7625:
--------------------------
    Attachment: HDFS-7625.001.patch

Remove the hardcode on block size, and use 'NativeIO.POSIX.getCacheManipulator().getOperatingSystemPageSize()' instead.

> TestPersistBlocks hardcode block size without considering native OS
> -------------------------------------------------------------------
>
>                 Key: HDFS-7625
>                 URL: https://issues.apache.org/jira/browse/HDFS-7625
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>            Reporter: sam liu
>            Assignee: sam liu
>         Attachments: HDFS-7625.001.patch
>
>
> TestPersistBlocks hardcode block size with 'BLOCK_SIZE = 4096', however it's incorrect on some platforms. For example, on power platform, the correct value is 65536.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)