diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 26ffcdd8dce..d5688116549 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -1005,6 +1005,9 @@ Release 0.23.0 - Unreleased HDFS-2289. Ensure jsvc is bundled with the HDFS distribution artifact. (Alejandro Abdelnur via acmurthy) + HDFS-2314. MRV1 test compilation broken after HDFS-2197 (todd) + + BREAKDOWN OF HDFS-1073 SUBTASKS HDFS-1521. Persist transaction ID on disk between NN restarts. diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NameNodeAdapter.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NameNodeAdapter.java index ed511eea472..76f0b9408a7 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NameNodeAdapter.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NameNodeAdapter.java @@ -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) {