Skip to main content
Harpreet_Singh
Silver ⭐️⭐️⭐️
November 4, 2019
Solved

Ambari Installation on CentOS 7

Hello Manager
 
We are in the process of implementing a data lake solution for different systems for data ingestion, reporting and analytics purpose.
 
I tried implementing Hortonworks Ambari 2.7.4 on CentOS 7, on single node. There were quite a few technical challenges faced during several installation attempts.
I would like to know if your company offers Ambari installation plans, including pricing details.
 
Please provide the details about same, so we can analyse it and proceed further accordingly.
 
Thanks & Regards
Harpreet Singh
Shelton
SheltonAnswer
Gold ⭐️⭐️⭐️
November 7, 2019

@Harpreet_Singh 

That's a warning you should be able to continue but run the below on all the hosts in the cluster if it isn't a single node cluster

Use sudo if you don't have root access but permitted in the sudoers 

# yum -y install chrony
# systemctl enable chronyd
#  systemctl start chronyd

 

That should works

17 replies

Shelton
Gold ⭐️⭐️⭐️
November 4, 2019

@Harpreet_Singh 

Of course, you have bought support Cloudera Engineers are ready to help you Cloudera Support at your service.

There is a dedicated team of Cloudera professionals that could help you in all aspects from architecting to the deployment of your environment implementing the best practices let alone help you manage and eventually do knowledge transfer if you plan to manage your clusters internally having said that the Cloudera community is there to help you acquire some technical knowledge to sort out technical problems in you Dev or  environments  without critical data.

Can you share the issues you encountered during your single node installation? It should be easy and straight forward. 

happy hadooping

Translate
Harpreet_Singh
Silver ⭐️⭐️⭐️
November 4, 2019

Hi Shelton

 

Thanks for the quick response. Infact I am trying to setup Hortonworks Ambari 2.7.4 on single node on a CentOS 7 machine, following the instructions in HW tutorials for ambari installation and administration

 

However I am stuck with installing client services for some components namely hive,oozie, druid etc and ranger/rangerkms to be particular

This time there is another issue, hosts not resolving during the initial steps.

 

I am quite open to any Linux distribution/version you suggest, that works perfectly for installation and which HW ambari version is stable for it.

Also wonder if there is one page document or pdf for complete installation and services setup process?

 

Thanks & appreciate your help.

Translate
Harpreet_Singh
Silver ⭐️⭐️⭐️
November 8, 2019

Thanks Shelton

 

I simply rebooted the server yesterday, went home, this morning it's all gone.

13 critical issues left out of the 53 total reported yesterday. Again your solution works !!

 

Regards

Translate
oudaysaada
Silver ⭐️⭐️⭐️
April 2, 2020

 

ambari installation full steps centos7

hostnamectl set-hostname your_hostname

systemctl get-default

systemctl set-default multi-user.target

nano(vim) /etc/hosts  ==>  add , ip_of_machine  name_of_machine

systemctl disable firewalld

vim /etc.sysconfig/network ==> HOSTNAME=machine_hostname

                                                    NETWORKING=yes

vim /etc/sysctl.conf ==> add, vm.swappiness=10

vim /etc/selinux/config ==> change ,selinux=disabled

yum install ntp

systemctl enable ntp

systemctl start ntp

 

vim /etc/rc.local==> enbale huge page :add ,

 

echo never > /sys/kernel/mm/transparent_hugepage/defrag

echo never > /sys/kernel/mm/transparent_hugepage/enabled; 

cd /etc/yum.repos.d

yum install wget

yum install ambari repo and favorite one here is 2.7.3

wget -nv http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.3.0/ambari.repo -O /etc/yum.repos.d/ambari.repo

 yum repolist

yum install ambari-server ambari-agent

vim /etc/ambari-agent/conf/ambari-agent.ini ==>hostname=your_hostname

                                       in security section add ==>force_https_protocol=PROTOCOL_TLSV1_2

ambari-server setup ==> dont enter advanced setup and install jdk

ambari-server start

go to the web page enter (hostname:8080) or machine_ip:8080

enjoy .

please accept the answer after trying;

best regards.

 

Translate