HDFS-4121. Merging change r1402836 from trunk.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1402841 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
58c43cc8cb
commit
35e59f0475
|
@ -83,6 +83,9 @@ Release 2.0.3-alpha - Unreleased
|
||||||
method for casting; avoiding creation of new empty lists; cleaning up
|
method for casting; avoiding creation of new empty lists; cleaning up
|
||||||
some code and rewriting some javadoc. (szetszwo)
|
some code and rewriting some javadoc. (szetszwo)
|
||||||
|
|
||||||
|
HDFS-4121. Add namespace declarations in hdfs .proto files for languages
|
||||||
|
other than java. (Binglin Chang via suresh)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -23,6 +23,7 @@ option java_package = "org.apache.hadoop.hdfs.protocol.proto";
|
||||||
option java_outer_classname = "ClientDatanodeProtocolProtos";
|
option java_outer_classname = "ClientDatanodeProtocolProtos";
|
||||||
option java_generic_services = true;
|
option java_generic_services = true;
|
||||||
option java_generate_equals_and_hash = true;
|
option java_generate_equals_and_hash = true;
|
||||||
|
package hadoop.hdfs;
|
||||||
|
|
||||||
import "hdfs.proto";
|
import "hdfs.proto";
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@ option java_package = "org.apache.hadoop.hdfs.protocol.proto";
|
||||||
option java_outer_classname = "ClientNamenodeProtocolProtos";
|
option java_outer_classname = "ClientNamenodeProtocolProtos";
|
||||||
option java_generic_services = true;
|
option java_generic_services = true;
|
||||||
option java_generate_equals_and_hash = true;
|
option java_generate_equals_and_hash = true;
|
||||||
|
package hadoop.hdfs;
|
||||||
|
|
||||||
import "hdfs.proto";
|
import "hdfs.proto";
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@ option java_package = "org.apache.hadoop.hdfs.protocol.proto";
|
||||||
option java_outer_classname = "DatanodeProtocolProtos";
|
option java_outer_classname = "DatanodeProtocolProtos";
|
||||||
option java_generic_services = true;
|
option java_generic_services = true;
|
||||||
option java_generate_equals_and_hash = true;
|
option java_generate_equals_and_hash = true;
|
||||||
|
package hadoop.hdfs;
|
||||||
|
|
||||||
import "hdfs.proto";
|
import "hdfs.proto";
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@ option java_package = "org.apache.hadoop.hdfs.protocol.proto";
|
||||||
option java_outer_classname = "GetUserMappingsProtocolProtos";
|
option java_outer_classname = "GetUserMappingsProtocolProtos";
|
||||||
option java_generic_services = true;
|
option java_generic_services = true;
|
||||||
option java_generate_equals_and_hash = true;
|
option java_generate_equals_and_hash = true;
|
||||||
|
package hadoop.hdfs;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get groups for user request.
|
* Get groups for user request.
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
*/
|
*/
|
||||||
option java_package = "org.apache.hadoop.hdfs.server.namenode.ha.proto";
|
option java_package = "org.apache.hadoop.hdfs.server.namenode.ha.proto";
|
||||||
option java_outer_classname = "HAZKInfoProtos";
|
option java_outer_classname = "HAZKInfoProtos";
|
||||||
|
package hadoop.hdfs;
|
||||||
|
|
||||||
message ActiveNodeInfo {
|
message ActiveNodeInfo {
|
||||||
required string nameserviceId = 1;
|
required string nameserviceId = 1;
|
||||||
|
|
|
@ -23,6 +23,7 @@ option java_package = "org.apache.hadoop.hdfs.protocol.proto";
|
||||||
option java_outer_classname = "InterDatanodeProtocolProtos";
|
option java_outer_classname = "InterDatanodeProtocolProtos";
|
||||||
option java_generic_services = true;
|
option java_generic_services = true;
|
||||||
option java_generate_equals_and_hash = true;
|
option java_generate_equals_and_hash = true;
|
||||||
|
package hadoop.hdfs;
|
||||||
|
|
||||||
import "hdfs.proto";
|
import "hdfs.proto";
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@ option java_package = "org.apache.hadoop.hdfs.protocol.proto";
|
||||||
option java_outer_classname = "JournalProtocolProtos";
|
option java_outer_classname = "JournalProtocolProtos";
|
||||||
option java_generic_services = true;
|
option java_generic_services = true;
|
||||||
option java_generate_equals_and_hash = true;
|
option java_generate_equals_and_hash = true;
|
||||||
|
package hadoop.hdfs;
|
||||||
|
|
||||||
import "hdfs.proto";
|
import "hdfs.proto";
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@ option java_package = "org.apache.hadoop.hdfs.protocol.proto";
|
||||||
option java_outer_classname = "NamenodeProtocolProtos";
|
option java_outer_classname = "NamenodeProtocolProtos";
|
||||||
option java_generic_services = true;
|
option java_generic_services = true;
|
||||||
option java_generate_equals_and_hash = true;
|
option java_generate_equals_and_hash = true;
|
||||||
|
package hadoop.hdfs;
|
||||||
|
|
||||||
import "hdfs.proto";
|
import "hdfs.proto";
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@ option java_package = "org.apache.hadoop.hdfs.protocol.proto";
|
||||||
option java_outer_classname = "RefreshAuthorizationPolicyProtocolProtos";
|
option java_outer_classname = "RefreshAuthorizationPolicyProtocolProtos";
|
||||||
option java_generic_services = true;
|
option java_generic_services = true;
|
||||||
option java_generate_equals_and_hash = true;
|
option java_generate_equals_and_hash = true;
|
||||||
|
package hadoop.hdfs;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Refresh service acl request.
|
* Refresh service acl request.
|
||||||
|
|
|
@ -20,6 +20,7 @@ option java_package = "org.apache.hadoop.hdfs.protocol.proto";
|
||||||
option java_outer_classname = "RefreshUserMappingsProtocolProtos";
|
option java_outer_classname = "RefreshUserMappingsProtocolProtos";
|
||||||
option java_generic_services = true;
|
option java_generic_services = true;
|
||||||
option java_generate_equals_and_hash = true;
|
option java_generate_equals_and_hash = true;
|
||||||
|
package hadoop.hdfs;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Refresh user to group mappings request.
|
* Refresh user to group mappings request.
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
option java_package = "org.apache.hadoop.hdfs.protocol.proto";
|
option java_package = "org.apache.hadoop.hdfs.protocol.proto";
|
||||||
option java_outer_classname = "DataTransferProtos";
|
option java_outer_classname = "DataTransferProtos";
|
||||||
option java_generate_equals_and_hash = true;
|
option java_generate_equals_and_hash = true;
|
||||||
|
package hadoop.hdfs;
|
||||||
|
|
||||||
import "hdfs.proto";
|
import "hdfs.proto";
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
option java_package = "org.apache.hadoop.hdfs.protocol.proto";
|
option java_package = "org.apache.hadoop.hdfs.protocol.proto";
|
||||||
option java_outer_classname = "HdfsProtos";
|
option java_outer_classname = "HdfsProtos";
|
||||||
option java_generate_equals_and_hash = true;
|
option java_generate_equals_and_hash = true;
|
||||||
|
package hadoop.hdfs;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Extended block idenfies a block
|
* Extended block idenfies a block
|
||||||
|
|
Loading…
Reference in New Issue