Revert HDFS-3837. Fix DataNode.recoverBlock findbugs warning.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1376702 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eli Collins 2012-08-23 21:09:23 +00:00
parent 7f16809a3b
commit f068e8db4b
2 changed files with 9 additions and 2 deletions

View File

@ -492,8 +492,6 @@ Release 2.0.1-alpha - UNRELEASED
HDFS-3830. test_libhdfs_threaded: use forceNewInstance. HDFS-3830. test_libhdfs_threaded: use forceNewInstance.
(Colin Patrick McCabe via eli) (Colin Patrick McCabe via eli)
HDFS-3837. Fix DataNode.recoverBlock findbugs warning. (eli)
HDFS-3835. Long-lived 2NN cannot perform a checkpoint if security is HDFS-3835. Long-lived 2NN cannot perform a checkpoint if security is
enabled and the NN restarts with outstanding delegation tokens. (atm) enabled and the NN restarts with outstanding delegation tokens. (atm)

View File

@ -88,4 +88,13 @@ public class DatanodeRegistration extends DatanodeID
+ ", storageInfo=" + storageInfo + ", storageInfo=" + storageInfo
+ ")"; + ")";
} }
@Override
public boolean equals(Object to) {
return super.equals(to);
}
@Override
public int hashCode() {
return super.hashCode();
}
} }