HADOOP-8985. Add namespace declarations in .proto files for languages other than java. Thank you Binglin Chan.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1402845 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b6d09f67ab
commit
22377ebae5
@ -330,6 +330,9 @@ Release 2.0.3-alpha - Unreleased
|
||||
|
||||
HADOOP-8925. Remove the packaging. (eli)
|
||||
|
||||
HADOOP-8985. Add namespace declarations in .proto files for languages
|
||||
other than java. (Binglin Chan via suresh)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
HADOOP-8866. SampleQuantiles#query is O(N^2) instead of O(N). (Andrew Wang
|
||||
|
@ -20,6 +20,7 @@ option java_package = "org.apache.hadoop.ha.proto";
|
||||
option java_outer_classname = "HAServiceProtocolProtos";
|
||||
option java_generic_services = true;
|
||||
option java_generate_equals_and_hash = true;
|
||||
package hadoop.common;
|
||||
|
||||
enum HAServiceStateProto {
|
||||
INITIALIZING = 0;
|
||||
|
@ -18,6 +18,7 @@
|
||||
option java_package = "org.apache.hadoop.ipc.protobuf";
|
||||
option java_outer_classname = "IpcConnectionContextProtos";
|
||||
option java_generate_equals_and_hash = true;
|
||||
package hadoop.common;
|
||||
|
||||
/**
|
||||
* Spec for UserInformationProto is specified in ProtoUtil#makeIpcConnectionContext
|
||||
|
@ -20,6 +20,7 @@ option java_package = "org.apache.hadoop.ipc.protobuf";
|
||||
option java_outer_classname = "ProtocolInfoProtos";
|
||||
option java_generic_services = true;
|
||||
option java_generate_equals_and_hash = true;
|
||||
package hadoop.common;
|
||||
|
||||
/**
|
||||
* Request to get protocol versions for all supported rpc kinds.
|
||||
|
@ -18,6 +18,7 @@
|
||||
option java_package = "org.apache.hadoop.ipc.protobuf";
|
||||
option java_outer_classname = "RpcPayloadHeaderProtos";
|
||||
option java_generate_equals_and_hash = true;
|
||||
package hadoop.common;
|
||||
|
||||
/**
|
||||
* This is the rpc payload header. It is sent with every rpc call.
|
||||
|
@ -20,6 +20,7 @@ option java_package = "org.apache.hadoop.ha.proto";
|
||||
option java_outer_classname = "ZKFCProtocolProtos";
|
||||
option java_generic_services = true;
|
||||
option java_generate_equals_and_hash = true;
|
||||
package hadoop.common;
|
||||
|
||||
message CedeActiveRequestProto {
|
||||
required uint32 millisToCede = 1;
|
||||
|
@ -23,6 +23,7 @@
|
||||
option java_package = "org.apache.hadoop.ipc.protobuf";
|
||||
option java_outer_classname = "HadoopRpcProtos";
|
||||
option java_generate_equals_and_hash = true;
|
||||
package hadoop.common;
|
||||
|
||||
/**
|
||||
* This message is used for Protobuf Rpc Engine.
|
||||
|
@ -19,6 +19,7 @@
|
||||
option java_package = "org.apache.hadoop.ipc.protobuf";
|
||||
option java_outer_classname = "TestProtos";
|
||||
option java_generate_equals_and_hash = true;
|
||||
package hadoop.common;
|
||||
|
||||
message EmptyRequestProto {
|
||||
}
|
||||
|
@ -19,6 +19,7 @@ option java_package = "org.apache.hadoop.ipc.protobuf";
|
||||
option java_outer_classname = "TestRpcServiceProtos";
|
||||
option java_generic_services = true;
|
||||
option java_generate_equals_and_hash = true;
|
||||
package hadoop.common;
|
||||
|
||||
import "test.proto";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user