public abstract class UpgradeObjectDatanode extends UpgradeObject implements Runnable
status
构造器和说明 |
---|
UpgradeObjectDatanode() |
限定符和类型 | 方法和说明 |
---|---|
UpgradeCommand |
completeUpgrade()
Complete upgrade and return a status complete command for broadcasting.
|
abstract void |
doUpgrade()
Specifies how the upgrade is performed.
|
protected DataNode |
getDatanode() |
HdfsConstants.NodeType |
getType()
Get the type of the software component, which this object is upgrading.
|
void |
run() |
compareTo, equals, getDescription, getUpgradeStatus, getUpgradeStatusReport, hashCode
getVersion, startUpgrade
public HdfsConstants.NodeType getType()
Upgradeable
getType
在接口中 Upgradeable
protected DataNode getDatanode()
public abstract void doUpgrade() throws IOException
IOException
public UpgradeCommand completeUpgrade() throws IOException
completeUpgrade
在接口中 Upgradeable
IOException
Copyright © 2009 The Apache Software Foundation