Cloudera 5.8.2 Installation guide

Envireronment:

VMware® Workstation 12 Pro 12.0.1 build-3160714(Host: Windows 7 Ultimate)

Centos 6.5 x64

Cloudera 5.8.2

Resource:

  1. Cloudera Manager 5 Requirements and Supported Versions
  2. Installation Path B - Manual Installation Using Cloudera Manager Packages
  3. http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.16-linux-glibc2.5-x86_64.tar
  4. http://archive.cloudera.com/cdh5/
  5. CHD5 5.8.2 EL6
    1. CDH-5.8.2-1.cdh5.8.2.p0.3-el6.parcel
    2. CDH-5.8.2-1.cdh5.8.2.p0.3-el6.parcel.sha1
    3. manifest.json
  6. CM RPMS
    1. cloudera-manager-agent-5.8.2-1.cm582.p0.17.el6.x86_64.rpm
    2. cloudera-manager-daemons-5.8.2-1.cm582.p0.17.el6.x86_64.rpm
    3. cloudera-manager-server-5.8.2-1.cm582.p0.17.el6.x86_64.rpm
    4. cloudera-manager-server-db-2-5.8.2-1.cm582.p0.17.el6.x86_64.rpm
    5. enterprise-debuginfo-5.8.2-1.cm582.p0.17.el6.x86_64.rpm
    6. jdk-6u31-linux-amd64.rpm
    7. oracle-j2sdk1.7-1.7.0+update67-1.x86_64.rpm
  7. Repro
    1. cm5.8.2-centos6.tar.gz
    2. cm5.8.2-centos6.tar.gz.md5
    3. cm5.8.2-centos6.tar.gz.sha1

规划

 角色 数量 内存 CPU
namenode 1 20GB 1*1 core
datanode 3 2GB 1*1 core

Envireronment setup:

  • 在VMware中安装4台虚拟机,操作系统为Centos 6.5。

    • nn
    • n1
    • n2
    • n3
  • 网络设置(每台)
    • vi /etc/sysconfig/networkvi /etc/sysconfig/network-scripts/ifcfg-eth0
      
      IPADDR=192.168.254.151~154
      GATEWAY=192.168.254.2
      DNS1=192.168.254.2
      service iptables stop
      chkconfig iptables off
      vi /etc/selinux/config
      
      shutdown -r now
  • 检查

    • hostnameifconfig
      getenforceservice iptables status
      ping cn.pool.ntp.org
      vi /etc/hosts
      192.168.254.151 nn
      192.168.254.152 n1
      192.168.254.153 n2
      192.168.254.154 n3
    • ping n1ping n2ping n3
  • 系统配置(每台)

    • 配置NTP
    • ntpstat
      service ntpd start
      chkconfig ntpd on
      watch ntpq -p 
    • SSH免密码
    • ssh-keygen -t rsa
      cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
      chmod 600 ~/.ssh/authorized_keys
      
      scp ~/.ssh/authorized_keys [email protected]:~/.ssh/
      scp ~/.ssh/authorized_keys [email protected]:~/.ssh/
      scp ~/.ssh/authorized_keys [email protected]:~/.ssh/

