Home >Operation and Maintenance >Linux Operation and Maintenance >Offline installation of Cloudera Manager and Cloudera Hadoop on CentOS6.5

Offline installation of Cloudera Manager and Cloudera Hadoop on CentOS6.5

PHP中文网
PHP中文网Original
2017-07-14 18:16:051743browse

Cloudera Manager and Cloudera Hadoop

  1. Change hostname/turn off firewall/turn off selinux/ssh key-free login/NTP synchronization

  2. Download relevant files (it is recommended that the CM and CDH versions be consistent; also pay attention to the compatibility of CDH and JDK versions)

  • cloudera-manager.repo a configuration file
  • cm install installation script
  • cm rpms The local source file of rpm (you can also choose to download the tar file and decompress it directly)
  • CDH parcel CDH installation file, for offline installation, just download the corresponding parcel, sha1 and manifest.json files. Foreign websites may be slow, so here we use the reverse proxy of HKUST
  1. Install CM (use local source files to install here, download the tar file will not be described again)

Perform the following steps on all nodes

  1. Copy the cloudera-manager.repo configuration file into the /etc/yum.repos.d/ folder

  2. Verify whether the repo file is valid

<code class="sourceCode bash"><span class="kw">yum</span> list<span class="kw">|grep</span> cloudera
<span class="co">#如果列出的不是你安装的版本,执行下面命令重试</span>
<span class="kw">yum</span> clean all 
<span class="kw">yum</span> list <span class="kw">|</span> <span class="kw">grep</span> cloudera</code>
  1. Put the rpm source file into any directory, execute yum -y install *.rpm, and install CM

Perform the following steps on the master node

  1. Copy the bin file to any directory on the master node
  2. Copy the parcel related files (3) into /opt/cloudera/parcel-repo. Note that the sha1 file is renamed to sha and do not modify the file content
  3. Give execution permissions and install CM./cloudera-manager-installer.bin

CM’s database

  1. There may be an error that there is no database. Non-production environments can bind the PostgreSQL database by default
  2. sudo yum install cloudera-manager-server-db-2
  3. sudo service cloudera-scm-server-db start
  4. Use other databases to see the official website

  5. Install CDH

  6. Enter the browsermaster_ip:7180, log in (account password defaults to admin)
  7. Select the corresponding CDH version that needs to be installed, which is basically the next step

  8. Possible errors

  • When installing CDH, it is stuck in the "Getting installation lock" process. Just delete the cache on the corresponding host.

cd /tmp

rm -rf scm_prepare_node.*

yum clean all

reboot

  • For other questions, please refer to the link or directly Google

  • For uninstallation, please refer to the official website

  1. refer to

The above is the detailed content of Offline installation of Cloudera Manager and Cloudera Hadoop on CentOS6.5. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn