Created 11-13-2017 10:37 AM
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
Created 11-16-2017 02:00 PM
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.
Created 11-16-2017 02:43 PM
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
Created 11-16-2017 04:55 PM
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
Created 11-20-2017 12:33 PM
Use of NTPSERVERARGS=iburst Refer this link hope it helps you
Created 11-16-2017 02:21 PM
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
Created 11-16-2017 04:22 PM
If u see the previous threads I have done that several times and tried but no good
Created 11-16-2017 03:43 PM
Have you seen my update?
Created 11-16-2017 04:25 PM
Yes sir I have seen your latest comment
Created 11-16-2017 09:38 PM
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
Created 11-30-2017 11:30 AM
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 |