public abstract static class JournalProtocolProtos.JournalProtocolService extends Object implements com.google.protobuf.Service
hadoop.hdfs.JournalProtocolService
Protocol used to journal edits to a remote node. Currently, this is used to publish edits from the NameNode to a BackupNode. See the request and response for details of rpc call.
Modifier and Type | Class and Description |
---|---|
static interface |
JournalProtocolProtos.JournalProtocolService.BlockingInterface |
static interface |
JournalProtocolProtos.JournalProtocolService.Interface |
static class |
JournalProtocolProtos.JournalProtocolService.Stub |
Modifier | Constructor and Description |
---|---|
protected |
JournalProtocolProtos.JournalProtocolService() |
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 |
fence(com.google.protobuf.RpcController controller,
JournalProtocolProtos.FenceRequestProto request,
com.google.protobuf.RpcCallback<JournalProtocolProtos.FenceResponseProto> done)
rpc fence(.hadoop.hdfs.FenceRequestProto) returns (.hadoop.hdfs.FenceResponseProto); |
static com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptorForType() |
com.google.protobuf.Message |
getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
com.google.protobuf.Message |
getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
abstract void |
journal(com.google.protobuf.RpcController controller,
JournalProtocolProtos.JournalRequestProto request,
com.google.protobuf.RpcCallback<JournalProtocolProtos.JournalResponseProto> done)
rpc journal(.hadoop.hdfs.JournalRequestProto) returns (.hadoop.hdfs.JournalResponseProto); |
static JournalProtocolProtos.JournalProtocolService.BlockingInterface |
newBlockingStub(com.google.protobuf.BlockingRpcChannel channel) |
static com.google.protobuf.BlockingService |
newReflectiveBlockingService(JournalProtocolProtos.JournalProtocolService.BlockingInterface impl) |
static com.google.protobuf.Service |
newReflectiveService(JournalProtocolProtos.JournalProtocolService.Interface impl) |
static JournalProtocolProtos.JournalProtocolService.Stub |
newStub(com.google.protobuf.RpcChannel channel) |
abstract void |
startLogSegment(com.google.protobuf.RpcController controller,
JournalProtocolProtos.StartLogSegmentRequestProto request,
com.google.protobuf.RpcCallback<JournalProtocolProtos.StartLogSegmentResponseProto> done)
rpc startLogSegment(.hadoop.hdfs.StartLogSegmentRequestProto) returns (.hadoop.hdfs.StartLogSegmentResponseProto); |
protected JournalProtocolProtos.JournalProtocolService()
public static com.google.protobuf.Service newReflectiveService(JournalProtocolProtos.JournalProtocolService.Interface impl)
public static com.google.protobuf.BlockingService newReflectiveBlockingService(JournalProtocolProtos.JournalProtocolService.BlockingInterface impl)
public abstract void journal(com.google.protobuf.RpcController controller, JournalProtocolProtos.JournalRequestProto request, com.google.protobuf.RpcCallback<JournalProtocolProtos.JournalResponseProto> done)
rpc journal(.hadoop.hdfs.JournalRequestProto) returns (.hadoop.hdfs.JournalResponseProto);
Request sent by active namenode to backup node via EditLogBackupOutputStream to stream editlog records.
public abstract void startLogSegment(com.google.protobuf.RpcController controller, JournalProtocolProtos.StartLogSegmentRequestProto request, com.google.protobuf.RpcCallback<JournalProtocolProtos.StartLogSegmentResponseProto> done)
rpc startLogSegment(.hadoop.hdfs.StartLogSegmentRequestProto) returns (.hadoop.hdfs.StartLogSegmentResponseProto);
Request sent by active namenode to backup node to notify that the NameNode has rolled its edit logs and is now writing a new log segment.
public abstract void fence(com.google.protobuf.RpcController controller, JournalProtocolProtos.FenceRequestProto request, com.google.protobuf.RpcCallback<JournalProtocolProtos.FenceResponseProto> done)
rpc fence(.hadoop.hdfs.FenceRequestProto) returns (.hadoop.hdfs.FenceResponseProto);
Request to fence a journal receiver.
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 JournalProtocolProtos.JournalProtocolService.Stub newStub(com.google.protobuf.RpcChannel channel)
public static JournalProtocolProtos.JournalProtocolService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2013 Apache Software Foundation. All rights reserved.