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

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

This seems to be a serious problem. I would like to backport it to 0.20.2 and 
0.21. Can we enhannce hdfs_test.c to include a unit test to test this patch?

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