Install CM:

  • NameNode
  • cloudera-manager-agent-5.8.2-1.cm582.p0.17.el6.x86_64.rpm
    cloudera-manager-daemons-5.8.2-1.cm582.p0.17.el6.x86_64.rpm
    cloudera-manager-server-5.8.2-1.cm582.p0.17.el6.x86_64.rpm
    cloudera-manager-server-db-2-5.8.2-1.cm582.p0.17.el6.x86_64.rpm
    enterprise-debuginfo-5.8.2-1.cm582.p0.17.el6.x86_64.rpm
    jdk-6u31-linux-amd64.rpm
    oracle-j2sdk1.7-1.7.0+update67-1.x86_64.rpm
    cloudera-manager-installer.bin
    yum localinstall --nogpgcheck *.rpm
  • DataNode
  • cloudera-manager-agent-5.8.2-1.cm582.p0.17.el6.x86_64.rpm
    cloudera-manager-daemons-5.8.2-1.cm582.p0.17.el6.x86_64.rpm
    jdk-6u31-linux-amd64.rpm
    oracle-j2sdk1.7-1.7.0+update67-1.x86_64.rpm
    yum localinstall --nogpgcheck *.rpm
    vi /etc/cloudera-scm-agent/config.ini
    server_host=nn
  • Download CDH parcels and manifest.json from https://archive.cloudera.com/cdh5/parcels/
  • mkdir /tmp/parcel
    cp /home/admin/Downloads/CDH-5.5.2-1.cdh5.5.2.p0.4-el7.parcel /tmp/parcel/
    cp /home/admin/Downloads/ manifest.json /tmp/parcel/
  • python -m SimpleHTTPServer 8900
  • http://n1:7180/
  • 设置Parcels远程目录为http://192.168.254.151:8900
  • 检查(所有主机)
  • echo never > /sys/kernel/mm/transparent_hugepage/defrag
    echo 0 > /proc/sys/vm/swappiness
  • 安装结束
时间: 2024-12-12 04:29:48

Cloudera 5.8.2 Installation guide的相关文章

P6 EPPM Manual Installation Guide (Oracle Database)

Contents Oracle Database Manual Configuration Overview ,,★★5 Oracle Database Installation ,,★★6 Creating the Database Structure for Oracle and Loading Application Data ,,★★7 Creating the P6 EPPM Database Structure for Oracle ,,★★7 Copying the Script

Oracle Grid Infrastructure Installation Guide for Linux 以debug模式安装并记录日志

使用如下命令能够以debug模式安装Oracle Grid并将日志记录到文件 [[email protected] 11ggrid]$ ./runInstaller -debug > /home/grid/oracle_grid_installer_`date +%G%m%d_%H%M%S`.log 注意:其中的文件名为了避免重复,加入了当前的日期和时间`date +%G%m%d_%H%M%S` 代表了当前的日期和时间,之间用下横线隔开 重要说明点:那个日期$(`date +%G%m%d_%H%

Full installation guide for YMC

Full Installation Guide These are the steps necessary to get YCM working on a Unix OS and on Windows. Note to Windows users: we assume that you are running the cmd.exe command prompt and that the needed executables are in the PATH environment variabl

Arch Linux Installation Guide

Arch Linux Installation Guide timedatectl set-ntp true sed -i '/Score/{/China/!{n;s/^/#/}}' /etc/pacman.d/mirrorlist pacman -Syy 启动模式检查 检查启动模式是否支持UEFI,这将决定在安装 Bootloader 阶段的步骤: ls /sys/firmware/efi/efivars --如果如上文件存在,就说明为UEFI,否则为legacy BIOS lsblk par

Installation Guide Ubuntu 16.04

Beside the installation guide on the main page, here is a guide to install GenieACS off a freshly installed Ubuntu 16.04 LTS. Prequisites and basic components First you should update all components and install the following perquisites sudo apt-get u

Nagios Installation Guide

Introduction This guide is intended to provide you with simple instructions on how to install Nagios from source (code) on Fedora and have it monitoring your local machine inside of 20 minutes. No advanced installation options are discussed here - ju

elasticsearch installation guide

UBUNTU 14.04 LTS 安装 elasticseach同步MYSQL表并实现中文搜索 =========================================================================================== 1.下载wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.4.1.deb ==============

Apollo2.5 Installation Guide.md

Configuration of IPC Nuvo-5095GC GPU:GTX-1050Ti CPU:[email protected]×8 Memory: 32GB System Install Apollo officially recommended to use ubuntu14.04 Install ubuntu 14.04.3 Update and Upgrade sudo apt-get update; sudo apt-get upgrade Install the Linux

CentOS 7 Docker Installation Guide

Install 1. 查看系统版本 & 升级yum源 [[email protected] ~]# cat /etc/redhat-release CentOS Linux release 7.3.1611 (Core) [[email protected] ~]# yum update 2. 安装docker [[email protected] ~]# yum install docker 3.启动docker deamon并将其设置成开机自启动[[email protected] ~]#