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.
Louzin 57c26aea5a [修复]安装脚本中yarn配置错误 2 years ago
conf 初始化项目 2 years ago
hadoop 新增对yarn的支持 2 years ago
README.md 新增对yarn的配置 2 years ago
centos_standalone_hbase.sh [修复]安装脚本中yarn配置错误 2 years ago
okhadoop.code-workspace 初始化项目 2 years ago
ubuntu_standalone_hbase.sh [修复]安装脚本中yarn配置错误 2 years ago
zoo.cfg 初始化项目 2 years ago

README.md

One key to install Apache Hadoop

该项目用于通过shell脚本一键部署standalone模式下的hadoop及其组件.

baseversion Java Version hbase

hadoop zookeeper

目录

前置条件

  • 可以访问互联网(必要)

  • 静态IP

  • 网络名称(必要)

    vim /etc/hostname
    
  • 本机到本机的免密登录(必要)

    ssh-keygen -t rsa
    cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys
    

使用方法

yum install git
apt install git
git clone http://82.157.63.225:3000/louzin/okhadoop.git
cd okhadoop

RHEL/CentOS

chmod +x ./centos_standalone_hbase.sh
sh ./centos_standalone_hbase.sh

Ubuntu

chmod +x ./ubuntu_standalone_hbase.sh
source ./ubuntu_standalone_hbase.sh

已知问题

  • CentOS执行完脚本后需要手动执行source /root/.bashrc
  • 使用start-dfs.sh启动Hadoop时需要确认两个unknow host