[ 
https://issues.apache.org/jira/browse/HDFS-1891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028963#comment-13028963
 ] 

Suresh Srinivas commented on HDFS-1891:
---------------------------------------

TestBackupNode failure is due to ipv6 address returned by java 
Socket.getLocalSocketAddress(). The returned address 0:0:0:0:0:0:0:0:50100.

We need to disable IPV6 by setting system property java.net.preferIPv4Stack to 
true,
as indicated in 
http://download.oracle.com/javase/6/docs/technotes/guides/net/ipv6_guide/index.html

{noformat}
2011-05-04 19:52:31,378 INFO  namenode.NameNode (NameNode.java:initialize(410)) 
- Backup Node up at: 0:0:0:0:0:0:0:0/0:0:0:0:0:0:0:0:50100
2011-05-04 19:52:31,381 INFO  namenode.Checkpointer 
(Checkpointer.java:initialize(110)) - Checkpoint Period : 3600 secs (60 min)
2011-05-04 19:52:31,381 INFO  namenode.Checkpointer 
(Checkpointer.java:initialize(112)) - Log Size Trigger  : 67108864 bytes (65536 
KB)
2011-05-04 19:52:31,382 INFO  namenode.TestBackupNode 
(TestBackupNode.java:waitCheckpointDone(95)) - Waiting checkpoint to complete...
2011-05-04 19:52:31,383 INFO  namenode.FSNamesystem 
(FSNamesystem.java:startCheckpoint(4548)) - Start checkpoint for 
0:0:0:0:0:0:0:0:50100
2011-05-04 19:52:31,422 INFO  ipc.Server (Server.java:run(1422)) - IPC Server 
handler 2 on 47860, call 
startCheckpoint(NamenodeRegistration(0:0:0:0:0:0:0:0:50100, role=Backup Node)), 
rpc version=1, client version=5, methodsFingerPrint=302283637 from 
127.0.0.1:48060: error: java.io.IOException: java.lang.NumberFormatException: 
For input string: "0:0:0:0:0:0:0:50100"
java.io.IOException: java.lang.NumberFormatException: For input string: 
"0:0:0:0:0:0:0:50100"
{noformat}

> TestBackupNode fails intermittently
> -----------------------------------
>
>                 Key: HDFS-1891
>                 URL: https://issues.apache.org/jira/browse/HDFS-1891
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Suresh Srinivas
>            Assignee: Giridharan Kesavan
>
> TestBackupNode fails due to unexpected ipv6 address format.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to