hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhr...@apache.org
Subject svn commit: r581982 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/dfs/SecondaryNameNode.java
Date Thu, 04 Oct 2007 18:31:39 GMT
Author: dhruba
Date: Thu Oct  4 11:31:38 2007
New Revision: 581982

URL: http://svn.apache.org/viewvc?rev=581982&view=rev
Log:
HADOOP-1695.  The SecondaryNamenode waits for the Primary NameNode to
start up.  (Dhruba Borthakur)


Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/SecondaryNameNode.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?rev=581982&r1=581981&r2=581982&view=diff
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Thu Oct  4 11:31:38 2007
@@ -238,6 +238,9 @@
     HADOOP-1626.  Improve dfsadmin help messages.
     (Lohit Vijayarenu via dhruba)
 
+    HADOOP-1695.  The SecondaryNamenode waits for the Primary NameNode to
+    start up.  (Dhruba Borthakur)
+
   IMPROVEMENTS
 
     HADOOP-1908. Restructure data node code so that block sending and 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/SecondaryNameNode.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/SecondaryNameNode.java?rev=581982&r1=581981&r2=581982&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/SecondaryNameNode.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/SecondaryNameNode.java Thu Oct  4 11:31:38
2007
@@ -95,9 +95,8 @@
                                              conf.get("fs.default.name", "local"));
     this.conf = conf;
     this.namenode =
-        (ClientProtocol) RPC.getProxy(ClientProtocol.class,
-            ClientProtocol.versionID, nameNodeAddr, conf, NetUtils
-                .getSocketFactory(conf, ClientProtocol.class));
+        (ClientProtocol) RPC.waitForProxy(ClientProtocol.class,
+            ClientProtocol.versionID, nameNodeAddr, conf);
 
     //
     // initialize the webserver for uploading files.



Mime
View raw message