ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frans Thamura <fr...@meruvian.org>
Subject Error in mysql.
Date Mon, 25 May 2015 00:54:15 GMT
I got this error, when try to execute create new node.

I cannot retry it.

thx



stderr:   /var/lib/ambari-agent/data/errors-32.txt

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/mysql_server.py",
line 64, in <module>
    MysqlServer().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 214, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/mysql_server.py",
line 33, in install
    self.install_packages(env, exclude_packages=params.hive_exclude_packages)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 362, 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 152, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 118, in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py",
line 43, in action_install
    self.install_package(package_name, self.resource.use_repos)
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/yumrpm.py",
line 51, in install_package
    shell.checked_call(cmd, sudo=True, logoutput=self.get_logoutput())
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
line 69, in inner
    result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
line 87, in checked_call
    return _call(command, logoutput, True, cwd, env, preexec_fn, user,
wait_for_finish, timeout, path, sudo, on_new_line)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
line 205, in _call
    raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of '/usr/bin/yum
-d 0 -e 0 -y install mysql-server' returned 1. Error: Nothing to do

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

2015-05-25 01:50:59,778 -
Directory['/var/lib/ambari-agent/data/tmp/AMBARI-artifacts/']
{'recursive': True}
2015-05-25 01:50:59,779 -
File['/var/lib/ambari-agent/data/tmp/AMBARI-artifacts//jce_policy-8.zip']
{'content': DownloadSource('http://c7001.ambari.apache.org:8080/resources//jce_policy-8.zip')}
2015-05-25 01:50:59,779 - Not downloading the file from
http://c7001.ambari.apache.org:8080/resources//jce_policy-8.zip,
because /var/lib/ambari-agent/data/tmp/jce_policy-8.zip already exists
2015-05-25 01:50:59,780 - Group['spark'] {'ignore_failures': False}
2015-05-25 01:50:59,780 - Group['hadoop'] {'ignore_failures': False}
2015-05-25 01:50:59,780 - Group['users'] {'ignore_failures': False}
2015-05-25 01:50:59,780 - Group['knox'] {'ignore_failures': False}
2015-05-25 01:50:59,781 - User['hive'] {'gid': 'hadoop',
'ignore_failures': False, 'groups': [u'hadoop']}
2015-05-25 01:50:59,782 - User['storm'] {'gid': 'hadoop',
'ignore_failures': False, 'groups': [u'hadoop']}
2015-05-25 01:50:59,782 - User['zookeeper'] {'gid': 'hadoop',
'ignore_failures': False, 'groups': [u'hadoop']}
2015-05-25 01:50:59,783 - User['oozie'] {'gid': 'hadoop',
'ignore_failures': False, 'groups': [u'users']}
2015-05-25 01:50:59,783 - User['atlas'] {'gid': 'hadoop',
'ignore_failures': False, 'groups': [u'hadoop']}
2015-05-25 01:50:59,784 - User['ams'] {'gid': 'hadoop',
'ignore_failures': False, 'groups': [u'hadoop']}
2015-05-25 01:50:59,785 - User['falcon'] {'gid': 'hadoop',
'ignore_failures': False, 'groups': [u'hadoop']}
2015-05-25 01:50:59,785 - User['tez'] {'gid': 'hadoop',
'ignore_failures': False, 'groups': [u'users']}
2015-05-25 01:50:59,785 - User['accumulo'] {'gid': 'hadoop',
'ignore_failures': False, 'groups': [u'hadoop']}
2015-05-25 01:50:59,786 - User['mahout'] {'gid': 'hadoop',
'ignore_failures': False, 'groups': [u'hadoop']}
2015-05-25 01:50:59,786 - User['spark'] {'gid': 'hadoop',
'ignore_failures': False, 'groups': [u'hadoop']}
2015-05-25 01:50:59,787 - User['ambari-qa'] {'gid': 'hadoop',
'ignore_failures': False, 'groups': [u'users']}
2015-05-25 01:50:59,788 - User['flume'] {'gid': 'hadoop',
'ignore_failures': False, 'groups': [u'hadoop']}
2015-05-25 01:50:59,788 - User['kafka'] {'gid': 'hadoop',
'ignore_failures': False, 'groups': [u'hadoop']}
2015-05-25 01:50:59,788 - User['hdfs'] {'gid': 'hadoop',
'ignore_failures': False, 'groups': [u'hadoop']}
2015-05-25 01:50:59,789 - User['sqoop'] {'gid': 'hadoop',
'ignore_failures': False, 'groups': [u'hadoop']}
2015-05-25 01:50:59,789 - User['yarn'] {'gid': 'hadoop',
'ignore_failures': False, 'groups': [u'hadoop']}
2015-05-25 01:50:59,790 - User['mapred'] {'gid': 'hadoop',
'ignore_failures': False, 'groups': [u'hadoop']}
2015-05-25 01:50:59,790 - User['hbase'] {'gid': 'hadoop',
'ignore_failures': False, 'groups': [u'hadoop']}
2015-05-25 01:50:59,791 - User['knox'] {'gid': 'hadoop',
'ignore_failures': False, 'groups': [u'hadoop']}
2015-05-25 01:50:59,791 - User['hcat'] {'gid': 'hadoop',
'ignore_failures': False, 'groups': [u'hadoop']}
2015-05-25 01:50:59,792 -
File['/var/lib/ambari-agent/data/tmp/changeUid.sh'] {'content':
StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2015-05-25 01:50:59,793 -
Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh ambari-qa
/tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa']
{'not_if': '(test $(id -u ambari-qa) -gt 1000) || (false)'}
2015-05-25 01:50:59,818 - Skipping
Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh ambari-qa
/tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa']
due to not_if
2015-05-25 01:50:59,819 - Directory['/tmp/hbase-hbase'] {'owner':
'hbase', 'recursive': True, 'mode': 0775, 'cd_access': 'a'}
2015-05-25 01:50:59,819 -
File['/var/lib/ambari-agent/data/tmp/changeUid.sh'] {'content':
StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2015-05-25 01:50:59,820 -
Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh hbase
/home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase']
{'not_if': '(test $(id -u hbase) -gt 1000) || (false)'}
2015-05-25 01:50:59,828 - Skipping
Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh hbase
/home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase']
due to not_if
2015-05-25 01:50:59,829 - Group['hdfs'] {'ignore_failures': False}
2015-05-25 01:50:59,829 - User['hdfs'] {'ignore_failures': False,
'groups': [u'hadoop', u'hdfs']}
2015-05-25 01:50:59,830 - Directory['/etc/hadoop'] {'mode': 0755}
2015-05-25 01:50:59,855 -
File['/usr/hdp/current/hadoop-client/conf/hadoop-env.sh'] {'content':
InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'}
2015-05-25 01:50:59,869 - Repository['HDP-2.3'] {'base_url':
'http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos7/2.x/BUILDS/2.3.0.0-2121',
'action': ['create'], 'components': [u'HDP', 'main'], 'repo_template':
'repo_suse_rhel.j2', 'repo_file_name': 'HDP', 'mirror_list': None}
2015-05-25 01:50:59,881 - File['/etc/yum.repos.d/HDP.repo']
{'content': Template('/usr/lib/ambari-server/lib/resource_management/libraries/providers/../data/repo_suse_rhel.j2')}
2015-05-25 01:50:59,883 - Repository['HDP-UTILS-1.1.0.20']
{'base_url': 'http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6',
'action': ['create'], 'components': [u'HDP-UTILS', 'main'],
'repo_template': 'repo_suse_rhel.j2', 'repo_file_name': 'HDP-UTILS',
'mirror_list': None}
2015-05-25 01:50:59,887 - File['/etc/yum.repos.d/HDP-UTILS.repo']
{'content': Template('/usr/lib/ambari-server/lib/resource_management/libraries/providers/../data/repo_suse_rhel.j2')}
2015-05-25 01:50:59,887 - Package['unzip'] {}
2015-05-25 01:51:00,377 - Skipping installation of existing package unzip
2015-05-25 01:51:00,378 - Package['curl'] {}
2015-05-25 01:51:00,831 - Skipping installation of existing package curl
2015-05-25 01:51:00,832 - Package['hdp-select'] {}
2015-05-25 01:51:01,312 - Skipping installation of existing package hdp-select
2015-05-25 01:51:01,313 -
Directory['/var/lib/ambari-agent/data/tmp/AMBARI-artifacts/']
{'recursive': True}
2015-05-25 01:51:01,314 -
File['/var/lib/ambari-agent/data/tmp/jdk-8u40-linux-x64.tar.gz']
{'content': DownloadSource('http://c7001.ambari.apache.org:8080/resources//jdk-8u40-linux-x64.tar.gz'),
'not_if': 'test -f
/var/lib/ambari-agent/data/tmp/jdk-8u40-linux-x64.tar.gz'}
2015-05-25 01:51:01,319 - Skipping
File['/var/lib/ambari-agent/data/tmp/jdk-8u40-linux-x64.tar.gz'] due
to not_if
2015-05-25 01:51:01,320 - Directory['/usr/jdk64'] {}
2015-05-25 01:51:01,321 - Execute['('chmod', 'a+x', u'/usr/jdk64')']
{'not_if': 'test -e /usr/jdk64/jdk1.8.0_40/bin/java', 'sudo': True}
2015-05-25 01:51:01,330 - Skipping Execute['('chmod', 'a+x',
u'/usr/jdk64')'] due to not_if
2015-05-25 01:51:01,331 - Execute['mkdir -p
/var/lib/ambari-agent/data/tmp/jdk && cd
/var/lib/ambari-agent/data/tmp/jdk && tar -xf
/var/lib/ambari-agent/data/tmp/jdk-8u40-linux-x64.tar.gz &&
ambari-sudo.sh cp -rp /var/lib/ambari-agent/data/tmp/jdk/*
/usr/jdk64'] {'not_if': 'test -e /usr/jdk64/jdk1.8.0_40/bin/java'}
2015-05-25 01:51:01,340 - Skipping Execute['mkdir -p
/var/lib/ambari-agent/data/tmp/jdk && cd
/var/lib/ambari-agent/data/tmp/jdk && tar -xf
/var/lib/ambari-agent/data/tmp/jdk-8u40-linux-x64.tar.gz &&
ambari-sudo.sh cp -rp /var/lib/ambari-agent/data/tmp/jdk/*
/usr/jdk64'] due to not_if
2015-05-25 01:51:01,341 - File['/usr/jdk64/jdk1.8.0_40/bin/java']
{'mode': 0755, 'cd_access': 'a'}
2015-05-25 01:51:01,342 - Execute['('chgrp', '-R', u'hadoop',
u'/usr/jdk64/jdk1.8.0_40')'] {'sudo': True}
2015-05-25 01:51:01,369 - Execute['('chown', '-R', 'root',
u'/usr/jdk64/jdk1.8.0_40')'] {'sudo': True}
2015-05-25 01:51:01,780 - Package['mysql-server'] {}
2015-05-25 01:51:02,258 - Installing package mysql-server
('/usr/bin/yum -d 0 -e 0 -y install mysql-server')

Mime
View raw message