org.apache.hadoop.hdfs.protocol.proto

## Interface RouterProtocolProtos.RouterAdminProtocolService.Interface

- All Known Implementing Classes:
    RouterProtocolProtos.RouterAdminProtocolService.Stub
  Enclosing class:
    RouterProtocolProtos.RouterAdminProtocolService

      public static interface RouterProtocolProtos.RouterAdminProtocolService.Interface

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addMountTableEntry(com.google.protobuf.RpcController controller, HdfsServerFederationProtos.AddMountTableEntryRequestProto request, com.google.protobuf.RpcCallback<HdfsServerFederationProtos.AddMountTableEntryResponseProto> done)` `rpc addMountTableEntry(.hadoop.hdfs.AddMountTableEntryRequestProto) returns (.hadoop.hdfs.AddMountTableEntryResponseProto);`
    `void` | `disableNameservice(com.google.protobuf.RpcController controller, HdfsServerFederationProtos.DisableNameserviceRequestProto request, com.google.protobuf.RpcCallback<HdfsServerFederationProtos.DisableNameserviceResponseProto> done)` `rpc disableNameservice(.hadoop.hdfs.DisableNameserviceRequestProto) returns (.hadoop.hdfs.DisableNameserviceResponseProto);`
    `void` | `enableNameservice(com.google.protobuf.RpcController controller, HdfsServerFederationProtos.EnableNameserviceRequestProto request, com.google.protobuf.RpcCallback<HdfsServerFederationProtos.EnableNameserviceResponseProto> done)` `rpc enableNameservice(.hadoop.hdfs.EnableNameserviceRequestProto) returns (.hadoop.hdfs.EnableNameserviceResponseProto);`
    `void` | `enterSafeMode(com.google.protobuf.RpcController controller, HdfsServerFederationProtos.EnterSafeModeRequestProto request, com.google.protobuf.RpcCallback<HdfsServerFederationProtos.EnterSafeModeResponseProto> done)` `rpc enterSafeMode(.hadoop.hdfs.EnterSafeModeRequestProto) returns (.hadoop.hdfs.EnterSafeModeResponseProto);`
    `void` | `getDisabledNameservices(com.google.protobuf.RpcController controller, HdfsServerFederationProtos.GetDisabledNameservicesRequestProto request, com.google.protobuf.RpcCallback<HdfsServerFederationProtos.GetDisabledNameservicesResponseProto> done)` `rpc getDisabledNameservices(.hadoop.hdfs.GetDisabledNameservicesRequestProto) returns (.hadoop.hdfs.GetDisabledNameservicesResponseProto);`
    `void` | `getMountTableEntries(com.google.protobuf.RpcController controller, HdfsServerFederationProtos.GetMountTableEntriesRequestProto request, com.google.protobuf.RpcCallback<HdfsServerFederationProtos.GetMountTableEntriesResponseProto> done)` `rpc getMountTableEntries(.hadoop.hdfs.GetMountTableEntriesRequestProto) returns (.hadoop.hdfs.GetMountTableEntriesResponseProto);`
    `void` | `getSafeMode(com.google.protobuf.RpcController controller, HdfsServerFederationProtos.GetSafeModeRequestProto request, com.google.protobuf.RpcCallback<HdfsServerFederationProtos.GetSafeModeResponseProto> done)` `rpc getSafeMode(.hadoop.hdfs.GetSafeModeRequestProto) returns (.hadoop.hdfs.GetSafeModeResponseProto);`
    `void` | `leaveSafeMode(com.google.protobuf.RpcController controller, HdfsServerFederationProtos.LeaveSafeModeRequestProto request, com.google.protobuf.RpcCallback<HdfsServerFederationProtos.LeaveSafeModeResponseProto> done)` `rpc leaveSafeMode(.hadoop.hdfs.LeaveSafeModeRequestProto) returns (.hadoop.hdfs.LeaveSafeModeResponseProto);`
    `void` | `removeMountTableEntry(com.google.protobuf.RpcController controller, HdfsServerFederationProtos.RemoveMountTableEntryRequestProto request, com.google.protobuf.RpcCallback<HdfsServerFederationProtos.RemoveMountTableEntryResponseProto> done)` `rpc removeMountTableEntry(.hadoop.hdfs.RemoveMountTableEntryRequestProto) returns (.hadoop.hdfs.RemoveMountTableEntryResponseProto);`
    `void` | `updateMountTableEntry(com.google.protobuf.RpcController controller, HdfsServerFederationProtos.UpdateMountTableEntryRequestProto request, com.google.protobuf.RpcCallback<HdfsServerFederationProtos.UpdateMountTableEntryResponseProto> done)` `rpc updateMountTableEntry(.hadoop.hdfs.UpdateMountTableEntryRequestProto) returns (.hadoop.hdfs.UpdateMountTableEntryResponseProto);`

- - ### Method Detail

    - #### addMountTableEntry

          void addMountTableEntry(com.google.protobuf.RpcController controller,
                                  HdfsServerFederationProtos.AddMountTableEntryRequestProto request,
                                  com.google.protobuf.RpcCallback<HdfsServerFederationProtos.AddMountTableEntryResponseProto> done)

      `rpc addMountTableEntry(.hadoop.hdfs.AddMountTableEntryRequestProto) returns (.hadoop.hdfs.AddMountTableEntryResponseProto);`

           Add a mount table entry.

    - #### updateMountTableEntry

          void updateMountTableEntry(com.google.protobuf.RpcController controller,
                                     HdfsServerFederationProtos.UpdateMountTableEntryRequestProto request,
                                     com.google.protobuf.RpcCallback<HdfsServerFederationProtos.UpdateMountTableEntryResponseProto> done)

      `rpc updateMountTableEntry(.hadoop.hdfs.UpdateMountTableEntryRequestProto) returns (.hadoop.hdfs.UpdateMountTableEntryResponseProto);`

           Update an existing mount table entry without copying files.

    - #### removeMountTableEntry

          void removeMountTableEntry(com.google.protobuf.RpcController controller,
                                     HdfsServerFederationProtos.RemoveMountTableEntryRequestProto request,
                                     com.google.protobuf.RpcCallback<HdfsServerFederationProtos.RemoveMountTableEntryResponseProto> done)

      `rpc removeMountTableEntry(.hadoop.hdfs.RemoveMountTableEntryRequestProto) returns (.hadoop.hdfs.RemoveMountTableEntryResponseProto);`

           Remove a mount table entry.

    - #### getMountTableEntries

          void getMountTableEntries(com.google.protobuf.RpcController controller,
                                    HdfsServerFederationProtos.GetMountTableEntriesRequestProto request,
                                    com.google.protobuf.RpcCallback<HdfsServerFederationProtos.GetMountTableEntriesResponseProto> done)

      `rpc getMountTableEntries(.hadoop.hdfs.GetMountTableEntriesRequestProto) returns (.hadoop.hdfs.GetMountTableEntriesResponseProto);`

           Get matching mount entries

    - #### enterSafeMode

          void enterSafeMode(com.google.protobuf.RpcController controller,
                             HdfsServerFederationProtos.EnterSafeModeRequestProto request,
                             com.google.protobuf.RpcCallback<HdfsServerFederationProtos.EnterSafeModeResponseProto> done)

      `rpc enterSafeMode(.hadoop.hdfs.EnterSafeModeRequestProto) returns (.hadoop.hdfs.EnterSafeModeResponseProto);`

           Transform Router state to safe mode state.

    - #### leaveSafeMode

          void leaveSafeMode(com.google.protobuf.RpcController controller,
                             HdfsServerFederationProtos.LeaveSafeModeRequestProto request,
                             com.google.protobuf.RpcCallback<HdfsServerFederationProtos.LeaveSafeModeResponseProto> done)

      `rpc leaveSafeMode(.hadoop.hdfs.LeaveSafeModeRequestProto) returns (.hadoop.hdfs.LeaveSafeModeResponseProto);`

           Transform Router state from safe mode to running state.

    - #### getSafeMode

          void getSafeMode(com.google.protobuf.RpcController controller,
                           HdfsServerFederationProtos.GetSafeModeRequestProto request,
                           com.google.protobuf.RpcCallback<HdfsServerFederationProtos.GetSafeModeResponseProto> done)

      `rpc getSafeMode(.hadoop.hdfs.GetSafeModeRequestProto) returns (.hadoop.hdfs.GetSafeModeResponseProto);`

           Verify if current Router state is safe mode state.

    - #### disableNameservice

          void disableNameservice(com.google.protobuf.RpcController controller,
                                  HdfsServerFederationProtos.DisableNameserviceRequestProto request,
                                  com.google.protobuf.RpcCallback<HdfsServerFederationProtos.DisableNameserviceResponseProto> done)

      `rpc disableNameservice(.hadoop.hdfs.DisableNameserviceRequestProto) returns (.hadoop.hdfs.DisableNameserviceResponseProto);`

           Disable a name service.

    - #### enableNameservice

          void enableNameservice(com.google.protobuf.RpcController controller,
                                 HdfsServerFederationProtos.EnableNameserviceRequestProto request,
                                 com.google.protobuf.RpcCallback<HdfsServerFederationProtos.EnableNameserviceResponseProto> done)

      `rpc enableNameservice(.hadoop.hdfs.EnableNameserviceRequestProto) returns (.hadoop.hdfs.EnableNameserviceResponseProto);`

           Enable a name service.

    - #### getDisabledNameservices

          void getDisabledNameservices(com.google.protobuf.RpcController controller,
                                       HdfsServerFederationProtos.GetDisabledNameservicesRequestProto request,
                                       com.google.protobuf.RpcCallback<HdfsServerFederationProtos.GetDisabledNameservicesResponseProto> done)

      `rpc getDisabledNameservices(.hadoop.hdfs.GetDisabledNameservicesRequestProto) returns (.hadoop.hdfs.GetDisabledNameservicesResponseProto);`

           Get the list of disabled name services.

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.