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 06:57:35 UTC

[jira] [Updated] (HDFS-7630) TestConnCache hardcode block size without considering native OS

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

sam liu updated HDFS-7630:
--------------------------
    Attachment: HDFS-7630.001.patch

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

> TestConnCache hardcode block size without considering native OS
> ---------------------------------------------------------------
>
>                 Key: HDFS-7630
>                 URL: https://issues.apache.org/jira/browse/HDFS-7630
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>            Reporter: sam liu
>            Assignee: sam liu
>         Attachments: HDFS-7630.001.patch
>
>
> TestConnCache 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)