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

dhruba borthakur commented on HDFS-727:
---------------------------------------

Hi Eli, Thanks for offering to update the test case, will wait for that one. 
This is something that is worth putting into the 0.20.3 release.

> bug setting block size hdfsOpenFile 
> ------------------------------------
>
>                 Key: HDFS-727
>                 URL: https://issues.apache.org/jira/browse/HDFS-727
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Eli Collins
>            Assignee: Eli Collins
>             Fix For: 0.20.2, 0.21.0
>
>         Attachments: hdfs727.patch
>
>
> In hdfsOpenFile in libhdfs invokeMethod needs to cast the block size argument 
> to a jlong so a full 8 bytes are passed (rather than 4 plus some garbage 
> which causes writes to fail due to a bogus block size). 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to