hbase+hadoop搭建指南

hbase+hadoop搭建指南

ID:38213988

大小:24.35 KB

页数:9页

时间:2019-06-07

hbase+hadoop搭建指南_第1页
hbase+hadoop搭建指南_第2页
hbase+hadoop搭建指南_第3页
hbase+hadoop搭建指南_第4页
hbase+hadoop搭建指南_第5页
资源描述:

《hbase+hadoop搭建指南》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、目录1.ssh无密钥访问21.1修改每台机器上的/etc/hosts21.2在每台机器上安装ssh21.3把主节点内.ssh目录下的所有id_rsa.pub拷贝到一个文件里21.4把这个文件authorized_keys拷贝到所有从节点32Hadoop安装32.1关闭所有节点的防火墙32.2安装JDK32.3修改/root/hadoopSoftware/hadoop-1.0.4/conf/core-site.xml42.4修改/root/hadoopSoftware/hadoop-1.0.4/conf/hdfs-site.xml52.5修改/root/hado

2、opSoftware/hadoop-1.0.4/conf/mapred-site.xml52.6修改/root/hadoopSoftware/hadoop-1.0.4/conf/masters62.7修改/root/hadoopSoftware/hadoop-1.0.4/conf/slaves62.8修改/root/hadoop-1.0.4/conf/hadoop-env.xml62.9同步到所有节点:72.10启动hadoop73Hbase安装73.1修改主节点hbase/conf文件夹下的hbase-env73.2修改主节点conf内的hbase-site

3、.xml文件73.3修改regionservers文件为83.4同步到所有从节点93.5启动hbase91.ssh无密钥访问1.1修改每台机器上的/etc/hosts,改为192.168.36.86BG4S02主节点192.168.36.92BG8S01从节点192.168.36.93BG8S02从节点192.168.36.94BG8S03从节点192.168.36.95BG8S04从节点192.168.36.96BG8S05从节点192.168.36.97BG8S06从节点192.168.36.98BG8S07从节点192.168.36.87BG8S08从节

4、点1.2在每台机器上安装sshssh-keygen-trsa,一直按回车,指导最后。把所有从节点台的id_rsa.pub拷贝到主节点的/root/.ssh/的目录下:scpBG8S01:/root/.ssh/id_rsa.pub/root/.ssh/id_rsaBG8S01.pubscpBG8S02:/root/.ssh/id_rsa.pub/root/.ssh/id_rsaBG8S02.pubscpBG8S03:/root/.ssh/id_rsa.pub/root/.ssh/id_rsaBG8S03.pubscpBG8S04:/root/.ssh/id_rs

5、a.pub/root/.ssh/id_rsaBG8S04.pubscpBG8S05:/root/.ssh/id_rsa.pub/root/.ssh/id_rsaBG8S05.pubscpBG8S06:/root/.ssh/id_rsa.pub/root/.ssh/id_rsaBG8S06.pubscpBG8S07:/root/.ssh/id_rsa.pub/root/.ssh/id_rsaBG8S07.pubscpBG8S08:/root/.ssh/id_rsa.pub/root/.ssh/id_rsaBG8S08.pub1.3把主节点内.ssh目录下的所有i

6、d_rsa.pub拷贝到一个文件里文件名叫authorized_keyscatid_rsa.pub>>authorized_keyscatid_rsaBG8S01.pub>>authorized_keyscatid_rsaBG8S02.pub>>authorized_keyscatid_rsaBG8S03.pub>>authorized_keyscatid_rsaBG8S04.pub>>authorized_keyscatid_rsaBG8S05.pub>>authorized_keyscatid_rsaBG8S06.pub>>authorized_keysc

7、atid_rsaBG8S07.pub>>authorized_keyscatid_rsaBG8S08.pub>>authorized_keys1.4把这个文件authorized_keys拷贝到所有从节点scpauthorized_keysBG8S01:/root/.ssh/authorized_keysscpauthorized_keysBG8S02:/root/.ssh/authorized_keysscpauthorized_keysBG8S03:/root/.ssh/authorized_keysscpauthorized_keysBG8S04:/ro

8、ot/.ssh/authorized_

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。