configure hostname to ip address, replicatMeta request ERROR occur
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 298
- Avg merge
- 21h 43m
- Merged PRs (30d)
- 9
Description
when i configure hostname as ip address, method getFullyQualifiedDomainName(DataNode.java)
convert ip address to Domainname, so other server find lots of ERROR logs
[2016-07-19 13:58:00,992] ERROR ReplicaMetaDataRequest from unknown Replica szx1000120110, with path /usr1/data/0 (com.github.ambry.replication.ReplicationManager)
[2016-07-19 13:58:00,993] ERROR ReplicaMetaDataRequest from unknown Replica szx1000120110, with path /usr1/data/0 (com.github.ambry.replication.ReplicationManager)
Contributor guide
No contributing guide indexed for this repository
Research direction
Review DataNode.java, starting with getFullyQualifiedDomainName, and trace how the resulting hostname or IP is used by ReplicationManager for ReplicaMetaDataRequest handling. Reproduce the configuration with a hostname set to an IP address and determine why valid replicas are reported as unknown; done means the configuration no longer produces these errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100