You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Eli Collins (JIRA)" <ji...@apache.org> on 2009/10/22 23:42:00 UTC

[jira] Updated: (HDFS-727) bug setting block size hdfsOpenFile

     [ https://issues.apache.org/jira/browse/HDFS-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eli Collins updated HDFS-727:
-----------------------------

    Attachment: hdfs727.patch

This patch fixes the above bug, nukes an unused define, and makes a minor fix to the declaration of classname in constructNewArrayString (which running with -Xcheck:jni discovered).

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