Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "2014-11-01 00:22:50,509 - Error while executing command 'install':
- Traceback (most recent call last):
- File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\", line 122, in execute
- method(env)
- File \"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py\", line 34, in hook
- install_packages()
- File \"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py\", line 63, in install_packages
- Package(packages)
- File \"/usr/lib/python2.6/site-packages/resource_management/core/base.py\", line 107, in __new__
- cls(name.pop(0), env, provider, **kwargs)
- 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/apt.py\", line 35, in wrapper
- return function_to_decorate(self, name)
- File \"/usr/lib/python2.6/site-packages/resource_management/core/providers/package/apt.py\", line 57, in install_package
- shell.checked_call(cmd)
- File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 36, in checked_call
- return _call(command, logoutput, True, cwd, env, preexec_fn, user, wait_for_finish, timeout, path)
- File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 102, in _call
- raise Fail(err_msg)
- Fail: Execution of 'DEBIAN_FRONTEND=noninteractive /usr/bin/apt-get -q -o Dpkg::Options::='--force-confdef' --allow-unauthenticated --assume-yes install unzip' returned 100. stdin: is not a tty
- Reading package lists...
- Building dependency tree...
- Reading state information...
- unzip is already the newest version.
- 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
- 1 not fully installed or removed.
- After this operation, 0 B of additional disk space will be used.
- Setting up oozie-2-2-0-0-1230 (4.1.0.2.2.0.0-1230) ...
- cp: cannot stat `/usr/hdp/2.2.0.0-1230/etc/oozie/conf.dist/*': No such file or directory
- dpkg: error processing oozie-2-2-0-0-1230 (--configure):
- subprocess installed post-installation script returned error exit status 1
- Errors were encountered while processing:
- oozie-2-2-0-0-1230
- E: Sub-process /usr/bin/dpkg returned an error code (1)",
- "stdout" : "2014-11-01 00:22:38,465 - Execute['mkdir -p /var/lib/ambari-agent/data/tmp/AMBARI-artifacts/; curl -kf -x \"\" --retry 10 http://ip-172-31-36-115.ec2.internal:8080/resources//UnlimitedJCEPolicyJDK7.zip -o /var/lib/ambari-agent/data/tmp/AMBARI-artifacts//UnlimitedJCEPolicyJDK7.zip'] {'environment': ..., 'not_if': 'test -e /var/lib/ambari-agent/data/tmp/AMBARI-artifacts//UnlimitedJCEPolicyJDK7.zip', 'ignore_failures': True, 'path': ['/bin', '/usr/bin/']}
- 2014-11-01 00:22:38,482 - Skipping Execute['mkdir -p /var/lib/ambari-agent/data/tmp/AMBARI-artifacts/; curl -kf -x \"\" --retry 10 http://ip-172-31-36-115.ec2.internal:8080/resources//UnlimitedJCEPolicyJDK7.zip -o /var/lib/ambari-agent/data/tmp/AMBARI-artifacts//UnlimitedJCEPolicyJDK7.zip'] due to not_if
- 2014-11-01 00:22:38,483 - Group['hadoop'] {'ignore_failures': False}
- 2014-11-01 00:22:38,485 - Modifying group hadoop
- 2014-11-01 00:22:38,513 - Group['nobody'] {'ignore_failures': False}
- 2014-11-01 00:22:38,514 - Modifying group nobody
- 2014-11-01 00:22:38,541 - Group['users'] {'ignore_failures': False}
- 2014-11-01 00:22:38,542 - Modifying group users
- 2014-11-01 00:22:38,568 - Group['nagios'] {'ignore_failures': False}
- 2014-11-01 00:22:38,569 - Modifying group nagios
- 2014-11-01 00:22:38,595 - Group['knox'] {'ignore_failures': False}
- 2014-11-01 00:22:38,595 - Modifying group knox
- 2014-11-01 00:22:38,621 - User['hive'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
- 2014-11-01 00:22:38,622 - Modifying user hive
- 2014-11-01 00:22:38,643 - User['oozie'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'users']}
- 2014-11-01 00:22:38,643 - Modifying user oozie
- 2014-11-01 00:22:38,664 - User['nobody'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'nobody']}
- 2014-11-01 00:22:38,665 - Modifying user nobody
- 2014-11-01 00:22:38,686 - User['nagios'] {'gid': 'nagios', 'ignore_failures': False, 'groups': [u'hadoop']}
- 2014-11-01 00:22:38,687 - Modifying user nagios
- 2014-11-01 00:22:38,708 - User['ambari-qa'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'users']}
- 2014-11-01 00:22:38,708 - Modifying user ambari-qa
- 2014-11-01 00:22:38,729 - User['flume'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
- 2014-11-01 00:22:38,730 - Modifying user flume
- 2014-11-01 00:22:38,751 - User['hdfs'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
- 2014-11-01 00:22:38,752 - Modifying user hdfs
- 2014-11-01 00:22:38,773 - User['knox'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
- 2014-11-01 00:22:38,773 - Modifying user knox
- 2014-11-01 00:22:38,794 - User['storm'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
- 2014-11-01 00:22:38,795 - Modifying user storm
- 2014-11-01 00:22:38,816 - User['mapred'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
- 2014-11-01 00:22:38,817 - Modifying user mapred
- 2014-11-01 00:22:38,838 - User['hbase'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
- 2014-11-01 00:22:38,838 - Modifying user hbase
- 2014-11-01 00:22:38,859 - User['tez'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'users']}
- 2014-11-01 00:22:38,860 - Modifying user tez
- 2014-11-01 00:22:38,881 - User['zookeeper'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
- 2014-11-01 00:22:38,882 - Modifying user zookeeper
- 2014-11-01 00:22:38,903 - User['falcon'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
- 2014-11-01 00:22:38,903 - Modifying user falcon
- 2014-11-01 00:22:38,924 - User['sqoop'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
- 2014-11-01 00:22:38,925 - Modifying user sqoop
- 2014-11-01 00:22:38,946 - User['yarn'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
- 2014-11-01 00:22:38,947 - Modifying user yarn
- 2014-11-01 00:22:38,968 - User['hcat'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
- 2014-11-01 00:22:38,969 - Modifying user hcat
- 2014-11-01 00:22:38,990 - File['/var/lib/ambari-agent/data/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
- 2014-11-01 00:22:38,992 - 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 2>/dev/null'] {'not_if': 'test $(id -u ambari-qa) -gt 1000'}
- 2014-11-01 00:22:39,013 - 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 2>/dev/null'] due to not_if
- 2014-11-01 00:22:39,014 - File['/var/lib/ambari-agent/data/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
- 2014-11-01 00:22:39,015 - Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/mnt/hadoop/hbase 2>/dev/null'] {'not_if': 'test $(id -u hbase) -gt 1000'}
- 2014-11-01 00:22:39,036 - Skipping Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/mnt/hadoop/hbase 2>/dev/null'] due to not_if
- 2014-11-01 00:22:39,037 - Directory['/etc/hadoop/conf.empty'] {'owner': 'root', 'group': 'root', 'recursive': True}
- 2014-11-01 00:22:39,038 - Link['/etc/hadoop/conf'] {'not_if': 'ls /etc/hadoop/conf', 'to': '/etc/hadoop/conf.empty'}
- 2014-11-01 00:22:39,057 - Skipping Link['/etc/hadoop/conf'] due to not_if
- 2014-11-01 00:22:39,073 - File['/etc/hadoop/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'hdfs'}
- 2014-11-01 00:22:39,091 - Repository['HDP-2.2'] {'base_url': 'http://s3.amazonaws.com/dev.hortonworks.com/HDP/ubuntu12/2.x/BUILDS/2.2.0.0-1230', 'action': ['create'], 'components': [u'HDP', 'main'], 'repo_template': 'repo_ubuntu.j2', 'repo_file_name': 'HDP', 'mirror_list': None}
- 2014-11-01 00:22:39,100 - File['/tmp/tmpvSR6VY'] {'content': Template('repo_ubuntu.j2')}
- 2014-11-01 00:22:39,102 - Writing File['/tmp/tmpvSR6VY'] because contents don't match
- 2014-11-01 00:22:39,102 - Repository['HDP-UTILS-1.1.0.20'] {'base_url': 'http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu12', 'action': ['create'], 'components': [u'HDP-UTILS', 'main'], 'repo_template': 'repo_ubuntu.j2', 'repo_file_name': 'HDP-UTILS', 'mirror_list': None}
- 2014-11-01 00:22:39,104 - File['/tmp/tmpSufIOI'] {'content': Template('repo_ubuntu.j2')}
- 2014-11-01 00:22:39,105 - Writing File['/tmp/tmpSufIOI'] because contents don't match
- 2014-11-01 00:22:39,105 - Package['unzip'] {}
- 2014-11-01 00:22:39,148 - Installing package unzip ('DEBIAN_FRONTEND=noninteractive /usr/bin/apt-get -q -o Dpkg::Options::='--force-confdef' --allow-unauthenticated --assume-yes install unzip')
- 2014-11-01 00:22:40,581 - Execution of 'DEBIAN_FRONTEND=noninteractive /usr/bin/apt-get -q -o Dpkg::Options::='--force-confdef' --allow-unauthenticated --assume-yes install unzip' returned 100. stdin: is not a tty
- Reading package lists...
- Building dependency tree...
- Reading state information...
- unzip is already the newest version.
- 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
- 1 not fully installed or removed.
- After this operation, 0 B of additional disk space will be used.
- Setting up oozie-2-2-0-0-1230 (4.1.0.2.2.0.0-1230) ...
- cp: cannot stat `/usr/hdp/2.2.0.0-1230/etc/oozie/conf.dist/*': No such file or directory
- dpkg: error processing oozie-2-2-0-0-1230 (--configure):
- subprocess installed post-installation script returned error exit status 1
- Errors were encountered while processing:
- oozie-2-2-0-0-1230
- E: Sub-process /usr/bin/dpkg returned an error code (1)
- 2014-11-01 00:22:40,581 - Failed to install package unzip. Executing `apt-get update -qq`
- 2014-11-01 00:22:49,528 - Retrying to install package unzip
- 2014-11-01 00:22:50,509 - Error while executing command 'install':
- Traceback (most recent call last):
- File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\", line 122, in execute
- method(env)
- File \"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py\", line 34, in hook
- install_packages()
- File \"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py\", line 63, in install_packages
- Package(packages)
- File \"/usr/lib/python2.6/site-packages/resource_management/core/base.py\", line 107, in __new__
- cls(name.pop(0), env, provider, **kwargs)
- 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/apt.py\", line 35, in wrapper
- return function_to_decorate(self, name)
- File \"/usr/lib/python2.6/site-packages/resource_management/core/providers/package/apt.py\", line 57, in install_package
- shell.checked_call(cmd)
- File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 36, in checked_call
- return _call(command, logoutput, True, cwd, env, preexec_fn, user, wait_for_finish, timeout, path)
- File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 102, in _call
- raise Fail(err_msg)
- Fail: Execution of 'DEBIAN_FRONTEND=noninteractive /usr/bin/apt-get -q -o Dpkg::Options::='--force-confdef' --allow-unauthenticated --assume-yes install unzip' returned 100. stdin: is not a tty
- Reading package lists...
- Building dependency tree...
- Reading state information...
- unzip is already the newest version.
- 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
- 1 not fully installed or removed.
- After this operation, 0 B of additional disk space will be used.
- Setting up oozie-2-2-0-0-1230 (4.1.0.2.2.0.0-1230) ...
- cp: cannot stat `/usr/hdp/2.2.0.0-1230/etc/oozie/conf.dist/*': No such file or directory
- dpkg: error processing oozie-2-2-0-0-1230 (--configure):
- subprocess installed post-installation script returned error exit status 1
- Errors were encountered while processing:
- oozie-2-2-0-0-1230
- E: Sub-process /usr/bin/dpkg returned an error code (1)",
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement