public abstract static class ClientDatanodeProtocolProtos.ClientDatanodeProtocolService extends Object implements com.google.protobuf.Service
hadoop.hdfs.ClientDatanodeProtocolService
Protocol used from client to the Datanode. See the request and response for details of rpc call.
Modifier and Type | Class and Description |
---|---|
static interface |
ClientDatanodeProtocolProtos.ClientDatanodeProtocolService.BlockingInterface |
static interface |
ClientDatanodeProtocolProtos.ClientDatanodeProtocolService.Interface |
static class |
ClientDatanodeProtocolProtos.ClientDatanodeProtocolService.Stub |
Modifier | Constructor and Description |
---|---|
protected |
ClientDatanodeProtocolProtos.ClientDatanodeProtocolService() |
Modifier and Type | Method and Description |
---|---|
void |
callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done) |
abstract void |
deleteBlockPool(com.google.protobuf.RpcController controller,
ClientDatanodeProtocolProtos.DeleteBlockPoolRequestProto request,
com.google.protobuf.RpcCallback<ClientDatanodeProtocolProtos.DeleteBlockPoolResponseProto> done)
rpc deleteBlockPool(.hadoop.hdfs.DeleteBlockPoolRequestProto) returns (.hadoop.hdfs.DeleteBlockPoolResponseProto); |
abstract void |
getBlockLocalPathInfo(com.google.protobuf.RpcController controller,
ClientDatanodeProtocolProtos.GetBlockLocalPathInfoRequestProto request,
com.google.protobuf.RpcCallback<ClientDatanodeProtocolProtos.GetBlockLocalPathInfoResponseProto> done)
rpc getBlockLocalPathInfo(.hadoop.hdfs.GetBlockLocalPathInfoRequestProto) returns (.hadoop.hdfs.GetBlockLocalPathInfoResponseProto); |
static com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptorForType() |
abstract void |
getHdfsBlockLocations(com.google.protobuf.RpcController controller,
ClientDatanodeProtocolProtos.GetHdfsBlockLocationsRequestProto request,
com.google.protobuf.RpcCallback<ClientDatanodeProtocolProtos.GetHdfsBlockLocationsResponseProto> done)
rpc getHdfsBlockLocations(.hadoop.hdfs.GetHdfsBlockLocationsRequestProto) returns (.hadoop.hdfs.GetHdfsBlockLocationsResponseProto); |
abstract void |
getReplicaVisibleLength(com.google.protobuf.RpcController controller,
ClientDatanodeProtocolProtos.GetReplicaVisibleLengthRequestProto request,
com.google.protobuf.RpcCallback<ClientDatanodeProtocolProtos.GetReplicaVisibleLengthResponseProto> done)
rpc getReplicaVisibleLength(.hadoop.hdfs.GetReplicaVisibleLengthRequestProto) returns (.hadoop.hdfs.GetReplicaVisibleLengthResponseProto); |
com.google.protobuf.Message |
getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
com.google.protobuf.Message |
getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
static ClientDatanodeProtocolProtos.ClientDatanodeProtocolService.BlockingInterface |
newBlockingStub(com.google.protobuf.BlockingRpcChannel channel) |
static com.google.protobuf.BlockingService |
newReflectiveBlockingService(ClientDatanodeProtocolProtos.ClientDatanodeProtocolService.BlockingInterface impl) |
static com.google.protobuf.Service |
newReflectiveService(ClientDatanodeProtocolProtos.ClientDatanodeProtocolService.Interface impl) |
static ClientDatanodeProtocolProtos.ClientDatanodeProtocolService.Stub |
newStub(com.google.protobuf.RpcChannel channel) |
abstract void |
refreshNamenodes(com.google.protobuf.RpcController controller,
ClientDatanodeProtocolProtos.RefreshNamenodesRequestProto request,
com.google.protobuf.RpcCallback<ClientDatanodeProtocolProtos.RefreshNamenodesResponseProto> done)
rpc refreshNamenodes(.hadoop.hdfs.RefreshNamenodesRequestProto) returns (.hadoop.hdfs.RefreshNamenodesResponseProto); |
protected ClientDatanodeProtocolProtos.ClientDatanodeProtocolService()
public static com.google.protobuf.Service newReflectiveService(ClientDatanodeProtocolProtos.ClientDatanodeProtocolService.Interface impl)
public static com.google.protobuf.BlockingService newReflectiveBlockingService(ClientDatanodeProtocolProtos.ClientDatanodeProtocolService.BlockingInterface impl)
public abstract void getReplicaVisibleLength(com.google.protobuf.RpcController controller, ClientDatanodeProtocolProtos.GetReplicaVisibleLengthRequestProto request, com.google.protobuf.RpcCallback<ClientDatanodeProtocolProtos.GetReplicaVisibleLengthResponseProto> done)
rpc getReplicaVisibleLength(.hadoop.hdfs.GetReplicaVisibleLengthRequestProto) returns (.hadoop.hdfs.GetReplicaVisibleLengthResponseProto);
Returns the visible length of the replica
public abstract void refreshNamenodes(com.google.protobuf.RpcController controller, ClientDatanodeProtocolProtos.RefreshNamenodesRequestProto request, com.google.protobuf.RpcCallback<ClientDatanodeProtocolProtos.RefreshNamenodesResponseProto> done)
rpc refreshNamenodes(.hadoop.hdfs.RefreshNamenodesRequestProto) returns (.hadoop.hdfs.RefreshNamenodesResponseProto);
Refresh the list of federated namenodes from updated configuration. Adds new namenodes and stops the deleted namenodes.
public abstract void deleteBlockPool(com.google.protobuf.RpcController controller, ClientDatanodeProtocolProtos.DeleteBlockPoolRequestProto request, com.google.protobuf.RpcCallback<ClientDatanodeProtocolProtos.DeleteBlockPoolResponseProto> done)
rpc deleteBlockPool(.hadoop.hdfs.DeleteBlockPoolRequestProto) returns (.hadoop.hdfs.DeleteBlockPoolResponseProto);
Delete the block pool from the datanode.
public abstract void getBlockLocalPathInfo(com.google.protobuf.RpcController controller, ClientDatanodeProtocolProtos.GetBlockLocalPathInfoRequestProto request, com.google.protobuf.RpcCallback<ClientDatanodeProtocolProtos.GetBlockLocalPathInfoResponseProto> done)
rpc getBlockLocalPathInfo(.hadoop.hdfs.GetBlockLocalPathInfoRequestProto) returns (.hadoop.hdfs.GetBlockLocalPathInfoResponseProto);
Retrieves the path names of the block file and metadata file stored on the local file system.
public abstract void getHdfsBlockLocations(com.google.protobuf.RpcController controller, ClientDatanodeProtocolProtos.GetHdfsBlockLocationsRequestProto request, com.google.protobuf.RpcCallback<ClientDatanodeProtocolProtos.GetHdfsBlockLocationsResponseProto> done)
rpc getHdfsBlockLocations(.hadoop.hdfs.GetHdfsBlockLocationsRequestProto) returns (.hadoop.hdfs.GetHdfsBlockLocationsResponseProto);
Retrieve additional HDFS-specific metadata about a set of blocks stored on the local file system.
public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Service
public final void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.RpcController controller, com.google.protobuf.Message request, com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)
callMethod
in interface com.google.protobuf.Service
public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getRequestPrototype
in interface com.google.protobuf.Service
public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getResponsePrototype
in interface com.google.protobuf.Service
public static ClientDatanodeProtocolProtos.ClientDatanodeProtocolService.Stub newStub(com.google.protobuf.RpcChannel channel)
public static ClientDatanodeProtocolProtos.ClientDatanodeProtocolService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2013 Apache Software Foundation. All rights reserved.