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

sam liu commented on HDFS-7630:
-------------------------------

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



> 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)

Reply via email to