ambry icon indicating copy to clipboard operation
ambry copied to clipboard

configure hostname to ip address, replicatMeta request ERROR occur

Open aruanruan opened this issue 8 years ago • 4 comments

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)

aruanruan avatar Jul 19 '16 06:07 aruanruan

+1

heipacker avatar Sep 28 '16 11:09 heipacker

+1

zhulongchao avatar Jun 15 '17 09:06 zhulongchao

@aruanruan @heipacker i have solve the problem by configuring every datanode and frontend node in /etc/hosts file.

zhulongchao avatar Jun 16 '17 02:06 zhulongchao

@zhulongchao /etc/hosts 中添加了每个节点的域名解析还是找这个错呢

shangzefeng avatar Apr 20 '18 17:04 shangzefeng