[
https://issues.apache.org/jira/browse/HDFS-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konstantin Boudnik updated HDFS-727:
------------------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
I've just committed this. Thanks Eli.
> bug setting block size hdfsOpenFile
> ------------------------------------
>
> Key: HDFS-727
> URL: https://issues.apache.org/jira/browse/HDFS-727
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: contrib/libhdfs
> Affects Versions: 0.22.0
> Reporter: Eli Collins
> Assignee: Eli Collins
> Fix For: 0.22.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.