win7 下远程连接Linux里的hadoop 失败问题

来源:互联网 发布:攻壳模动队淘宝 编辑:程序博客网 时间:2024/05/18 02:21

win7 下远程连接Linux里的hadoop  失败问题



在Linux环境里的hadoop的配置文件:

[root@localhost conf]# cat mapred-site.xml
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

<!-- Put site-specific property overrides in this file. -->

<configuration>
<property>
    <name>mapred.job.tracker</name>
    <value>192.168.172.128:9001</value>
</property>
</configuration>

[root@localhost conf]# cat core-site.xml
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

<!-- Put site-specific property overrides in this file. -->

<configuration>
<property>
<name>fs.default.name</name>
<value>hdfs://localhost:9000</value>
</property>
</configuration>

===================================

标红处应该用具体的ip,不要用localhost,这样win7 中的eclipse 连接不上Linux里的hadoop。

连接目的:本地开发,提交作业。




0 0
原创粉丝点击