Class ReconfigurationProtocolServerSideTranslatorPB
java.lang.Object
org.apache.hadoop.hdfs.protocolPB.ReconfigurationProtocolServerSideTranslatorPB
- All Implemented Interfaces:
org.apache.hadoop.hdfs.protocol.proto.ReconfigurationProtocolProtos.ReconfigurationProtocolService.BlockingInterface,org.apache.hadoop.hdfs.protocolPB.ReconfigurationProtocolPB
public class ReconfigurationProtocolServerSideTranslatorPB
extends Object
implements org.apache.hadoop.hdfs.protocolPB.ReconfigurationProtocolPB
This class is used on the server side. Calls come across the wire for the
for protocol
ReconfigurationProtocolPB.
This class translates the PB data types
to the native data types used inside the NN/DN as specified in the generic
ReconfigurationProtocol.-
Constructor Summary
ConstructorsConstructorDescriptionReconfigurationProtocolServerSideTranslatorPB(org.apache.hadoop.hdfs.protocol.ReconfigurationProtocol impl) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hdfs.protocol.proto.ReconfigurationProtocolProtos.GetReconfigurationStatusResponseProtogetReconfigurationStatus(org.apache.hadoop.thirdparty.protobuf.RpcController unused, org.apache.hadoop.hdfs.protocol.proto.ReconfigurationProtocolProtos.GetReconfigurationStatusRequestProto request) org.apache.hadoop.hdfs.protocol.proto.ReconfigurationProtocolProtos.ListReconfigurablePropertiesResponseProtolistReconfigurableProperties(org.apache.hadoop.thirdparty.protobuf.RpcController controller, org.apache.hadoop.hdfs.protocol.proto.ReconfigurationProtocolProtos.ListReconfigurablePropertiesRequestProto request) org.apache.hadoop.hdfs.protocol.proto.ReconfigurationProtocolProtos.StartReconfigurationResponseProtostartReconfiguration(org.apache.hadoop.thirdparty.protobuf.RpcController controller, org.apache.hadoop.hdfs.protocol.proto.ReconfigurationProtocolProtos.StartReconfigurationRequestProto request)
-
Constructor Details
-
ReconfigurationProtocolServerSideTranslatorPB
public ReconfigurationProtocolServerSideTranslatorPB(org.apache.hadoop.hdfs.protocol.ReconfigurationProtocol impl)
-
-
Method Details
-
startReconfiguration
public org.apache.hadoop.hdfs.protocol.proto.ReconfigurationProtocolProtos.StartReconfigurationResponseProto startReconfiguration(org.apache.hadoop.thirdparty.protobuf.RpcController controller, org.apache.hadoop.hdfs.protocol.proto.ReconfigurationProtocolProtos.StartReconfigurationRequestProto request) throws org.apache.hadoop.thirdparty.protobuf.ServiceException - Specified by:
startReconfigurationin interfaceorg.apache.hadoop.hdfs.protocol.proto.ReconfigurationProtocolProtos.ReconfigurationProtocolService.BlockingInterface- Throws:
org.apache.hadoop.thirdparty.protobuf.ServiceException
-
listReconfigurableProperties
public org.apache.hadoop.hdfs.protocol.proto.ReconfigurationProtocolProtos.ListReconfigurablePropertiesResponseProto listReconfigurableProperties(org.apache.hadoop.thirdparty.protobuf.RpcController controller, org.apache.hadoop.hdfs.protocol.proto.ReconfigurationProtocolProtos.ListReconfigurablePropertiesRequestProto request) throws org.apache.hadoop.thirdparty.protobuf.ServiceException - Specified by:
listReconfigurablePropertiesin interfaceorg.apache.hadoop.hdfs.protocol.proto.ReconfigurationProtocolProtos.ReconfigurationProtocolService.BlockingInterface- Throws:
org.apache.hadoop.thirdparty.protobuf.ServiceException
-
getReconfigurationStatus
public org.apache.hadoop.hdfs.protocol.proto.ReconfigurationProtocolProtos.GetReconfigurationStatusResponseProto getReconfigurationStatus(org.apache.hadoop.thirdparty.protobuf.RpcController unused, org.apache.hadoop.hdfs.protocol.proto.ReconfigurationProtocolProtos.GetReconfigurationStatusRequestProto request) throws org.apache.hadoop.thirdparty.protobuf.ServiceException - Specified by:
getReconfigurationStatusin interfaceorg.apache.hadoop.hdfs.protocol.proto.ReconfigurationProtocolProtos.ReconfigurationProtocolService.BlockingInterface- Throws:
org.apache.hadoop.thirdparty.protobuf.ServiceException
-