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-4866) Protocol buffer support cannot compile under C
Date Sat, 15 Jun 2013 10:53:21 GMT

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

Hudson commented on HDFS-4866:

Integrated in Hadoop-Yarn-trunk #241 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/241/])
    HDFS-4866. Protocol buffer support cannot compile under C. Contributed by Arpit Agarwal.
(Revision 1493300)

     Result = SUCCESS
cnauroth : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1493300
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/NamenodeProtocolServerSideTranslatorPB.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/NamenodeProtocolTranslatorPB.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/BackupNode.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/protocol/NamenodeProtocol.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/proto/NamenodeProtocol.proto

> 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
>          Components: namenode
>    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: HDFS-4866.002.patch, HDFS-4866.branch-2.001.patch, HDFS-4866.trunk.001.patch,
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

View raw message