You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by Alexander Alten-Lorenz <wg...@gmail.com> on 2013/05/23 11:36:45 UTC
Ambari install fails on single VM
Hi,
From agent-log:
INFO 2013-05-23 11:21:32,389 Controller.py:116 - No commands from the server : []
INFO 2013-05-23 11:21:32,389 Controller.py:116 - No commands from the server : []
INFO 2013-05-23 11:21:32,389 Controller.py:177 - No commands sent from the Server.
From Ambari's GUI:
=> Confirm Host step: FAILED
Log (click FAILED):
STDOUT
STDERR
STDOUT
STDERR
STDOUT
Verifying Python version compatibility...
Using python /usr/bin/python2.6
Checking for previously running Ambari Agent...
ERROR: ambari-agent already running
Check /var/run/ambari-agent/ambari-agent.pid for PID.
('hostname: ok hadoop2.alo.alt
ip: ok 192.168.56.102
cpu: ok Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
memory: ok 5.67687 GB
disks: ok
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_hadoop5-lv_root
50G 8.4G 39G 18% /
tmpfs 2.9G 0 2.9G 0% /dev/shm
/dev/sda1 485M 114M 346M 25% /boot
/dev/mapper/vg_hadoop5-lv_home
45G 231M 43G 1% /home
os: ok CentOS release 6.4 (Final)
iptables: ok
Chain INPUT (policy ACCEPT 203K packets, 33M bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 200K packets, 28M bytes)
pkts bytes target prot opt in out source destination
selinux: ok SELINUX=disabled
SELINUXTYPE=targeted
yum: ok yum-3.2.29-40.el6.centos.noarch
rpm: ok rpm-4.8.0-32.el6.x86_64
openssl: ok openssl-1.0.0-27.el6_4.2.x86_64
curl: ok curl-7.19.7-36.el6_4.x86_64
wget: ok wget-1.12-1.8.el6.x86_64
net-snmp: ok net-snmp-5.5-44.el6_4.1.x86_64
net-snmp-utils: ok net-snmp-utils-5.5-44.el6_4.1.x86_64
ntpd: UNAVAILABLE
ruby: ok ruby-1.8.7.352-10.el6_4.x86_64
puppet: UNAVAILABLE
nagios: UNAVAILABLE
ganglia: ok ganglia-3.1.7-6.el6.x86_64
passenger: UNAVAILABLE
hadoop: UNAVAILABLE
yum_repos: ok
AMBARI-1.x Ambari 1.x 5
HDP-UTILS-1.1.0.15 Hortonworks Data Platform Utils Version - HDP-UTILS-1. 52
zypper_repos: UNAVAILABLE
', None)
(" u'responseId': 295,
u'restartAgent': False,
u'statusCommands': []}
INFO 2013-05-23 11:19:01,587 Controller.py:116 - No commands from the server : []
INFO 2013-05-23 11:19:01,587 Controller.py:116 - No commands from the server : []
INFO 2013-05-23 11:19:01,587 Controller.py:177 - No commands sent from the Server.
INFO 2013-05-23 11:19:11,598 Heartbeat.py:59 - Heartbeat dump: {'componentStatus': [],
'hostname': 'hadoop2.alo.alt',
'nodeStatus': {'cause': 'NONE', 'status': 'HEALTHY'},
'reports': [],
'responseId': 295,
'timestamp': 1369300751597}
INFO 2013-05-23 11:19:11,644 Controller.py:150 - Got server response: {u'executionCommands': [],
u'registrationCommand': None,
u'responseId': 296,
u'restartAgent': False,
u'statusCommands': []}
INFO 2013-05-23 11:19:11,644 Controller.py:116 - No commands from the server : []
INFO 2013-05-23 11:19:11,644 Controller.py:116 - No commands from the server : []
INFO 2013-05-23 11:19:11,644 Controller.py:177 - No commands sent from the Server.
", None)
STDERR
Connection to hadoop2 closed.
Registering with the server...
Registration with the server failed.
--------------------------
Questions:
- why does Ambari not install missing packets (get the required repo, yum clean all, yum install "foo" -y)
- what causes Ambari server to think there is not agent, when the agent say "No commands from server"?
Thoughts?
Best,
Alex
--
Alexander Alten-Lorenz
http://mapredit.blogspot.com
German Hadoop LinkedIn Group: http://goo.gl/N8pCF
Re: Ambari install fails on single VM
Posted by Alexander Alten-Lorenz <wg...@gmail.com>.
Fixed.
Ambari uses FQDN, not shortnames.
On May 23, 2013, at 11:36 AM, Alexander Alten-Lorenz <wg...@gmail.com> wrote:
> Hi,
>
>
> From agent-log:
> INFO 2013-05-23 11:21:32,389 Controller.py:116 - No commands from the server : []
> INFO 2013-05-23 11:21:32,389 Controller.py:116 - No commands from the server : []
> INFO 2013-05-23 11:21:32,389 Controller.py:177 - No commands sent from the Server.
>
> From Ambari's GUI:
> => Confirm Host step: FAILED
>
> Log (click FAILED):
>
> STDOUT
>
> STDERR
> STDOUT
>
> STDERR
> STDOUT
> Verifying Python version compatibility...
> Using python /usr/bin/python2.6
> Checking for previously running Ambari Agent...
> ERROR: ambari-agent already running
> Check /var/run/ambari-agent/ambari-agent.pid for PID.
> ('hostname: ok hadoop2.alo.alt
> ip: ok 192.168.56.102
> cpu: ok Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
> Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
> Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
> Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
> memory: ok 5.67687 GB
> disks: ok
> Filesystem Size Used Avail Use% Mounted on
> /dev/mapper/vg_hadoop5-lv_root
> 50G 8.4G 39G 18% /
> tmpfs 2.9G 0 2.9G 0% /dev/shm
> /dev/sda1 485M 114M 346M 25% /boot
> /dev/mapper/vg_hadoop5-lv_home
> 45G 231M 43G 1% /home
> os: ok CentOS release 6.4 (Final)
> iptables: ok
> Chain INPUT (policy ACCEPT 203K packets, 33M bytes)
> pkts bytes target prot opt in out source destination
>
> Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
> pkts bytes target prot opt in out source destination
>
> Chain OUTPUT (policy ACCEPT 200K packets, 28M bytes)
> pkts bytes target prot opt in out source destination
> selinux: ok SELINUX=disabled
> SELINUXTYPE=targeted
> yum: ok yum-3.2.29-40.el6.centos.noarch
> rpm: ok rpm-4.8.0-32.el6.x86_64
> openssl: ok openssl-1.0.0-27.el6_4.2.x86_64
> curl: ok curl-7.19.7-36.el6_4.x86_64
> wget: ok wget-1.12-1.8.el6.x86_64
> net-snmp: ok net-snmp-5.5-44.el6_4.1.x86_64
> net-snmp-utils: ok net-snmp-utils-5.5-44.el6_4.1.x86_64
> ntpd: UNAVAILABLE
> ruby: ok ruby-1.8.7.352-10.el6_4.x86_64
> puppet: UNAVAILABLE
> nagios: UNAVAILABLE
> ganglia: ok ganglia-3.1.7-6.el6.x86_64
> passenger: UNAVAILABLE
> hadoop: UNAVAILABLE
> yum_repos: ok
> AMBARI-1.x Ambari 1.x 5
> HDP-UTILS-1.1.0.15 Hortonworks Data Platform Utils Version - HDP-UTILS-1. 52
> zypper_repos: UNAVAILABLE
> ', None)
> (" u'responseId': 295,
> u'restartAgent': False,
> u'statusCommands': []}
> INFO 2013-05-23 11:19:01,587 Controller.py:116 - No commands from the server : []
> INFO 2013-05-23 11:19:01,587 Controller.py:116 - No commands from the server : []
> INFO 2013-05-23 11:19:01,587 Controller.py:177 - No commands sent from the Server.
> INFO 2013-05-23 11:19:11,598 Heartbeat.py:59 - Heartbeat dump: {'componentStatus': [],
> 'hostname': 'hadoop2.alo.alt',
> 'nodeStatus': {'cause': 'NONE', 'status': 'HEALTHY'},
> 'reports': [],
> 'responseId': 295,
> 'timestamp': 1369300751597}
> INFO 2013-05-23 11:19:11,644 Controller.py:150 - Got server response: {u'executionCommands': [],
> u'registrationCommand': None,
> u'responseId': 296,
> u'restartAgent': False,
> u'statusCommands': []}
> INFO 2013-05-23 11:19:11,644 Controller.py:116 - No commands from the server : []
> INFO 2013-05-23 11:19:11,644 Controller.py:116 - No commands from the server : []
> INFO 2013-05-23 11:19:11,644 Controller.py:177 - No commands sent from the Server.
> ", None)
>
> STDERR
> Connection to hadoop2 closed.
> Registering with the server...
> Registration with the server failed.
>
> --------------------------
>
> Questions:
> - why does Ambari not install missing packets (get the required repo, yum clean all, yum install "foo" -y)
> - what causes Ambari server to think there is not agent, when the agent say "No commands from server"?
>
> Thoughts?
>
> Best,
> Alex
>
>
>
> --
> Alexander Alten-Lorenz
> http://mapredit.blogspot.com
> German Hadoop LinkedIn Group: http://goo.gl/N8pCF
>
--
Alexander Alten-Lorenz
http://mapredit.blogspot.com
German Hadoop LinkedIn Group: http://goo.gl/N8pCF