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.

1.3 KiB

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