Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # dev >> Error in protobuf definitions


Copy link to this message
-
Error in protobuf definitions
Hi folks

On line 228 of hadoop-hdfs-project/hadoop-hdfs/src/main/proto/NamenodeProtocol.proto, someone named a function using a reserved name:

  /**
   * Request to register a sub-ordinate namenode
   */
  rpc register(RegisterRequestProto) returns(RegisterResponseProto);
You cannot name a function "register" as this is a reserved word in other languages. As a result, attempts to compile the .proto file into C or C++ (or anything other than Java) fail. Can this function please be renamed to a non-reserved name?

Thanks
Ralph
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB