Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
SCM does not properly remove datanode address to UUID mapping for the old address when datanode re-registers with different address. It tries to remove dnsName (address) from the set of UUIDs:
private synchronized void removeEntryFromDnsToUuidMap(String dnsName) { if (!dnsToUuidMap.containsKey(dnsName)) { return; } Set<String> dnSet = dnsToUuidMap.get(dnsName); if (dnSet.contains(dnsName)) { dnSet.remove(dnsName); } if (dnSet.isEmpty()) { dnsToUuidMap.remove(dnsName); } }
Attachments
Issue Links
- links to