public static interface ClientDatanodeProtocolProtos.ClientDatanodeProtocolService.Interface
Modifier and Type | Method and Description |
---|---|
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); |
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); |
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); |
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); |
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); |
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
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.
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.
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.
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.
Copyright © 2013 Apache Software Foundation. All rights reserved.