私は3つのスレーブを持つマスターであるCentOS7に基づいてHadoop 2.7.2をインストールしました。Hadoopクラスターでmasterのポート50070を訪問するには?
問題は、マスターマシンのlocalhost:50070
にアクセスすることでHadoopクラスタのステータスを取得できることです。 master:50070
または192.168.199.139:50070
にアクセスしても機能しません。192.168.199.139
はマスターのIPアドレスです。
同時に、奴隷は192.168.199.139:50070
も訪問できません。
50070
を訪問するために、より詳細な設定が必要ですか?マスターで
実行ifconfig
:
eno16777736: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.199.139 netmask 255.255.255.0 broadcast 192.168.199.255
inet6 fe80::20c:29ff:fe0d:6143 prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:0d:61:43 txqueuelen 1000 (Ethernet)
RX packets 342080 bytes 318632744 (303.8 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 129369 bytes 16629889 (15.8 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 6650 bytes 2908305 (2.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6650 bytes 2908305 (2.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:fc:1a:4b txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
マスターで "ifconfig"を実行して、出力を私たちと共有してください。 – Yaron