diff --git a/hadoop-hdds/interface-client/src/main/proto/hdds.proto b/hadoop-hdds/interface-client/src/main/proto/hdds.proto index 2d06b3c2ffb7..02238146a275 100644 --- a/hadoop-hdds/interface-client/src/main/proto/hdds.proto +++ b/hadoop-hdds/interface-client/src/main/proto/hdds.proto @@ -19,7 +19,7 @@ /** * These .proto interfaces are private and unstable. * Please see http://wiki.apache.org/hadoop/Compatibility - * for what changes are allowed for a *unstable* .proto interface. + * for what changes are allowed for an *unstable* .proto interface. */ option java_package = "org.apache.hadoop.hdds.protocol.proto"; @@ -51,7 +51,7 @@ message DatanodeDetailsProto { /** The DatanodeDetailsProto is a basic type that will be shared by many Proto, - to reduce the number of fields transfered by ProtoBuf, only need to extend + to reduce the number of fields transferred by ProtoBuf, only need to extend DatanodeDetailsProto for registering DataNode with SCM and Recon. */ message ExtendedDatanodeDetailsProto { @@ -158,12 +158,12 @@ message NodePool { /** * LifeCycleState for SCM object creation state machine: - * ->Allocated: allocated on SCM but clean has not started creating it yet. + * ->Allocated: allocated on SCM but client has not started creating it yet. * ->Creating: allocated and assigned to client to create but not ack-ed yet. * ->Open: allocated on SCM and created on datanodes and ack-ed by a client. - * ->Close: container closed due to space all used or error? + * ->Close: container closed due to space all used or error. * ->Timeout -> container failed to create on datanodes or ack-ed by client. - * ->Deleting(TBD) -> container will be deleted after timeout + * ->Deleting(TBD) -> container will be deleted after timeout. * 1. ALLOCATE-ed containers on SCM can't serve key/block related operation * until ACK-ed explicitly which changes the state to OPEN. * 2. Only OPEN/CLOSED containers can serve key/block related operation.