You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-commits@hadoop.apache.org by to...@apache.org on 2011/09/12 21:00:10 UTC
svn commit: r1169869 - in
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs:
CHANGES.txt
src/test/java/org/apache/hadoop/hdfs/server/namenode/NameNodeAdapter.java
Author: todd
Date: Mon Sep 12 19:00:10 2011
New Revision: 1169869
URL: http://svn.apache.org/viewvc?rev=1169869&view=rev
Log:
HDFS-2314. MRV1 test compilation broken after HDFS-2197. Contributed by Todd Lipcon.
Modified:
hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NameNodeAdapter.java
Modified: hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt?rev=1169869&r1=1169868&r2=1169869&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt (original)
+++ hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt Mon Sep 12 19:00:10 2011
@@ -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.
Modified: hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NameNodeAdapter.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NameNodeAdapter.java?rev=1169869&r1=1169868&r2=1169869&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NameNodeAdapter.java (original)
+++ hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NameNodeAdapter.java Mon Sep 12 19:00:10 2011
@@ -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) {