HDFS-2314. MRV1 test compilation broken after HDFS-2197. Contributed by Todd Lipcon

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1165860 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2011-09-06 21:25:35 +00:00
parent bdc3720d5b
commit 42d443fb79
2 changed files with 10 additions and 0 deletions

View File

@ -26,6 +26,8 @@ Trunk (unreleased changes)
HDFS-2313. Rat excludes has a typo for excluding editsStored files. (atm)
HDFS-2314. MRV1 test compilation broken after HDFS-2197 (todd)
Release 0.23.0 - Unreleased
INCOMPATIBLE CHANGES

View File

@ -46,6 +46,14 @@ public static LocatedBlocks getBlockLocations(NameNode namenode,
return namenode.getNamesystem().getBlockLocations(
src, offset, length, false, true);
}
/**
* Get the internal RPC server instance.
* @return rpc server
*/
public static Server getRpcServer(NameNode namenode) {
return ((NameNodeRpcServer)namenode.getRpcServer()).server;
}
public static DelegationTokenSecretManager getDtSecretManager(
final FSNamesystem ns) {