[ https://issues.apache.org/jira/browse/HDFS-11700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16476181#comment-16476181 ]
Íñigo Goiri commented on HDFS-11700: ------------------------------------ The checkstyle seems unrelated. This also fail in the [daily Windows build|https://builds.apache.org/job/hadoop-trunk-win/467/testReport/org.apache.hadoop.hdfs/TestHDFSServerPorts/testBackupNodePorts/]. +1 and committing. > TestHDFSServerPorts#testBackupNodePorts doesn't pass on Windows > --------------------------------------------------------------- > > Key: HDFS-11700 > URL: https://issues.apache.org/jira/browse/HDFS-11700 > Project: Hadoop HDFS > Issue Type: Bug > Environment: Windows 10 > Reporter: Anbang Hu > Assignee: Anbang Hu > Priority: Major > Labels: Windows > Attachments: HDFS-11700.000.patch > > > In TestHDFSServerPorts.testBackupNodePorts, there are two attempts at > starting backup node. > *Attempt 1*: > 1) It binds namenode backup address with 0: > {quote} > backup_config.set(DFSConfigKeys.DFS_NAMENODE_BACKUP_ADDRESS_KEY, THIS_HOST); > {quote} > 2) It sets namenode backup address with an available port X. > 3) It fails rightfully due to using the same http address as active namenode. > *Attempt 2*: > 1) It tries to reuse port X as namenode backup address. > 2) It fails to bind to X because Windows does not release port X properly > after *Attempt 1* fails. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org