Details
Description
In TestHDFSServerPorts.testBackupNodePorts, there are two attempts at starting backup node.
Attempt 1:
1) It binds namenode backup address with 0:
backup_config.set(DFSConfigKeys.DFS_NAMENODE_BACKUP_ADDRESS_KEY, THIS_HOST);
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.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-15475 Fix broken unit tests on Windows
- Open