[
https://issues.apache.org/jira/browse/HDFS-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780372#action_12780372
]
Konstantin Boudnik commented on HDFS-727:
-----------------------------------------
+1 patch looks good.
I've verified if it works for HDFS-756 and it seems to be doing the job. I'm
going to wait till tomorrow if anyone wants to comment on this and will commit
it.
> 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, 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.