hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1077369 - /hadoop/common/branches/branch-0.20-security-patches/src/hdfs/org/apache/hadoop/hdfs/server/namenode/SecondaryNameNode.java
Date Fri, 04 Mar 2011 04:07:59 GMT
Author: omalley
Date: Fri Mar  4 04:07:59 2011
New Revision: 1077369

URL: http://svn.apache.org/viewvc?rev=1077369&view=rev
Log:
commit 127148ec15ec358e72d0d8767c5d6820b8ca4e77
Author: Jakob Homan <jhoman@yahoo-inc.com>
Date:   Mon Apr 5 16:28:56 2010 -0700

    HDFS:1080 from https://issues.apache.org/jira/secure/attachment/12440810/HDFS-1080-Y20.patch
    
    +++ b/YAHOO-CHANGES.txt
    +
    +    HDFS-1080.  SecondaryNameNode image transfer should use the defined
    +    http address rather than local ip address (jhoman)
    +

Modified:
    hadoop/common/branches/branch-0.20-security-patches/src/hdfs/org/apache/hadoop/hdfs/server/namenode/SecondaryNameNode.java

Modified: hadoop/common/branches/branch-0.20-security-patches/src/hdfs/org/apache/hadoop/hdfs/server/namenode/SecondaryNameNode.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-patches/src/hdfs/org/apache/hadoop/hdfs/server/namenode/SecondaryNameNode.java?rev=1077369&r1=1077368&r2=1077369&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-patches/src/hdfs/org/apache/hadoop/hdfs/server/namenode/SecondaryNameNode.java
(original)
+++ hadoop/common/branches/branch-0.20-security-patches/src/hdfs/org/apache/hadoop/hdfs/server/namenode/SecondaryNameNode.java
Fri Mar  4 04:07:59 2011
@@ -376,8 +376,7 @@ public class SecondaryNameNode implement
    */
   private void putFSImage(CheckpointSignature sig) throws IOException {
     String fileid = "putimage=1&port=" + imagePort +
-      "&machine=" +
-      InetAddress.getLocalHost().getHostAddress() +
+      "&machine=" + infoBindAddress +
       "&token=" + sig.toString();
     LOG.info("Posted URL " + fsName + fileid);
     TransferFsImage.getFileClient(fsName, fileid, (File[])null);



Mime
View raw message