简体   繁体   English

在VMware中更改Hadoop IP地址

[英]Change Hadoop IP address in VMware

I recently installed Hadoop (Hadoop sandbox 2.2 [Hortonworks]) with VMware in Windows 7. When Hadoop runs, it gives me an IP address for the web browser: 我最近在Windows 7中使用VMware安装了Hadoop(Hadoop沙盒2.2 [Hortonworks])和VMware。运行Hadoop时,它为我提供了Web浏览器的IP地址:

http://127.0.0.1:8000

It doesn't work. 没用 What address should I use, and how would I find it? 我应该使用什么地址,怎么找到?

When you start the sandbox using VMware player. 使用VMware Player启动沙箱时。 Type ifconfig in terminal. 在终端中输入ifconfig You will get a IP address starting with 192.168.XX.XXX . 您将获得一个以192.168.XX.XXX开头的IP地址。 Replace 127.0.0.1 with that IP address. 用该IP地址替换127.0.0.1 It will work. 它会工作。

FYI: 仅供参考:

VMware player provides a dedicated IP to the sandbox and their guest OS, therefore all hadoop services is accessible through the guest OS IP address ,not through your local host. VMware Player为沙箱及其来宾操作系统提供了专用IP,因此所有的hadoop服务都可以通过guest OS IP address ,而不是通过本地主机访问。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM