git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1165860 13f79535-47bb-0310-9956-ffa450edef68
@@ -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 class NameNodeAdapter {
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) {