hadoop已经打开,但无法从浏览器打开
来源:3-8 HDFS伪分布式环境搭建
被吊打的学渣
2018-01-24
[root@localhost sbin]# ip addr show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 08:00:27:e0:f3:95 brd ff:ff:ff:ff:ff:ff inet 192.168.1.105/24 brd 192.168.1.255 scope global dynamic enp0s3 valid_lft 6605sec preferred_lft 6605sec inet6 fe80::c7e9:fc83:ce45:9893/64 scope link valid_lft forever preferred_lft forever [root@localhost sbin]# jps 1424 NameNode 1698 SecondaryNameNode 1846 Jps 1515 DataNode [root@localhost sbin]#
无论是在浏览器里输入http://192.168.1.105:50070/ 还是输入http://localhost:50070/ 都不可以。
core site
<configuration> <property> <name>fs.defaultFS</name> <value>hdfs://localhost:8020</value> </property> <property> <name>hadoop.tmp.dir</name> <value>/home/hadoop/tmp</value> </property> </configuration>
写回答
1回答
-
你在VM里面浏览器打开试试,本地机器检查IP是否OK
0112018-05-16
相似问题