hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sam liu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-7624) TestFileAppendRestart hardcode block size without considering native OS
Date Fri, 16 Jan 2015 02:30:34 GMT

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

sam liu updated HDFS-7624:
--------------------------
    Attachment: HDFS-7624.001.patch

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

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

Mime
View raw message