|
@@ -376,8 +376,7 @@ public class SecondaryNameNode implements Runnable {
|
|
|
*/
|
|
|
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);
|