Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A53A10675 for ; Fri, 7 Jun 2013 20:54:24 +0000 (UTC) Received: (qmail 37009 invoked by uid 500); 7 Jun 2013 20:54:23 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 36965 invoked by uid 500); 7 Jun 2013 20:54:23 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 36922 invoked by uid 99); 7 Jun 2013 20:54:23 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jun 2013 20:54:23 +0000 Date: Fri, 7 Jun 2013 20:54:23 +0000 (UTC) From: "Arpit Agarwal (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-4866) Protocol buffer support cannot compile under C MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-4866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arpit Agarwal updated HDFS-4866: -------------------------------- Fix Version/s: 3.0.0 > Protocol buffer support cannot compile under C > ---------------------------------------------- > > Key: HDFS-4866 > URL: https://issues.apache.org/jira/browse/HDFS-4866 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 3.0.0, 2.1.0-beta > Reporter: Ralph Castain > Assignee: Arpit Agarwal > Priority: Blocker > Fix For: 3.0.0, 2.1.0-beta > > Attachments: NamenodeProtocol.pb-c.c, NamenodeProtocol.pb-c.h, pcreate.pl > > > When compiling Hadoop's .proto descriptions for use in C, an error occurs because one of the RPC's in NamenodeProtocol.proto is named "register". This name is a reserved word in languages such as C. When using the Java and C++ languages, the name is hidden inside a class and therefore doesn't cause an error. Unfortunately, that is not the case in non-class languages such as C. > Note: generating the C translation of the .proto files requires installation of the protobuf-c package from google: > http://code.google.com/p/protobuf-c/ -- 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