hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3633) libhdfs: hdfsDelete should pass JNI_FALSE or JNI_TRUE
Date Fri, 13 Jul 2012 00:26:35 GMT

    [ https://issues.apache.org/jira/browse/HDFS-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13413363#comment-13413363
] 

Hudson commented on HDFS-3633:
------------------------------

Integrated in Hadoop-Common-trunk-Commit #2459 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2459/])
    HDFS-3633. libhdfs: hdfsDelete should pass JNI_FALSE or JNI_TRUE. Contributed by Colin
Patrick McCabe (Revision 1361005)

     Result = SUCCESS
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1361005
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/hdfs.c

                
> 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.1-alpha
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>             Fix For: 2.0.1-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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message