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 "Arun C Murthy (JIRA)" <ji...@apache.org> on 2012/10/11 19:48:50 UTC

[jira] [Closed] (HDFS-3633) libhdfs: hdfsDelete should pass JNI_FALSE or JNI_TRUE

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

Arun C Murthy closed HDFS-3633.
-------------------------------

    
> libhdfs: hdfsDelete should pass JNI_FALSE or JNI_TRUE
> -----------------------------------------------------
>
>                 Key: HDFS-3633
>                 URL: https://issues.apache.org/jira/browse/HDFS-3633
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: libhdfs
>    Affects Versions: 2.0.0-alpha
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>             Fix For: 2.0.2-alpha
>
>         Attachments: HDFS-3633.001.patch
>
>
> In libhdfs in hdfsDelete, the header file says any non-zero argument to hdfsDelete will be interpreted as true.  However, the hdfsDelete function does not translate these non-zero values to JNI_FALSE and JNI_TRUE, potentially leading to undefined or JVM-specific behavior.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira