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] [Commented] (HDFS-7628) TestNameEditsConfigs hardcode block size without considering native OS
Date Fri, 16 Jan 2015 08:23:34 GMT

    [ https://issues.apache.org/jira/browse/HDFS-7628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14279968#comment-14279968
] 

sam liu commented on HDFS-7628:
-------------------------------

The failure of TestFileTruncate should not be caused by the patch, because:
- TestFileTruncate does not invoke any API of current test TestNameEditsConfigs
- Actually, in my test env, TestFileTruncate also failed without applying any patch

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