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

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1376701 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eli Collins 2012-08-23 21:08:19 +00:00
parent 26c259a638
commit c10a73350e
2 changed files with 9 additions and 2 deletions

View File

@ -659,8 +659,6 @@ Branch-2 ( Unreleased changes )
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();
}
} }