Package org.apache.hadoop.hdfs.protocol
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 -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.conf.ReconfigurationTaskStatusGet the status of the previously issued reconfig task.Get a list of allowed properties for reconfiguration.voidAsynchronously reload configuration on disk and apply changes.
-
Field Details
-
VERSIONID
static final long VERSIONID- See Also:
-
-
Method Details
-
startReconfiguration
Asynchronously reload configuration on disk and apply changes.- Throws:
IOException
-
getReconfigurationStatus
Get the status of the previously issued reconfig task.- Throws:
IOException- See Also:
-
ReconfigurationTaskStatus
-
listReconfigurableProperties
Get a list of allowed properties for reconfiguration.- Throws:
IOException
-