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:
parent
bdc3720d5b
commit
42d443fb79
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user