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

Arpit Agarwal commented on HDFS-7630:
-------------------------------------

Thanks [~sam liu]. The modified tests pass on Windows, Linux and OS X so I'd be 
fine with committing it.

However I not sure why the BLOCK_SIZE needs to be the same as the OS page size. 
Could you please share some more details about the failure? e.g. on Linux 
TestConnCache passes even if BLOCK_SIZE is set to 2048.

> 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, HDFS-7630.002.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)

Reply via email to