HDFS-2650. Replace @inheritDoc with @Override. Contributed by Hari Mankude.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1213813 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4ec8424e5d
commit
f2f4e93413
|
@ -92,8 +92,8 @@ Trunk (unreleased changes)
|
|||
(suresh)
|
||||
|
||||
HADOOP-7862 Hdfs changes to work with HADOOP 7862:
|
||||
Move the support for multiple protocols to lower layer so that Writable,
|
||||
PB and Avro can all use it (Sanjay)
|
||||
Move the support for multiple protocols to lower layer so that Writable,
|
||||
PB and Avro can all use it (Sanjay)
|
||||
|
||||
HDFS-1580. Add interface for generic Write Ahead Logging mechanisms.
|
||||
(Ivan Kelly via jitendra)
|
||||
|
@ -104,16 +104,17 @@ Trunk (unreleased changes)
|
|||
|
||||
HDFS-2651 ClientNameNodeProtocol Translators for Protocol Buffers (sanjay)
|
||||
|
||||
HDFS-2650. Replace @inheritDoc with @Override. (Hari Mankude via suresh).
|
||||
|
||||
OPTIMIZATIONS
|
||||
HDFS-2477. Optimize computing the diff between a block report and the
|
||||
namenode state. (Tomasz Nykiel via hairong)
|
||||
namenode state. (Tomasz Nykiel via hairong)
|
||||
|
||||
HDFS-2495. Increase granularity of write operations in ReplicationMonitor
|
||||
thus reducing contention for write lock. (Tomasz Nykiel via hairong)
|
||||
|
||||
HDFS-2476. More CPU efficient data structure for under-replicated,
|
||||
over-replicated, and invalidated blocks.
|
||||
(Tomasz Nykiel via todd)
|
||||
over-replicated, and invalidated blocks. (Tomasz Nykiel via todd)
|
||||
|
||||
BUG FIXES
|
||||
HDFS-2299. TestOfflineEditsViewer is failing on trunk. (Uma Maheswara Rao G
|
||||
|
@ -136,7 +137,7 @@ Trunk (unreleased changes)
|
|||
info on the console with security enabled. (Arpit Gupta via suresh)
|
||||
|
||||
HDFS-2349. Corruption detected during block transfers between DNs
|
||||
should log a WARN instead of INFO. (harsh)
|
||||
should log a WARN instead of INFO. (harsh)
|
||||
|
||||
HDFS-2188. Make FSEditLog create its journals from a list of URIs rather
|
||||
than NNStorage. (Ivan Kelly via jitendra)
|
||||
|
@ -147,10 +148,10 @@ Trunk (unreleased changes)
|
|||
HDFS-2497 Fix TestBackupNode failure. (suresh)
|
||||
|
||||
HDFS-2526. (Client)NamenodeProtocolTranslatorR23 do not need to keep a
|
||||
reference to rpcProxyWithoutRetry (atm)
|
||||
reference to rpcProxyWithoutRetry (atm)
|
||||
|
||||
HDFS-2532. TestDfsOverAvroRpc timing out in trunk (Uma Maheswara Rao G
|
||||
via todd)
|
||||
via todd)
|
||||
|
||||
HDFS-2606. webhdfs client filesystem impl must set the content-type
|
||||
header for create/append. (tucu)
|
||||
|
|
|
@ -81,17 +81,13 @@ public class CorruptFileBlockIterator implements RemoteIterator<Path> {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
|
||||
@Override
|
||||
public boolean hasNext() {
|
||||
return nextPath != null;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
|
||||
@Override
|
||||
public Path next() throws IOException {
|
||||
if (!hasNext()) {
|
||||
|
|
|
@ -1689,8 +1689,7 @@ public class DFSClient implements java.io.Closeable {
|
|||
}
|
||||
}
|
||||
|
||||
boolean shouldTryShortCircuitRead(InetSocketAddress targetAddr)
|
||||
throws IOException {
|
||||
boolean shouldTryShortCircuitRead(InetSocketAddress targetAddr) {
|
||||
if (shortCircuitLocalReads && isLocalAddress(targetAddr)) {
|
||||
return true;
|
||||
}
|
||||
|
@ -1713,7 +1712,7 @@ public class DFSClient implements java.io.Closeable {
|
|||
}
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public String toString() {
|
||||
return getClass().getSimpleName() + "[clientName=" + clientName
|
||||
+ ", ugi=" + ugi + "]";
|
||||
|
|
|
@ -180,7 +180,7 @@ public class DistributedFileSystem extends FileSystem {
|
|||
workingDir = makeAbsolute(dir);
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
|
||||
@Override
|
||||
public Path getHomeDirectory() {
|
||||
return makeQualified(new Path("/user/" + dfs.ugi.getShortUserName()));
|
||||
|
@ -307,7 +307,7 @@ public class DistributedFileSystem extends FileSystem {
|
|||
dfs.concat(getPathName(trg), srcs);
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
@Override
|
||||
public boolean rename(Path src, Path dst) throws IOException {
|
||||
|
@ -316,7 +316,6 @@ public class DistributedFileSystem extends FileSystem {
|
|||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* This rename operation is guaranteed to be atomic.
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
|
@ -332,7 +331,6 @@ public class DistributedFileSystem extends FileSystem {
|
|||
return dfs.delete(getPathName(f), recursive);
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public ContentSummary getContentSummary(Path f) throws IOException {
|
||||
statistics.incrementReadOps(1);
|
||||
|
@ -513,7 +511,7 @@ public class DistributedFileSystem extends FileSystem {
|
|||
return dfs.primitiveMkdir(getPathName(f), absolutePermission);
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
|
||||
@Override
|
||||
public void close() throws IOException {
|
||||
try {
|
||||
|
@ -553,7 +551,6 @@ public class DistributedFileSystem extends FileSystem {
|
|||
}
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public FsStatus getStatus(Path p) throws IOException {
|
||||
statistics.incrementReadOps(1);
|
||||
|
@ -615,9 +612,6 @@ public class DistributedFileSystem extends FileSystem {
|
|||
return dfs.getCorruptBlocksCount();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public RemoteIterator<Path> listCorruptFileBlocks(Path path)
|
||||
throws IOException {
|
||||
|
@ -695,7 +689,6 @@ public class DistributedFileSystem extends FileSystem {
|
|||
dfs.metaSave(pathname);
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public FsServerDefaults getServerDefaults() throws IOException {
|
||||
return dfs.getServerDefaults();
|
||||
|
@ -766,14 +759,12 @@ public class DistributedFileSystem extends FileSystem {
|
|||
}
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public MD5MD5CRC32FileChecksum getFileChecksum(Path f) throws IOException {
|
||||
statistics.incrementReadOps(1);
|
||||
return dfs.getFileChecksum(getPathName(f));
|
||||
}
|
||||
|
||||
/** {@inheritDoc }*/
|
||||
@Override
|
||||
public void setPermission(Path p, FsPermission permission
|
||||
) throws IOException {
|
||||
|
@ -781,7 +772,6 @@ public class DistributedFileSystem extends FileSystem {
|
|||
dfs.setPermission(getPathName(p), permission);
|
||||
}
|
||||
|
||||
/** {@inheritDoc }*/
|
||||
@Override
|
||||
public void setOwner(Path p, String username, String groupname
|
||||
) throws IOException {
|
||||
|
@ -792,7 +782,6 @@ public class DistributedFileSystem extends FileSystem {
|
|||
dfs.setOwner(getPathName(p), username, groupname);
|
||||
}
|
||||
|
||||
/** {@inheritDoc }*/
|
||||
@Override
|
||||
public void setTimes(Path p, long mtime, long atime
|
||||
) throws IOException {
|
||||
|
|
|
@ -529,7 +529,7 @@ public class HftpFileSystem extends FileSystem
|
|||
private class ChecksumParser extends DefaultHandler {
|
||||
private FileChecksum filechecksum;
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public void startElement(String ns, String localname, String qname,
|
||||
Attributes attrs) throws SAXException {
|
||||
if (!MD5MD5CRC32FileChecksum.class.getName().equals(qname)) {
|
||||
|
@ -563,7 +563,7 @@ public class HftpFileSystem extends FileSystem
|
|||
}
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public FileChecksum getFileChecksum(Path f) throws IOException {
|
||||
final String s = makeQualified(f).toUri().getPath();
|
||||
return new ChecksumParser().getFileChecksum(s);
|
||||
|
@ -611,7 +611,7 @@ public class HftpFileSystem extends FileSystem
|
|||
private class ContentSummaryParser extends DefaultHandler {
|
||||
private ContentSummary contentsummary;
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public void startElement(String ns, String localname, String qname,
|
||||
Attributes attrs) throws SAXException {
|
||||
if (!ContentSummary.class.getName().equals(qname)) {
|
||||
|
@ -697,7 +697,7 @@ public class HftpFileSystem extends FileSystem
|
|||
}
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public ContentSummary getContentSummary(Path f) throws IOException {
|
||||
final String s = makeQualified(f).toUri().getPath();
|
||||
final ContentSummary cs = new ContentSummaryParser().getContentSummary(s);
|
||||
|
|
|
@ -53,9 +53,7 @@ public class CorruptFileBlocks implements Writable {
|
|||
return cookie;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
|
||||
@Override
|
||||
public void readFields(DataInput in) throws IOException {
|
||||
int fileCount = in.readInt();
|
||||
|
@ -66,9 +64,7 @@ public class CorruptFileBlocks implements Writable {
|
|||
cookie = Text.readString(in);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
|
||||
@Override
|
||||
public void write(DataOutput out) throws IOException {
|
||||
out.writeInt(files.length);
|
||||
|
@ -78,9 +74,8 @@ public class CorruptFileBlocks implements Writable {
|
|||
Text.writeString(out, cookie);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj) {
|
||||
return true;
|
||||
|
@ -93,9 +88,8 @@ public class CorruptFileBlocks implements Writable {
|
|||
Arrays.equals(files, other.files);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
int result = cookie.hashCode();
|
||||
|
||||
|
|
|
@ -185,14 +185,14 @@ public class DatanodeID implements WritableComparable<DatanodeID> {
|
|||
/////////////////////////////////////////////////
|
||||
// Writable
|
||||
/////////////////////////////////////////////////
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public void write(DataOutput out) throws IOException {
|
||||
DeprecatedUTF8.writeString(out, name);
|
||||
DeprecatedUTF8.writeString(out, storageID);
|
||||
out.writeShort(infoPort);
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public void readFields(DataInput in) throws IOException {
|
||||
name = DeprecatedUTF8.readString(in);
|
||||
storageID = DeprecatedUTF8.readString(in);
|
||||
|
|
|
@ -382,7 +382,7 @@ public class DatanodeInfo extends DatanodeID implements Node {
|
|||
});
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public void write(DataOutput out) throws IOException {
|
||||
super.write(out);
|
||||
|
||||
|
@ -400,7 +400,7 @@ public class DatanodeInfo extends DatanodeID implements Node {
|
|||
WritableUtils.writeEnum(out, getAdminState());
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public void readFields(DataInput in) throws IOException {
|
||||
super.readFields(in);
|
||||
|
||||
|
|
|
@ -159,7 +159,7 @@ public class LocatedBlock implements Writable {
|
|||
return lb;
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public String toString() {
|
||||
return getClass().getSimpleName() + "{" + b
|
||||
+ "; getBlockSize()=" + getBlockSize()
|
||||
|
|
|
@ -225,7 +225,6 @@ public class LocatedBlocks implements Writable {
|
|||
}
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public String toString() {
|
||||
final StringBuilder b = new StringBuilder(getClass().getSimpleName());
|
||||
|
|
|
@ -112,7 +112,6 @@ public class BlockInfoUnderConstruction extends BlockInfo {
|
|||
return (this == obj) || super.equals(obj);
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public String toString() {
|
||||
final StringBuilder b = new StringBuilder(getClass().getSimpleName());
|
||||
|
@ -271,7 +270,6 @@ public class BlockInfoUnderConstruction extends BlockInfo {
|
|||
return (this == obj) || super.equals(obj);
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public String toString() {
|
||||
final StringBuilder b = new StringBuilder(super.toString());
|
||||
|
|
|
@ -63,7 +63,7 @@ public class BlockPlacementPolicyDefault extends BlockPlacementPolicy {
|
|||
BlockPlacementPolicyDefault() {
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public void initialize(Configuration conf, FSClusterStats stats,
|
||||
NetworkTopology clusterMap) {
|
||||
this.considerLoad = conf.getBoolean(DFSConfigKeys.DFS_NAMENODE_REPLICATION_CONSIDERLOAD_KEY, true);
|
||||
|
@ -79,7 +79,7 @@ public class BlockPlacementPolicyDefault extends BlockPlacementPolicy {
|
|||
}
|
||||
};
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public DatanodeDescriptor[] chooseTarget(String srcPath,
|
||||
int numOfReplicas,
|
||||
DatanodeDescriptor writer,
|
||||
|
@ -89,7 +89,6 @@ public class BlockPlacementPolicyDefault extends BlockPlacementPolicy {
|
|||
null, blocksize);
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public DatanodeDescriptor[] chooseTarget(String srcPath,
|
||||
int numOfReplicas,
|
||||
|
@ -525,7 +524,7 @@ public class BlockPlacementPolicyDefault extends BlockPlacementPolicy {
|
|||
return nodes;
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public int verifyBlockPlacement(String srcPath,
|
||||
LocatedBlock lBlk,
|
||||
int minRacks) {
|
||||
|
@ -544,7 +543,7 @@ public class BlockPlacementPolicyDefault extends BlockPlacementPolicy {
|
|||
return minRacks - racks.size();
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public DatanodeDescriptor chooseReplicaToDelete(FSInodeInfo inode,
|
||||
Block block,
|
||||
short replicationFactor,
|
||||
|
|
|
@ -1888,7 +1888,7 @@ public class DataNode extends Configured
|
|||
return new ExtendedBlock(oldBlock.getBlockPoolId(), r);
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public long getProtocolVersion(String protocol, long clientVersion
|
||||
) throws IOException {
|
||||
if (protocol.equals(InterDatanodeProtocol.class.getName())) {
|
||||
|
@ -1921,7 +1921,7 @@ public class DataNode extends Configured
|
|||
this.rInfo = rInfo;
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public String toString() {
|
||||
return "block:" + rInfo + " node:" + id;
|
||||
}
|
||||
|
@ -2105,7 +2105,6 @@ public class DataNode extends Configured
|
|||
}
|
||||
|
||||
// ClientDataNodeProtocol implementation
|
||||
/** {@inheritDoc} */
|
||||
@Override // ClientDataNodeProtocol
|
||||
public long getReplicaVisibleLength(final ExtendedBlock block) throws IOException {
|
||||
checkWriteAccess(block);
|
||||
|
|
|
@ -193,7 +193,7 @@ public interface FSDatasetInterface extends FSDatasetMBean {
|
|||
this.checksumIn = checksumIn;
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public void close() {
|
||||
IOUtils.closeStream(dataIn);
|
||||
IOUtils.closeStream(checksumIn);
|
||||
|
|
|
@ -40,7 +40,7 @@ public class ContentSummaryServlet extends DfsServlet {
|
|||
/** For java.io.Serializable */
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public void doGet(final HttpServletRequest request,
|
||||
final HttpServletResponse response) throws ServletException, IOException {
|
||||
final Configuration conf =
|
||||
|
|
|
@ -71,7 +71,6 @@ class EditLogFileOutputStream extends EditLogOutputStream {
|
|||
fc.position(fc.size());
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public void write(FSEditLogOp op) throws IOException {
|
||||
doubleBuf.writeOp(op);
|
||||
|
|
|
@ -80,7 +80,7 @@ public class FileChecksumServlets {
|
|||
dtParam + addrParam);
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public void doGet(HttpServletRequest request, HttpServletResponse response
|
||||
) throws ServletException, IOException {
|
||||
final ServletContext context = getServletContext();
|
||||
|
@ -104,7 +104,7 @@ public class FileChecksumServlets {
|
|||
/** For java.io.Serializable */
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public void doGet(HttpServletRequest request, HttpServletResponse response
|
||||
) throws ServletException, IOException {
|
||||
final PrintWriter out = response.getWriter();
|
||||
|
|
|
@ -261,13 +261,13 @@ public abstract class INode implements Comparable<byte[]>, FSInodeInfo {
|
|||
this.name = name;
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public String getFullPathName() {
|
||||
// Get the full path name of this inode.
|
||||
return FSDirectory.getFullPathName(this);
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public String toString() {
|
||||
return "\"" + getFullPathName() + "\":"
|
||||
+ getUserName() + ":" + getGroupName() + ":"
|
||||
|
|
|
@ -372,7 +372,7 @@ class INodeDirectory extends INode {
|
|||
return parent;
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
DirCounts spaceConsumedInTree(DirCounts counts) {
|
||||
counts.nsCount += 1;
|
||||
if (children != null) {
|
||||
|
@ -383,7 +383,7 @@ class INodeDirectory extends INode {
|
|||
return counts;
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
long[] computeContentSummary(long[] summary) {
|
||||
// Walk through the children of this node, using a new summary array
|
||||
// for the (sub)tree rooted at this node
|
||||
|
|
|
@ -168,7 +168,7 @@ public class INodeFile extends INode {
|
|||
return 1;
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
long[] computeContentSummary(long[] summary) {
|
||||
summary[0] += computeFileSize(true);
|
||||
summary[1]++;
|
||||
|
|
|
@ -245,13 +245,13 @@ public class LeaseManager {
|
|||
return paths.remove(src);
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public String toString() {
|
||||
return "[Lease. Holder: " + holder
|
||||
+ ", pendingcreates: " + paths.size() + "]";
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public int compareTo(Lease o) {
|
||||
Lease l1 = this;
|
||||
Lease l2 = o;
|
||||
|
@ -266,7 +266,7 @@ public class LeaseManager {
|
|||
}
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (!(o instanceof Lease)) {
|
||||
return false;
|
||||
|
@ -279,7 +279,7 @@ public class LeaseManager {
|
|||
return false;
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return holder.hashCode();
|
||||
}
|
||||
|
@ -429,7 +429,7 @@ public class LeaseManager {
|
|||
}
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public synchronized String toString() {
|
||||
return getClass().getSimpleName() + "= {"
|
||||
+ "\n leases=" + leases
|
||||
|
|
|
@ -647,7 +647,7 @@ public class NamenodeFsck {
|
|||
return (float) (totalReplicas) / (float) totalBlocks;
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder res = new StringBuilder();
|
||||
res.append("Status: ").append((isHealthy() ? "HEALTHY" : "CORRUPT"))
|
||||
|
|
|
@ -129,7 +129,7 @@ public class SecondaryNameNode implements Runnable {
|
|||
private FSNamesystem namesystem;
|
||||
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public String toString() {
|
||||
return getClass().getSimpleName() + " Status"
|
||||
+ "\nName Node Address : " + nameNodeAddr
|
||||
|
|
|
@ -64,7 +64,7 @@ class SerialNumberManager {
|
|||
return i2t.get(i);
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public String toString() {
|
||||
return "max=" + max + ",\n t2i=" + t2i + ",\n i2t=" + i2t;
|
||||
}
|
||||
|
|
|
@ -113,7 +113,7 @@ implements Writable, NodeRegistration {
|
|||
/////////////////////////////////////////////////
|
||||
// Writable
|
||||
/////////////////////////////////////////////////
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public void write(DataOutput out) throws IOException {
|
||||
super.write(out);
|
||||
|
||||
|
@ -124,7 +124,7 @@ implements Writable, NodeRegistration {
|
|||
exportedKeys.write(out);
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public void readFields(DataInput in) throws IOException {
|
||||
super.readFields(in);
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ public class DatanodeRegistrationWritable implements Writable {
|
|||
/////////////////////////////////////////////////
|
||||
// Writable
|
||||
/////////////////////////////////////////////////
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public void write(DataOutput out) throws IOException {
|
||||
datanodeId.write(out);
|
||||
|
||||
|
@ -85,7 +85,7 @@ public class DatanodeRegistrationWritable implements Writable {
|
|||
exportedKeys.write(out);
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public void readFields(DataInput in) throws IOException {
|
||||
datanodeId.readFields(in);
|
||||
|
||||
|
|
Loading…
Reference in New Issue