org.apache.hadoop.hdfs.server.common
Class UpgradeObjectCollection
java.lang.Object
org.apache.hadoop.hdfs.server.common.UpgradeObjectCollection
@InterfaceAudience.Private
public class UpgradeObjectCollection
- extends Object
Collection of upgrade objects.
Upgrade objects should be registered here before they can be used.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpgradeObjectCollection
public UpgradeObjectCollection()
getDistributedUpgrades
public static SortedSet<Upgradeable> getDistributedUpgrades(int versionFrom,
HdfsConstants.NodeType type)
throws IOException
- Throws:
IOException
Copyright © 2009 The Apache Software Foundation