ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ILOGLU, EMINE" <ei9...@att.com>
Subject RE: ambari 1.5.1 install problem ..
Date Wed, 23 Apr 2014 19:37:33 GMT
Thank you very much Sumit! I found the problem, an internal script was overwriting ambari-agent.ini
file right after yum install with an older version.  I will run it with the latest and tolerate_download_failures=true
settings should solve the problem.
Emine


From: Sumit Mohanty [mailto:smohanty@hortonworks.com]
Sent: Wednesday, April 23, 2014 3:32 PM
To: user@ambari.apache.org
Subject: Re: ambari 1.5.1 install problem ..

That seems odd.

Can you check the ambari.repo file at /etc/yum.repos.d (assuming its rhel or centos) and let
me know the content?

Did you fresh install or do an upgrade? What OS it is?

Can you also check if you have the folder /var/lib/ambari-agent/cache/stacks?

-Sumit

On Wed, Apr 23, 2014 at 12:27 PM, ILOGLU, EMINE <ei947t@att.com<mailto:ei947t@att.com>>
wrote:
[ei947t@zlxv2263 1.4-3]$ rpm -qa |grep ambari-agent
ambari-agent-1.5.1.110-1.x86_64
[ei947t@zlxv2263 1.4-3]$ rpm -qf /etc/ambari-agent/conf/ambari-agent.ini
ambari-agent-1.5.1.110-1.x86_64



From: Sumit Mohanty [mailto:smohanty@hortonworks.com<mailto:smohanty@hortonworks.com>]
Sent: Wednesday, April 23, 2014 3:25 PM

To: user@ambari.apache.org<mailto:user@ambari.apache.org>
Subject: Re: ambari 1.5.1 install problem ..

It should have been installed when you install ambari-agent on the host.

Can you check the output of the two commands:

rpm -qa | grep ambari-agent

rpm -qf /etc/ambari-agent/conf/ambari-agent.ini

-Sumit


On Wed, Apr 23, 2014 at 12:13 PM, ILOGLU, EMINE <ei947t@att.com<mailto:ei947t@att.com>>
wrote:
That sure explains! Thanks.. Where can I find the new version of ambari-agent.ini?

Thanks a lot

From: Sumit Mohanty [mailto:smohanty@hortonworks.com<mailto:smohanty@hortonworks.com>]
Sent: Wednesday, April 23, 2014 3:08 PM

To: user@ambari.apache.org<mailto:user@ambari.apache.org>
Subject: Re: ambari 1.5.1 install problem ..

That file seems to be from an older version. For example this is what I see under [agent]
when I did a clean install of 1.5.1

[agent]
prefix=/var/lib/ambari-agent/data
;loglevel=(DEBUG/INFO)
loglevel=INFO
data_cleanup_interval=86400
data_cleanup_max_age=2592000
ping_port=8670
cache_dir=/var/lib/ambari-agent/cache
tolerate_download_failures=true

Rpm details:
rpm -qa | grep ambari-agent
ambari-agent-1.5.1.110-1.x86_64

rpm -qf ambari-agent.ini
ambari-agent-1.5.1.110-1.x86_64

-Sumit


On Wed, Apr 23, 2014 at 11:40 AM, ILOGLU, EMINE <ei947t@att.com<mailto:ei947t@att.com>>
wrote:
Here is etc/ambari-agent/conf/ambari-agent.ini and no errors on the log file.

.....
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific

[server]
hostname=zlxv2256.vci.att.com<http://zlxv2256.vci.att.com> #AMBARI SERVER
url_port=8440
secured_url_port=8441

[agent]
prefix=/var/lib/ambari-agent/data
;loglevel=(DEBUG/INFO)
loglevel=INFO

[stack]
installprefix=/var/ambari-agent/
upgradeScriptsDir=/var/lib/ambari-agent/upgrade_stack

[puppet]
puppetmodules=/var/lib/ambari-agent/puppet
ruby_home=/usr/lib/ambari-agent/lib/ruby-1.8.7-p370
puppet_home=/usr/lib/ambari-agent/lib/puppet-2.7.9
facter_home=/usr/lib/ambari-agent/lib/facter-1.6.10

[command]
maxretries=2
sleepBetweenRetries=1

[security]
keysdir=/var/lib/ambari-agent/keys
server_crt=ca.crt
passphrase_env_var_name=AMBARI_PASSPHRASE

[services]
pidLookupPath=/var/run/

[heartbeat]
state_interval=6
dirs=/etc/hadoop,/etc/hadoop/conf,/etc/hbase,/etc/hcatalog,/etc/hive,/etc/oozie,
  /etc/sqoop,/etc/ganglia,/etc/nagios,
  /var/run/hadoop,/var/run/zookeeper,/var/run/hbase,/var/run/templeton,/var/run/oozie,
  /var/log/hadoop,/var/log/zookeeper,/var/log/hbase,/var/run/templeton,/var/log/hive,
  /var/log/nagios
rpms=nagios,ganglia,
  hadoop,hadoop-lzo,hbase,oozie,sqoop,pig,zookeeper,hive,libconfuse,ambari-log4j

From: Sumit Mohanty [mailto:smohanty@hortonworks.com<mailto:smohanty@hortonworks.com>]
Sent: Wednesday, April 23, 2014 2:35 PM
To: user@ambari.apache.org<mailto:user@ambari.apache.org>
Subject: Re: ambari 1.5.1 install problem ..

