我的Hadoop服务器的特定服务器上运行,比方说在IP 192.168.11.7 并有其核心的site.xml如下:访问HDFS Remotedly
<configuration>
<property>
<name>fs.defaultFS</name>
<value>hdfs://localhost:9000</value>
</property>
我已经运行我的HDFS ,即命令:
sbin/start-dfs.sh
现在,我想从我的本地计算机浏览器访问HDFS。可能吗?
我试过http://192.168.11.7:9000或http://192.168.11.7:50075,但无济于事。即该网站无法达到
非常感谢您
编辑:
这是我的HDFS-site.xml中的内容:
<configuration>
<property>
<name>dfs.replication</name>
<value>1</value>
</property>
<property>
<name>dfs.webhdfs.enabled</name>
<value>true</value>
</property>
<property>
<name>dfs.namenode.http-address</name>
<value>0.0.0.0:50070</value>
</property>
和my core-site.xml:
<configuration>
<property>
<name>fs.defaultFS</name>
<value>hdfs://localhost:9000</value>
</property>
<property>
<name>dfs.datanode.http.address</name>
<value>0.0.0.0:50075</value>
</property>
,但是当我从LY本地计算机访问:http://192.168.11.7:50075,仍然无济于事 有什么错吗?
谢谢
这看起来像一个网络问题。停止hdfs并在192.168.11.7上启动“nc -l 50075”,然后在计算机上启动“telnet 192.168.11.7 50075”,确保TCP连接正常工作,如果不起作用,请检查网络配置。 – ozw1z5rd