MapReduce(一): Hadoop的简单配置运行

1.1.1     集群规划

节点名

Ip地址

安装路径

主端口

监控端口

NameNode

192.168.74.103

/opt/hdfs/Hadoop-1.1.2

9000

50070

DataNode

192.168.74.104

/opt/hdfs/hadoop-1.1.2

50010

50075

JobTracker

192.168.74.103

/opt/mapreduce/hadoop-1.1.2

9001

50030

TaskTracker

192.168.74.104

/opt/mapreduce/hadoop-1.1.2

38838

50060

HbaseMaster

192.168.74.103

/opt/hbase-0.94.7

6000

60010

ZooKeeper

192.168.74.103

/opt/hbase-0.94.7(集成)

2181

HbaseRegionServer

192.168.74.104

/opt/hbase-0.94.7

60020

60030

1.1.2     NameNode配置

1.  conf/core-site.xml


2.  conf/hdfs-site.xml


3.  conf/masters

设置为空

4.  conf/slaves

去除localhost,添加192.168.74.104

1.1.3     DataNode配置

1.  conf/core.site.xml

2.  conf/hdfs-site.xml


3.  conf/masters

设置为空

4.  conf/slaves

设置为空

1.1.4     JobTracker配置

1.  conf/core.site.xml


2.  conf/mapred-site.xml


3.  conf/masters

设置为空

4.  conf/slaves

去除localhost,添加192.168.74.104

1.1.5     TaskTracker配置

1.  conf/core.site.xml


2.  conf/mapred-site.xml


3.  conf/masters

设置为空

4.  conf/slaves

设置为空

1.1.6     HBaseMaster

1.  conf/hbase-site.xml


2.  conf/regionservers

去除localhost,添加regionservers的运行地址192.168.74.104

3.  conf/hbase-env.sh

如果启动时找不到jdk home则设置jdk home

1.1.7     HBase RegionServer

1.  conf/hbase-site.xml


2.  conf/regionservers

设置为空

3.  conf/hbase-env.sh

如果启动时找不到jdk home则设置jdk home


1.1.8   启动

1.  启动dfs


2.  启动mapreduce

   

3.  启动hbase

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值