One key to install Apache Hadoop
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# One key to install Apache Hadoop
|
|
|
|
|
|
|
|
该项目用于通过shell脚本一键部署standalone模式下的hadoop及其组件.
|
|
|
|
|
|
|
|
![baseversion](https://img.shields.io/badge/okhadoop-0.0.1-green.svg ) ![Java Version](https://img.shields.io/badge/JAVA-1.8.202-green.svg) ![hbase](https://img.shields.io/badge/HBase-2.2.4-green.svg)
|
|
|
|
|
|
|
|
![hadoop](https://img.shields.io/badge/Hadoop-2.9.0-red.svg ) ![zookeeper](https://img.shields.io/badge/Zookeeper-3.8.0-blue.svg )
|
|
|
|
|
|
|
|
# 目录
|
|
|
|
|
|
|
|
- [前置条件](#前置条件)
|
|
|
|
- [使用方法](#使用方法)
|
|
|
|
- [RHEL/CentOS](#RHEL/CentOS)
|
|
|
|
- [已知问题](#已知问题)
|
|
|
|
|
|
|
|
# 前置条件
|
|
|
|
|
|
|
|
- 可以访问互联网(**必要**)
|
|
|
|
|
|
|
|
- 静态IP
|
|
|
|
|
|
|
|
- 网络名称(**必要**)
|
|
|
|
|
|
|
|
```shell
|
|
|
|
vim /etc/hostname
|
|
|
|
```
|
|
|
|
|
|
|
|
- 本机到本机的免密登录(**必要**)
|
|
|
|
|
|
|
|
```shell
|
|
|
|
ssh-keygen -t rsa
|
|
|
|
cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys
|
|
|
|
```
|
|
|
|
|
|
|
|
# 使用方法
|
|
|
|
|
|
|
|
## RHEL/CentOS
|
|
|
|
|
|
|
|
```shell
|
|
|
|
chmod +x ./centos_standalone_hbase.sh
|
|
|
|
bash ./centos_standalone_hbase.sh
|
|
|
|
```
|
|
|
|
|
|
|
|
# 已知问题
|
|
|
|
|
|
|
|
- 在执行完脚本后需要手动执行`source /root/.bashrc`
|
|
|
|
- 使用`start-dfs.sh`启动Hadoop时需要确认两个`unknow host`
|
|
|
|
- 未配置`yarn`
|