Interface ReconfigurationProtocol

All Known Implementing Classes:
ReconfigurationProtocolTranslatorPB

@Private @Evolving public interface ReconfigurationProtocol
ReconfigurationProtocol is used by HDFS admin to reload configuration for NN/DN without restarting them.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final long
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.conf.ReconfigurationTaskStatus
    Get the status of the previously issued reconfig task.
    Get a list of allowed properties for reconfiguration.
    void
    Asynchronously reload configuration on disk and apply changes.
  • Field Details

  • Method Details

    • startReconfiguration

      void startReconfiguration() throws IOException
      Asynchronously reload configuration on disk and apply changes.
      Throws:
      IOException
    • getReconfigurationStatus

      org.apache.hadoop.conf.ReconfigurationTaskStatus getReconfigurationStatus() throws IOException
      Get the status of the previously issued reconfig task.
      Throws:
      IOException
      See Also:
      • ReconfigurationTaskStatus
    • listReconfigurableProperties

      List<String> listReconfigurableProperties() throws IOException
      Get a list of allowed properties for reconfiguration.
      Throws:
      IOException