Weird DNS server causes Hadoop and HBase to malfunction
问题 I have a network with some weird (as I understand) DNS server which causes Hadoop or HBase to malfunction. It resolves my hostname to some address my machine doesn't know about (i.e. there is no such interface). Hadoop does work if I have following entries in /etc/hosts: 127.0.0.1 localhost 127.0.1.1 myhostname If entry "127.0.1.1 myhostname" is not present uploading file to HDFS fails and complains that it can replicate the file only to 0 datanodes instead of 1. But in this case HBase does