[ https://issues.apache.org/jira/browse/HDFS-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins resolved HDFS-727. ------------------------------ Resolution: Fixed Fix Version/s: 0.22.0 0.20.3 I merged HDFS-727 from trunk into branch-0.20, ran the libhdfs test and committed. > 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.20.2 > Reporter: Eli Collins > Assignee: Eli Collins > Priority: Blocker > Fix For: 0.20.3, 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.