Can you also share /etc/ambari-agent/conf/ambari-agent.ini and check if there is any Error/Warning
in /var/log/ambari-agent/ambari-agent.log?

-Sumit

On Wed, Apr 23, 2014 at 11:30 AM, Erin Boyd <eboyd@redhat.com<mailto:eboyd@redhat.com>>
wrote:
Hi EI,
Is your agent.ini file pointing to the server?
Can you agent get out on the network? Can you yum install anything from the agent node?
Erin


----- Original Message -----
From: "EMINE ILOGLU" <ei947t@att.com<mailto:ei947t@att.com>>
To: user@ambari.apache.org<mailto:user@ambari.apache.org>
Sent: Wednesday, April 23, 2014 12:13:50 PM
Subject: RE: ambari 1.5.1  install problem ..

Hi,

I have installed the ambari server without any problems, but when I install ambari-agent,
I get the following. Any ideas?

Thanks!
EI

Resolving Dependencies
--> Running transaction check
---> Package ambari-agent.x86_64 0:1.5.1.110-1 will be installed
---> Package ambari-log4j.noarch 0:1.5.1.110-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package            Arch         Version             Repository            Size
================================================================================
Installing:
ambari-agent       x86_64       1.5.1.110-1         Updates-ambari       6.7 M
ambari-log4j       noarch       1.5.1.110-1         Updates-ambari       536 k

Transaction Summary
================================================================================
Install       2 Package(s)

Total download size: 7.2 M
Installed size: 28 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                            59 MB/s | 7.2 MB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing : ambari-agent-1.5.1.110-1.x86_64                              1/2

  Installing : ambari-log4j-1.5.1.110-1.noarch                              2/2
Installed products updated.

Installed:
  ambari-agent.x86_64 0:1.5.1.110-1      ambari-log4j.noarch 0:1.5.1.110-1

Complete!
+ '[' -e /usr/sbin/ambari-agent ']'
+ mkdir /tmp/ambari-agent
+ echo 'HDP_AMBARI_SERVER = zlxv2256.vci.att.com<http://zlxv2256.vci.att.com>'
HDP_AMBARI_SERVER = zlxv2256.vci.att.com<http://zlxv2256.vci.att.com>
+ sh /opt/app/swm/aftswmnode/stage/zlxv2263/com/att/hortonworks/ambari-agent/1.4-3/common/utils/findreplace.sh
/opt/app/ambari-agent/ambari-agent.ini /etc/ambari-agent/conf/ambari-agent.ini
++ ps -ef
++ grep '^root .*/ambari_agent/AmbariAgent.py'
++ grep -v grep
+ PS_CHK=
+ cd /var/tmp
+ '[' -n '' ']'
+ /usr/sbin/ambari-agent start
Verifying Python version compatibility...
Using python  /usr/bin/python2.6
Checking for previously running Ambari Agent...
Starting ambari-agent
Verifying ambari-agent process status...
ERROR: ambari-agent start failed. For more details, see /var/log/ambari-agent/ambari-agent.out:
====================
  File "/usr/lib/python2.6/site-packages/ambari_agent/ActionQueue.py", line 81, in __init__
    controller)
  File "/usr/lib/python2.6/site-packages/ambari_agent/CustomServiceOrchestrator.py", line
55, in __init__
    self.file_cache = FileCache(config)
  File "/usr/lib/python2.6/site-packages/ambari_agent/FileCache.py", line 55, in __init__
    config.get('agent','tolerate_download_failures').lower() == 'true'
  File "/usr/lib64/python2.6/ConfigParser.py", line 321, in get
    raise NoOptionError(option, section)
NoOptionError: No option 'tolerate_download_failures' in section: 'agent'

====================
Agent out at: /var/log/ambari-agent/ambari-agent.out
Agent log at: /var/log/ambari-agent/ambari-agent.log


CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to which it is addressed
and may contain information that is confidential, privileged and exempt from disclosure under
applicable law. If the reader of this message is not the intended recipient, you are hereby
notified that any printing, copying, dissemination, distribution, disclosure or forwarding
of this communication is strictly prohibited. If you have received this communication in error,
please contact the sender immediately and delete it from your system. Thank You.


CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to which it is addressed
and may contain information that is confidential, privileged and exempt from disclosure under
applicable law. If the reader of this message is not the intended recipient, you are hereby
notified that any printing, copying, dissemination, distribution, disclosure or forwarding
of this communication is strictly prohibited. If you have received this communication in error,
please contact the sender immediately and delete it from your system. Thank You.


CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to which it is addressed
and may contain information that is confidential, privileged and exempt from disclosure under
applicable law. If the reader of this message is not the intended recipient, you are hereby
notified that any printing, copying, dissemination, distribution, disclosure or forwarding
of this communication is strictly prohibited. If you have received this communication in error,
please contact the sender immediately and delete it from your system. Thank You.


CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to which it is addressed
and may contain information that is confidential, privileged and exempt from disclosure under
applicable law. If the reader of this message is not the intended recipient, you are hereby
notified that any printing, copying, dissemination, distribution, disclosure or forwarding
of this communication is strictly prohibited. If you have received this communication in error,
please contact the sender immediately and delete it from your system. Thank You.

Mime
View raw message