Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
每次我尝试安装一些 apache hadoop、hbase。
127.0.0.1 localhost 127.0.1.1 ubuntu-host
通常建议您注释 localhost 部分并在 /etc/hosts 文件中使用 127.0.0.1 ubuntu-host。如果我两者都用怎么办
127.0.0.1 localhost, ubuntu-host 这有什么问题吗?此外,建议禁用集群中的 ipv6。如果我使用默认主机文件和 ipv6 启用怎么办。它会导致任何问题吗?
127.0.0.1 localhost, ubuntu-host
浏览此页面。它很好地解释了为什么 HBase 关心 /etc/hosts。就 IPv6 而言,目前 IPv6 网络不支持 Hadoop。它仅在 IPv4 堆栈上进行了测试和开发。Hadoop 需要 IPv4 才能工作,并且只有 IPv4 客户端可以与集群通信。如果您的组织仅迁移到 IPv6,您将遇到问题。有关更多详细信息,请参阅此内容。
高温高压