HBase problem

1.java.net.UnknownHostException: unknown host:xxxx abnormal solution


HBase application developed under windows, HBase is deployed in linux environment, the host may not be found when running and debugging, similar exception information is as follows:
java.net.UnknownHostException : unknown host: jmnb The
solution is as follows:
Add the following information to the C:\WINDOWS\system32\drivers\etc\hosts file:
192.168.23.31 jmnb
192.168.23.33 jmnd
192.168.23.34 jmne

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327102255&siteId=291194637