From hdfs-dev-return-7107-apmail-hadoop-hdfs-dev-archive=hadoop.apache.org@hadoop.apache.org Wed Jul 11 00:26:36 2012 Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 13605DD03 for ; Wed, 11 Jul 2012 00:26:36 +0000 (UTC) Received: (qmail 12079 invoked by uid 500); 11 Jul 2012 00:26:35 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 11959 invoked by uid 500); 11 Jul 2012 00:26:35 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 11687 invoked by uid 99); 11 Jul 2012 00:26:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jul 2012 00:26:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id E011B142862 for ; Wed, 11 Jul 2012 00:26:34 +0000 (UTC) Date: Wed, 11 Jul 2012 00:26:34 +0000 (UTC) From: "Colin Patrick McCabe (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: <166078373.32738.1341966394919.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Created] (HDFS-3633) libhdfs: hdfsDelete should pass JNI_FALSE or JNI_TRUE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Colin Patrick McCabe created HDFS-3633: ------------------------------------------ Summary: 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 Affects Versions: 2.0.1-alpha Reporter: Colin Patrick McCabe Assignee: Colin Patrick McCabe Priority: Minor 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