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, hashCode
completeUpgrade, getVersion
public abstract UpgradeCommand processUpgradeCommand(UpgradeCommand command) throws IOException
command
- IOException
public HdfsConstants.NodeType getType()
Upgradeable
public UpgradeCommand startUpgrade() throws IOException
Upgradeable
IOException
protected FSNamesystem getFSNamesystem()
public void forceProceed() throws IOException
IOException
Copyright © 2009 The Apache Software Foundation