public abstract class UpgradeObjectNamenode extends UpgradeObject
status| 构造器和说明 |
|---|
UpgradeObjectNamenode() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
forceProceed() |
protected FSNamesystem |
getFSNamesystem() |
HdfsConstants.NodeType |
getType()
Get the type of the software component, which this object is upgrading.
|
abstract UpgradeCommand |
processUpgradeCommand(UpgradeCommand command)
Process an upgrade command.
|
UpgradeCommand |
startUpgrade()
Prepare for the upgrade.
|
compareTo, equals, getDescription, getUpgradeStatus, getUpgradeStatusReport, hashCodecompleteUpgrade, getVersionpublic abstract UpgradeCommand processUpgradeCommand(UpgradeCommand command) throws IOException
command - IOExceptionpublic HdfsConstants.NodeType getType()
Upgradeablepublic UpgradeCommand startUpgrade() throws IOException
UpgradeableIOExceptionprotected FSNamesystem getFSNamesystem()
public void forceProceed()
throws IOException
IOExceptionCopyright © 2009 The Apache Software Foundation