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

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

Hi Sam, I understand your concern but I think for these tests it is not an 
issue. The tests should have no dependency on OS page size.

I believe the choice of 4096 as the block size was arbitrary and it being the 
same as the default page size on x86/x64 is just a coincidence.



> 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