ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mehra, Mohit" <mme...@chla.usc.edu>
Subject Ambari 1.7 + Docker Image Setup Failures
Date Mon, 30 Mar 2015 20:07:02 GMT
Hi,
I have a docker image for Ambari that I am trying to setup. I got the instructions at https://github.com/sequenceiq/docker-ambari.

I am getting the following errors on the Install/Start/Test step. Please suggest if there
is something that needs to be configured specially to address this issue.

Thanks,
Mohit


2015-03-30 14:54:41,615 - Error while executing command 'install':
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 105, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.1/services/STORM/package/scripts/drpc_server.py",
line 30, in install
    self.install_packages(env)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 162, in install_packages
    Package(name)
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149,
in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115,
in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py",
line 40, in action_install
    self.install_package(package_name)
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/yumrpm.py",
line 36, in install_package
    shell.checked_call(cmd)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 35, in checked_call
    return _call(command, logoutput, True, cwd, env, preexec_fn, user, wait_for_finish, timeout)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 90, in _call
    raise Fail(err_msg)
Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install storm' returned 1. Error: Cannot retrieve
repository metadata (repomd.xml) for repository: HDP-2.1.2.1. Please verify its path and try
again

stdout:   /var/lib/ambari-agent/data/output-28.txt

2015-03-30 14:54:40,410 - Package['unzip'] {}
2015-03-30 14:54:40,430 - Skipping installing existent package unzip
2015-03-30 14:54:40,430 - Package['curl'] {}
2015-03-30 14:54:40,450 - Skipping installing existent package curl
2015-03-30 14:54:40,451 - Package['net-snmp-utils'] {}
2015-03-30 14:54:40,469 - Skipping installing existent package net-snmp-utils
2015-03-30 14:54:40,470 - Package['net-snmp'] {}
2015-03-30 14:54:40,490 - Skipping installing existent package net-snmp
2015-03-30 14:54:40,491 - Execute['mkdir -p /tmp/HDP-artifacts/ ;   curl -kf   --retry 10
http://amb0.mycorp.kom:8080/resources//jdk-7u45-linux-x64.tar.gz -o /tmp/HDP-artifacts//jdk-7u45-linux-x64.tar.gz']
{'environment': ..., 'not_if': 'test -e /usr/jdk64/jdk1.7.0_45/bin/java', 'path': ['/bin',
'/usr/bin/']}
2015-03-30 14:54:40,501 - Skipping Execute['mkdir -p /tmp/HDP-artifacts/ ;   curl -kf   --retry
10 http://amb0.mycorp.kom:8080/resources//jdk-7u45-linux-x64.tar.gz -o /tmp/HDP-artifacts//jdk-7u45-linux-x64.tar.gz']
due to not_if
2015-03-30 14:54:40,501 - Execute['mkdir -p /usr/jdk64 ; cd /usr/jdk64 ; tar -xf /tmp/HDP-artifacts//jdk-7u45-linux-x64.tar.gz
> /dev/null 2>&1'] {'not_if': 'test -e /usr/jdk64/jdk1.7.0_45/bin/java', 'path':
['/bin', '/usr/bin/']}
2015-03-30 14:54:40,511 - Skipping Execute['mkdir -p /usr/jdk64 ; cd /usr/jdk64 ; tar -xf
/tmp/HDP-artifacts//jdk-7u45-linux-x64.tar.gz > /dev/null 2>&1'] due to not_if
2015-03-30 14:54:40,511 - Execute['mkdir -p /tmp/HDP-artifacts/;     curl -kf --retry 10 
   http://amb0.mycorp.kom:8080/resources//UnlimitedJCEPolicyJDK7.zip -o /tmp/HDP-artifacts//UnlimitedJCEPolicyJDK7.zip']
{'environment': ..., 'not_if': 'test -e /tmp/HDP-artifacts//UnlimitedJCEPolicyJDK7.zip', 'ignore_failures':
True, 'path': ['/bin', '/usr/bin/']}
2015-03-30 14:54:40,523 - Skipping Execute['mkdir -p /tmp/HDP-artifacts/;     curl -kf --retry
10     http://amb0.mycorp.kom:8080/resources//UnlimitedJCEPolicyJDK7.zip -o /tmp/HDP-artifacts//UnlimitedJCEPolicyJDK7.zip']
due to not_if
2015-03-30 14:54:40,523 - Group['hadoop'] {}
2015-03-30 14:54:40,524 - Modifying group hadoop
2015-03-30 14:54:40,546 - Group['users'] {}
2015-03-30 14:54:40,546 - Modifying group users
2015-03-30 14:54:40,569 - Group['users'] {}
2015-03-30 14:54:40,569 - Modifying group users
2015-03-30 14:54:40,591 - User['ambari-qa'] {'gid': 'hadoop', 'groups': [u'users']}
2015-03-30 14:54:40,591 - Modifying user ambari-qa
2015-03-30 14:54:40,608 - File['/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'),
'mode': 0555}
2015-03-30 14:54:40,609 - Execute['/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa
2>/dev/null'] {'not_if': 'test $(id -u ambari-qa) -gt 1000'}
2015-03-30 14:54:40,621 - Skipping Execute['/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa
2>/dev/null'] due to not_if
2015-03-30 14:54:40,621 - User['hbase'] {'gid': 'hadoop', 'groups': [u'hadoop']}
2015-03-30 14:54:40,622 - Modifying user hbase
2015-03-30 14:54:40,641 - File['/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'),
'mode': 0555}
2015-03-30 14:54:40,641 - Execute['/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/etc/resolv.conf/hadoop/hbase
2>/dev/null'] {'not_if': 'test $(id -u hbase) -gt 1000'}
2015-03-30 14:54:40,654 - Skipping Execute['/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/etc/resolv.conf/hadoop/hbase
2>/dev/null'] due to not_if
2015-03-30 14:54:40,654 - Group['nagios'] {}
2015-03-30 14:54:40,654 - Modifying group nagios
2015-03-30 14:54:40,678 - User['nagios'] {'gid': 'nagios'}
2015-03-30 14:54:40,678 - Modifying user nagios
2015-03-30 14:54:40,695 - User['oozie'] {'gid': 'hadoop'}
2015-03-30 14:54:40,695 - Modifying user oozie
2015-03-30 14:54:40,714 - User['hcat'] {'gid': 'hadoop'}
2015-03-30 14:54:40,714 - Modifying user hcat
2015-03-30 14:54:40,730 - User['hcat'] {'gid': 'hadoop'}
2015-03-30 14:54:40,731 - Modifying user hcat
2015-03-30 14:54:40,748 - User['hive'] {'gid': 'hadoop'}
2015-03-30 14:54:40,748 - Modifying user hive
2015-03-30 14:54:40,764 - User['yarn'] {'gid': 'hadoop'}
2015-03-30 14:54:40,765 - Modifying user yarn
2015-03-30 14:54:40,782 - Group['nobody'] {}
2015-03-30 14:54:40,782 - Modifying group nobody
2015-03-30 14:54:40,805 - Group['nobody'] {}
2015-03-30 14:54:40,806 - Modifying group nobody
2015-03-30 14:54:40,826 - User['nobody'] {'gid': 'hadoop', 'groups': [u'nobody']}
2015-03-30 14:54:40,826 - Modifying user nobody
2015-03-30 14:54:40,845 - User['nobody'] {'gid': 'hadoop', 'groups': [u'nobody']}
2015-03-30 14:54:40,845 - Modifying user nobody
2015-03-30 14:54:40,865 - User['hdfs'] {'gid': 'hadoop', 'groups': [u'hadoop']}
2015-03-30 14:54:40,865 - Modifying user hdfs
2015-03-30 14:54:40,885 - User['mapred'] {'gid': 'hadoop', 'groups': [u'hadoop']}
2015-03-30 14:54:40,885 - Modifying user mapred
2015-03-30 14:54:40,904 - User['zookeeper'] {'gid': 'hadoop'}
2015-03-30 14:54:40,904 - Modifying user zookeeper
2015-03-30 14:54:40,921 - User['storm'] {'gid': 'hadoop', 'groups': [u'hadoop']}
2015-03-30 14:54:40,922 - Modifying user storm
2015-03-30 14:54:40,940 - User['falcon'] {'gid': 'hadoop', 'groups': [u'hadoop']}
2015-03-30 14:54:40,940 - Modifying user falcon
2015-03-30 14:54:40,959 - User['tez'] {'gid': 'hadoop', 'groups': [u'users']}
2015-03-30 14:54:40,960 - Modifying user tez
2015-03-30 14:54:41,159 - Repository['HDP-2.1'] {'action': ['create'], 'mirror_list': None,
'base_url': 'http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.1.7.0', 'components':
['HDP', 'main'], 'repo_file_name': 'HDP'}
2015-03-30 14:54:41,164 - File['/etc/yum.repos.d/HDP.repo'] {'content': InlineTemplate(...)}
2015-03-30 14:54:41,165 - Package['storm'] {}
2015-03-30 14:54:41,184 - Installing package storm ('/usr/bin/yum -d 0 -e 0 -y install storm')
2015-03-30 14:54:41,615 - Error while executing command 'install':
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 105, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.1/services/STORM/package/scripts/drpc_server.py",
line 30, in install
    self.install_packages(env)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 162, in install_packages
    Package(name)
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149,
in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115,
in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py",
line 40, in action_install
    self.install_package(package_name)
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/yumrpm.py",
line 36, in install_package
    shell.checked_call(cmd)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 35, in checked_call
    return _call(command, logoutput, True, cwd, env, preexec_fn, user, wait_for_finish, timeout)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 90, in _call
    raise Fail(err_msg)
Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install storm' returned 1. Error: Cannot retrieve
repository metadata (repomd.xml) for repository: HDP-2.1.2.1. Please verify its path and try
again

Thanks,
Mohit Mehra
Software Architect, VPICU
Children's Hospital Los Angeles



---------------------------------------------------------------------
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, 
is for the sole use of the intended recipient(s) and may contain confidential
or legally privileged information. Any unauthorized review, use, disclosure
or distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of this original message.  

---------------------------------------------------------------------


Mime
View raw message