public abstract static class RouterProtocolProtos.RouterAdminProtocolService extends Object implements org.apache.hadoop.thirdparty.protobuf.Service
hadoop.hdfs.router.RouterAdminProtocolService
Modifier and Type | Class and Description |
---|---|
static interface |
RouterProtocolProtos.RouterAdminProtocolService.BlockingInterface |
static interface |
RouterProtocolProtos.RouterAdminProtocolService.Interface |
static class |
RouterProtocolProtos.RouterAdminProtocolService.Stub |
Modifier | Constructor and Description |
---|---|
protected |
RouterAdminProtocolService() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addMountTableEntry(org.apache.hadoop.thirdparty.protobuf.RpcController controller,
HdfsServerFederationProtos.AddMountTableEntryRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.AddMountTableEntryResponseProto> done)
Add a mount table entry.
|
void |
callMethod(org.apache.hadoop.thirdparty.protobuf.Descriptors.MethodDescriptor method,
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.thirdparty.protobuf.Message request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback<org.apache.hadoop.thirdparty.protobuf.Message> done) |
abstract void |
disableNameservice(org.apache.hadoop.thirdparty.protobuf.RpcController controller,
HdfsServerFederationProtos.DisableNameserviceRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.DisableNameserviceResponseProto> done)
Disable a name service.
|
abstract void |
enableNameservice(org.apache.hadoop.thirdparty.protobuf.RpcController controller,
HdfsServerFederationProtos.EnableNameserviceRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.EnableNameserviceResponseProto> done)
Enable a name service.
|
abstract void |
enterSafeMode(org.apache.hadoop.thirdparty.protobuf.RpcController controller,
HdfsServerFederationProtos.EnterSafeModeRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.EnterSafeModeResponseProto> done)
Transform Router state to safe mode state.
|
static org.apache.hadoop.thirdparty.protobuf.Descriptors.ServiceDescriptor |
getDescriptor() |
org.apache.hadoop.thirdparty.protobuf.Descriptors.ServiceDescriptor |
getDescriptorForType() |
abstract void |
getDestination(org.apache.hadoop.thirdparty.protobuf.RpcController controller,
HdfsServerFederationProtos.GetDestinationRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.GetDestinationResponseProto> done)
Get the destination of a file/directory in the federation.
|
abstract void |
getDisabledNameservices(org.apache.hadoop.thirdparty.protobuf.RpcController controller,
HdfsServerFederationProtos.GetDisabledNameservicesRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.GetDisabledNameservicesResponseProto> done)
Get the list of disabled name services.
|
abstract void |
getMountTableEntries(org.apache.hadoop.thirdparty.protobuf.RpcController controller,
HdfsServerFederationProtos.GetMountTableEntriesRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.GetMountTableEntriesResponseProto> done)
Get matching mount entries
|
org.apache.hadoop.thirdparty.protobuf.Message |
getRequestPrototype(org.apache.hadoop.thirdparty.protobuf.Descriptors.MethodDescriptor method) |
org.apache.hadoop.thirdparty.protobuf.Message |
getResponsePrototype(org.apache.hadoop.thirdparty.protobuf.Descriptors.MethodDescriptor method) |
abstract void |
getSafeMode(org.apache.hadoop.thirdparty.protobuf.RpcController controller,
HdfsServerFederationProtos.GetSafeModeRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.GetSafeModeResponseProto> done)
Verify if current Router state is safe mode state.
|
abstract void |
leaveSafeMode(org.apache.hadoop.thirdparty.protobuf.RpcController controller,
HdfsServerFederationProtos.LeaveSafeModeRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.LeaveSafeModeResponseProto> done)
Transform Router state from safe mode to running state.
|
static RouterProtocolProtos.RouterAdminProtocolService.BlockingInterface |
newBlockingStub(org.apache.hadoop.thirdparty.protobuf.BlockingRpcChannel channel) |
static org.apache.hadoop.thirdparty.protobuf.BlockingService |
newReflectiveBlockingService(RouterProtocolProtos.RouterAdminProtocolService.BlockingInterface impl) |
static org.apache.hadoop.thirdparty.protobuf.Service |
newReflectiveService(RouterProtocolProtos.RouterAdminProtocolService.Interface impl) |
static RouterProtocolProtos.RouterAdminProtocolService.Stub |
newStub(org.apache.hadoop.thirdparty.protobuf.RpcChannel channel) |
abstract void |
refreshMountTableEntries(org.apache.hadoop.thirdparty.protobuf.RpcController controller,
HdfsServerFederationProtos.RefreshMountTableEntriesRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.RefreshMountTableEntriesResponseProto> done)
Refresh mount entries
|
abstract void |
refreshSuperUserGroupsConfiguration(org.apache.hadoop.thirdparty.protobuf.RpcController controller,
HdfsServerFederationProtos.RefreshSuperUserGroupsConfigurationRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.RefreshSuperUserGroupsConfigurationResponseProto> done)
Refresh superuser proxy groups mappings on Router.
|
abstract void |
removeMountTableEntry(org.apache.hadoop.thirdparty.protobuf.RpcController controller,
HdfsServerFederationProtos.RemoveMountTableEntryRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.RemoveMountTableEntryResponseProto> done)
Remove a mount table entry.
|
abstract void |
updateMountTableEntry(org.apache.hadoop.thirdparty.protobuf.RpcController controller,
HdfsServerFederationProtos.UpdateMountTableEntryRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.UpdateMountTableEntryResponseProto> done)
Update an existing mount table entry without copying files.
|
public static org.apache.hadoop.thirdparty.protobuf.Service newReflectiveService(RouterProtocolProtos.RouterAdminProtocolService.Interface impl)
public static org.apache.hadoop.thirdparty.protobuf.BlockingService newReflectiveBlockingService(RouterProtocolProtos.RouterAdminProtocolService.BlockingInterface impl)
public abstract void addMountTableEntry(org.apache.hadoop.thirdparty.protobuf.RpcController controller, HdfsServerFederationProtos.AddMountTableEntryRequestProto request, org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.AddMountTableEntryResponseProto> done)
Add a mount table entry.
rpc addMountTableEntry(.hadoop.hdfs.AddMountTableEntryRequestProto) returns (.hadoop.hdfs.AddMountTableEntryResponseProto);
public abstract void updateMountTableEntry(org.apache.hadoop.thirdparty.protobuf.RpcController controller, HdfsServerFederationProtos.UpdateMountTableEntryRequestProto request, org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.UpdateMountTableEntryResponseProto> done)
Update an existing mount table entry without copying files.
rpc updateMountTableEntry(.hadoop.hdfs.UpdateMountTableEntryRequestProto) returns (.hadoop.hdfs.UpdateMountTableEntryResponseProto);
public abstract void removeMountTableEntry(org.apache.hadoop.thirdparty.protobuf.RpcController controller, HdfsServerFederationProtos.RemoveMountTableEntryRequestProto request, org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.RemoveMountTableEntryResponseProto> done)
Remove a mount table entry.
rpc removeMountTableEntry(.hadoop.hdfs.RemoveMountTableEntryRequestProto) returns (.hadoop.hdfs.RemoveMountTableEntryResponseProto);
public abstract void getMountTableEntries(org.apache.hadoop.thirdparty.protobuf.RpcController controller, HdfsServerFederationProtos.GetMountTableEntriesRequestProto request, org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.GetMountTableEntriesResponseProto> done)
Get matching mount entries
rpc getMountTableEntries(.hadoop.hdfs.GetMountTableEntriesRequestProto) returns (.hadoop.hdfs.GetMountTableEntriesResponseProto);
public abstract void enterSafeMode(org.apache.hadoop.thirdparty.protobuf.RpcController controller, HdfsServerFederationProtos.EnterSafeModeRequestProto request, org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.EnterSafeModeResponseProto> done)
Transform Router state to safe mode state.
rpc enterSafeMode(.hadoop.hdfs.EnterSafeModeRequestProto) returns (.hadoop.hdfs.EnterSafeModeResponseProto);
public abstract void leaveSafeMode(org.apache.hadoop.thirdparty.protobuf.RpcController controller, HdfsServerFederationProtos.LeaveSafeModeRequestProto request, org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.LeaveSafeModeResponseProto> done)
Transform Router state from safe mode to running state.
rpc leaveSafeMode(.hadoop.hdfs.LeaveSafeModeRequestProto) returns (.hadoop.hdfs.LeaveSafeModeResponseProto);
public abstract void getSafeMode(org.apache.hadoop.thirdparty.protobuf.RpcController controller, HdfsServerFederationProtos.GetSafeModeRequestProto request, org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.GetSafeModeResponseProto> done)
Verify if current Router state is safe mode state.
rpc getSafeMode(.hadoop.hdfs.GetSafeModeRequestProto) returns (.hadoop.hdfs.GetSafeModeResponseProto);
public abstract void disableNameservice(org.apache.hadoop.thirdparty.protobuf.RpcController controller, HdfsServerFederationProtos.DisableNameserviceRequestProto request, org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.DisableNameserviceResponseProto> done)
Disable a name service.
rpc disableNameservice(.hadoop.hdfs.DisableNameserviceRequestProto) returns (.hadoop.hdfs.DisableNameserviceResponseProto);
public abstract void enableNameservice(org.apache.hadoop.thirdparty.protobuf.RpcController controller, HdfsServerFederationProtos.EnableNameserviceRequestProto request, org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.EnableNameserviceResponseProto> done)
Enable a name service.
rpc enableNameservice(.hadoop.hdfs.EnableNameserviceRequestProto) returns (.hadoop.hdfs.EnableNameserviceResponseProto);
public abstract void getDisabledNameservices(org.apache.hadoop.thirdparty.protobuf.RpcController controller, HdfsServerFederationProtos.GetDisabledNameservicesRequestProto request, org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.GetDisabledNameservicesResponseProto> done)
Get the list of disabled name services.
rpc getDisabledNameservices(.hadoop.hdfs.GetDisabledNameservicesRequestProto) returns (.hadoop.hdfs.GetDisabledNameservicesResponseProto);
public abstract void refreshMountTableEntries(org.apache.hadoop.thirdparty.protobuf.RpcController controller, HdfsServerFederationProtos.RefreshMountTableEntriesRequestProto request, org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.RefreshMountTableEntriesResponseProto> done)
Refresh mount entries
rpc refreshMountTableEntries(.hadoop.hdfs.RefreshMountTableEntriesRequestProto) returns (.hadoop.hdfs.RefreshMountTableEntriesResponseProto);
public abstract void getDestination(org.apache.hadoop.thirdparty.protobuf.RpcController controller, HdfsServerFederationProtos.GetDestinationRequestProto request, org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.GetDestinationResponseProto> done)
Get the destination of a file/directory in the federation.
rpc getDestination(.hadoop.hdfs.GetDestinationRequestProto) returns (.hadoop.hdfs.GetDestinationResponseProto);
public abstract void refreshSuperUserGroupsConfiguration(org.apache.hadoop.thirdparty.protobuf.RpcController controller, HdfsServerFederationProtos.RefreshSuperUserGroupsConfigurationRequestProto request, org.apache.hadoop.thirdparty.protobuf.RpcCallback<HdfsServerFederationProtos.RefreshSuperUserGroupsConfigurationResponseProto> done)
Refresh superuser proxy groups mappings on Router.
rpc refreshSuperUserGroupsConfiguration(.hadoop.hdfs.RefreshSuperUserGroupsConfigurationRequestProto) returns (.hadoop.hdfs.RefreshSuperUserGroupsConfigurationResponseProto);
public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.ServiceDescriptor getDescriptor()
public final org.apache.hadoop.thirdparty.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
getDescriptorForType
in interface org.apache.hadoop.thirdparty.protobuf.Service
public final void callMethod(org.apache.hadoop.thirdparty.protobuf.Descriptors.MethodDescriptor method, org.apache.hadoop.thirdparty.protobuf.RpcController controller, org.apache.hadoop.thirdparty.protobuf.Message request, org.apache.hadoop.thirdparty.protobuf.RpcCallback<org.apache.hadoop.thirdparty.protobuf.Message> done)
callMethod
in interface org.apache.hadoop.thirdparty.protobuf.Service
public final org.apache.hadoop.thirdparty.protobuf.Message getRequestPrototype(org.apache.hadoop.thirdparty.protobuf.Descriptors.MethodDescriptor method)
getRequestPrototype
in interface org.apache.hadoop.thirdparty.protobuf.Service
public final org.apache.hadoop.thirdparty.protobuf.Message getResponsePrototype(org.apache.hadoop.thirdparty.protobuf.Descriptors.MethodDescriptor method)
getResponsePrototype
in interface org.apache.hadoop.thirdparty.protobuf.Service
public static RouterProtocolProtos.RouterAdminProtocolService.Stub newStub(org.apache.hadoop.thirdparty.protobuf.RpcChannel channel)
public static RouterProtocolProtos.RouterAdminProtocolService.BlockingInterface newBlockingStub(org.apache.hadoop.thirdparty.protobuf.BlockingRpcChannel channel)
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.