Support Questions

Find answers, ask questions, and share your expertise

Ambari setup stuck at step 3

avatar

Hi,

While installing Ambari 2.6 to setup a 2 node HDP cluster i was stuck at step 3 saying "Please wait while the hosts are being checked for potential problems..". i have checked the ambari-server.log and it says "Unable to lookup the cluster by ID; assuming that there is no cluster and therefore no configs for this execution command: Cluster not found, clusterName=clusterID=-1"

Here is the excerpt from the ambari-server.log

13 Nov 2017 13:09:24,422 WARN [ambari-action-scheduler] ExecutionCommandWrapper:225 - Unable to lookup the cluster by ID; assuming that there is no cluster and therefore no configs for this execution command: Cluster not found, clusterName=clusterID=-1 13 Nov 2017 13:09:25,427 WARN [ambari-action-scheduler] ExecutionCommandWrapper:225 - Unable to lookup the cluster by ID; assuming that there is no cluster and therefore no configs for this execution command: Cluster not found, clusterName=clusterID=-1 13 Nov 2017 13:11:11,433 INFO [pool-18-thread-1] MetricsServiceImpl:65 - Attempting to initialize metrics sink 13 Nov 2017 13:11:11,434 INFO [pool-18-thread-1] MetricsServiceImpl:81 - ********* Configuring Metric Sink ********** 13 Nov 2017 13:11:11,434 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured. 13 Nov 2017 13:16:11,434 INFO [pool-18-thread-1] MetricsServiceImpl:65 - Attempting to initialize metrics sink 13 Nov 2017 13:16:11,435 INFO [pool-18-thread-1] MetricsServiceImpl:81 - ********* Configuring Metric Sink ********** 13 Nov 2017 13:16:11,435 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured.

pls help

i have followed the steps in hortonworks youtube channel on setting up the cluster but dont know what i am missing.

Thanks

Rahul

34 REPLIES 34

avatar
Contributor
@Rahul Narayanan

Kindly check on your host when you write command $hostname the output exactly matches the fqdn you used specified in repo's.

If not then configure in /etc/sysconfig/network

NETWORKING=yes

HOSTNAME=fqdn

NTPSERVERARGS=iburst

Hope this helps you.

avatar

@Rohit Sharma

That was my first step while setting up the cluster

If I type hostname -f

I get xxxxxx.ad.yyyyyy.com

It’s the same that I gave in all my repo file as well

avatar

@Rohit Sharma

But inside /etc/sysconfig/network

i have only following two

NETWORKING=yes

HOSTNAME=fqdn

i don't have NTPSERVERARGS is it a problem that i have to address

avatar
Contributor

@Rahul Narayanan

Use of NTPSERVERARGS=iburst Refer this link hope it helps you

avatar
Master Mentor

@Rahul Narayanan

Can you run the

commands one after the other and proceed with your cluster creation

# ambari-server stop 
# ambari-server reset 
# ambari-server start

Hope that helps

avatar

@Geoffrey Shelton Okot

If u see the previous threads I have done that several times and tried but no good

avatar
Master Mentor

@Rahul Narayanan

Have you seen my update?

avatar

@Geoffrey Shelton Okot

Yes sir I have seen your latest comment

avatar
Master Mentor

@Rahul Narayanan

Can you check whether your ambari & agent are running th esame version?

# rpm -qa | grep ambari

sample output

# rpm -qa | grep ambari
ambari-metrics-monitor-2.5.2.0-298.x86_64
ambari-agent-2.5.2.0-298.x86_64
ambari-metrics-grafana-2.5.2.0-298.x86_64
ambari-infra-solr-2.5.2.0-298.noarch
ambari-infra-solr-client-2.5.2.0-298.noarch
ambari-metrics-collector-2.5.2.0-298.x86_64
ambari-server-2.5.2.0-298.x86_64
ambari-metrics-hadoop-sink-2.5.2.0-298.x86_64

avatar

@Geoffrey Shelton Okot

when i run the above command

i get only

ambari-server-2.6.0.0-267.x86_64
ambari-agent-2.6.0.0-267.x86_64