org.apache.hadoop.hdfs.server.protocol
Class NamespaceInfo
java.lang.Object
org.apache.hadoop.hdfs.server.common.StorageInfo
org.apache.hadoop.hdfs.server.protocol.NamespaceInfo
- All Implemented Interfaces:
- org.apache.hadoop.io.Writable
@InterfaceAudience.Private
@InterfaceStability.Evolving
public class NamespaceInfo
- extends StorageInfo
NamespaceInfo is returned by the name-node in reply
to a data-node handshake.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NamespaceInfo
public NamespaceInfo()
NamespaceInfo
public NamespaceInfo(int nsID,
long cT,
int duVersion)
getBuildVersion
public String getBuildVersion()
getDistributedUpgradeVersion
public int getDistributedUpgradeVersion()
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Overrides:
write
in class StorageInfo
- Throws:
IOException
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Overrides:
readFields
in class StorageInfo
- Throws:
IOException
Copyright © 2009 The Apache Software Foundation