1. 程式人生 > >啟動cloudera-scm-server時,報Unable to retrieve non-local address

啟動cloudera-scm-server時,報Unable to retrieve non-local address

Unable to retrieve non-local address

“ScmActive-0:com.cloudera.server.cmf.components.ScmActive: ScmActive: Unable to retrieve non-local non-loopback IP address. Seeing address: cdh1/127.0.0.1.”

解決: 修改/etc/hosts 將 127.0.0.1 cdh1 這一行註釋掉, 保留內網IP和機器名的對映即可