Path B
Path B
Path B
cd /var/www/html/
ls ---> blank
cd
this is for CM
wget http://archive.cloudera.com/cm5/repo-as-tarball/5.4.0/cm5.4.0-centos6.tar.gz
---> downlod to home folder
wget http://archive.cloudera.com/cm5/repo-as-tarball/5.4.0/cm5.4.0-centos6.tar.gz
10.0.0./cm in browser --> its means it will make this untar & place it on his
server
Click on cloudera-manager-repo -->> this is repo of CM & jenkins comply dont want
this
cd /var/www/html/
ls
cm
cd cm
ls
cat cm.repo
cd /var/www/html/
===================================================================================
=====
===================================================================================
=====
For CDH -> both cm & CDH folder are as same place - > cd /var/www/html/
===================================================================================
==
create folder for CDH
cd /var/www/html/
sudo mkdir cdh5.4.0
ls
cd cdh5.4.0
For CDH download this in this cd cdh5.4.0
ls
du -h cdh version --> Download all the repos in this floders
cd /etc/yum.repos.d/
sudo nano cloudera-manager.repo --> Create the file for CM with change the
ip/fqdn address as your CM machine
[cloudera-manager]
name=cloudera manager
baseurl=http://ip-10-0-1-135.ec2.internal/cm/5.4.0/
gpgcheck = 0
gpgkey =http://ip-10-0-1-135.ec2.internal/cm/RPM-GPG-KEY-cloudera
-->> Ensure the list has the cloudera manager repo <<--
cd
clear
Setup MYSQL SERVER ON local machine -->>MYSQL SERVER ON SAME LOCAL MACHINE
sudo yum install mysql-server -y --> yum will take mysql server from his own
repo
sudo yum install -y mysql-connector-java -->jdbc driver installed for onw machine
INSTALLATION OF SQL:
===============================================
login to mysql :-
mysql -u root -p
password- 123
show databases;
Exit
tail -f /var/log/cloudera-scm-server/cloudera-scm-server.logs
sudo /usr/share/cmf/schema/scm_prepare_database.sh mysql -h ip-10-0-
1.122.ec2.internal -p 3306 -u temp -p --scm-host ip-10-0-0.152.ec2.internal scmdb
scmuser
password - p@ssw0rd
login to databases
exit;
================================================================
================================================================
tail -f /var/log/cloudera-scm-server/cloudera-scm-server.log
mysql -u root -p
exit
=============================
in another duplicate shall
sudo less /etc/cloudera-scm-server/db.properties --> to verify DB is create or
not.
After 2 min goto yourcmip:7180 Log in paste the host IPS, Your CM host will appear
in Managed hosts and won’t be
included in the cluster.
Take more machines same like this as prerequisite is completed as 4 machine 1 for
SG & 3 for datanodes
On the Cluster INSTALLATION page for CDH version go to more options and remove all
genkins parcel address and at the local parcel repo box add
and continue
pwd
for CM
http://10.0.1.135/cm/5 put proper ip in custome repo adresss & paste
test conection
Use powerWindow
cd /Downloads
cat clustercmd.sh
to put jdbc connector set to all machines us script with create file as cluster
with all ip addresses
====================================================
====================================================
No kernel versions that are known to be bad are running.
Cloudera recommends setting /proc/sys/vm/swappiness to at most 10. Current setting
is 60. Use the sysctl command
to change this setting at runtime and edit /etc/sysctl.conf for this setting to be
saved after a reboot.
You may continue with installation, but you may run into issues with Cloudera
Manager reporting that
your hosts are unhealthy because they are swapping. The following hosts are
affected:
No performance concerns with Transparent Huge Pages settings.