Advertisement
Guest User

Untitled

a guest
Nov 1st, 2014
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.62 KB | None | 0 0
  1.  
  2.  
  3.  
  4. "2014-11-01 00:22:50,509 - Error while executing command 'install':
  5. Traceback (most recent call last):
  6. File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\", line 122, in execute
  7. method(env)
  8. File \"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py\", line 34, in hook
  9. install_packages()
  10. File \"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py\", line 63, in install_packages
  11. Package(packages)
  12. File \"/usr/lib/python2.6/site-packages/resource_management/core/base.py\", line 107, in __new__
  13. cls(name.pop(0), env, provider, **kwargs)
  14. File \"/usr/lib/python2.6/site-packages/resource_management/core/base.py\", line 148, in __init__
  15. self.env.run()
  16. File \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", line 149, in run
  17. self.run_action(resource, action)
  18. File \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", line 115, in run_action
  19. provider_action()
  20. File \"/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py\", line 40, in action_install
  21. self.install_package(package_name)
  22. File \"/usr/lib/python2.6/site-packages/resource_management/core/providers/package/apt.py\", line 35, in wrapper
  23. return function_to_decorate(self, name)
  24. File \"/usr/lib/python2.6/site-packages/resource_management/core/providers/package/apt.py\", line 57, in install_package
  25. shell.checked_call(cmd)
  26. File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 36, in checked_call
  27. return _call(command, logoutput, True, cwd, env, preexec_fn, user, wait_for_finish, timeout, path)
  28. File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 102, in _call
  29. raise Fail(err_msg)
  30. 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
  31. Reading package lists...
  32. Building dependency tree...
  33. Reading state information...
  34. unzip is already the newest version.
  35. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  36. 1 not fully installed or removed.
  37. After this operation, 0 B of additional disk space will be used.
  38. Setting up oozie-2-2-0-0-1230 (4.1.0.2.2.0.0-1230) ...
  39. cp: cannot stat `/usr/hdp/2.2.0.0-1230/etc/oozie/conf.dist/*': No such file or directory
  40. dpkg: error processing oozie-2-2-0-0-1230 (--configure):
  41. subprocess installed post-installation script returned error exit status 1
  42. Errors were encountered while processing:
  43. oozie-2-2-0-0-1230
  44. E: Sub-process /usr/bin/dpkg returned an error code (1)",
  45. "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/']}
  46. 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
  47. 2014-11-01 00:22:38,483 - Group['hadoop'] {'ignore_failures': False}
  48. 2014-11-01 00:22:38,485 - Modifying group hadoop
  49. 2014-11-01 00:22:38,513 - Group['nobody'] {'ignore_failures': False}
  50. 2014-11-01 00:22:38,514 - Modifying group nobody
  51. 2014-11-01 00:22:38,541 - Group['users'] {'ignore_failures': False}
  52. 2014-11-01 00:22:38,542 - Modifying group users
  53. 2014-11-01 00:22:38,568 - Group['nagios'] {'ignore_failures': False}
  54. 2014-11-01 00:22:38,569 - Modifying group nagios
  55. 2014-11-01 00:22:38,595 - Group['knox'] {'ignore_failures': False}
  56. 2014-11-01 00:22:38,595 - Modifying group knox
  57. 2014-11-01 00:22:38,621 - User['hive'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
  58. 2014-11-01 00:22:38,622 - Modifying user hive
  59. 2014-11-01 00:22:38,643 - User['oozie'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'users']}
  60. 2014-11-01 00:22:38,643 - Modifying user oozie
  61. 2014-11-01 00:22:38,664 - User['nobody'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'nobody']}
  62. 2014-11-01 00:22:38,665 - Modifying user nobody
  63. 2014-11-01 00:22:38,686 - User['nagios'] {'gid': 'nagios', 'ignore_failures': False, 'groups': [u'hadoop']}
  64. 2014-11-01 00:22:38,687 - Modifying user nagios
  65. 2014-11-01 00:22:38,708 - User['ambari-qa'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'users']}
  66. 2014-11-01 00:22:38,708 - Modifying user ambari-qa
  67. 2014-11-01 00:22:38,729 - User['flume'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
  68. 2014-11-01 00:22:38,730 - Modifying user flume
  69. 2014-11-01 00:22:38,751 - User['hdfs'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
  70. 2014-11-01 00:22:38,752 - Modifying user hdfs
  71. 2014-11-01 00:22:38,773 - User['knox'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
  72. 2014-11-01 00:22:38,773 - Modifying user knox
  73. 2014-11-01 00:22:38,794 - User['storm'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
  74. 2014-11-01 00:22:38,795 - Modifying user storm
  75. 2014-11-01 00:22:38,816 - User['mapred'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
  76. 2014-11-01 00:22:38,817 - Modifying user mapred
  77. 2014-11-01 00:22:38,838 - User['hbase'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
  78. 2014-11-01 00:22:38,838 - Modifying user hbase
  79. 2014-11-01 00:22:38,859 - User['tez'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'users']}
  80. 2014-11-01 00:22:38,860 - Modifying user tez
  81. 2014-11-01 00:22:38,881 - User['zookeeper'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
  82. 2014-11-01 00:22:38,882 - Modifying user zookeeper
  83. 2014-11-01 00:22:38,903 - User['falcon'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
  84. 2014-11-01 00:22:38,903 - Modifying user falcon
  85. 2014-11-01 00:22:38,924 - User['sqoop'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
  86. 2014-11-01 00:22:38,925 - Modifying user sqoop
  87. 2014-11-01 00:22:38,946 - User['yarn'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
  88. 2014-11-01 00:22:38,947 - Modifying user yarn
  89. 2014-11-01 00:22:38,968 - User['hcat'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
  90. 2014-11-01 00:22:38,969 - Modifying user hcat
  91. 2014-11-01 00:22:38,990 - File['/var/lib/ambari-agent/data/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
  92. 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'}
  93. 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
  94. 2014-11-01 00:22:39,014 - File['/var/lib/ambari-agent/data/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
  95. 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'}
  96. 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
  97. 2014-11-01 00:22:39,037 - Directory['/etc/hadoop/conf.empty'] {'owner': 'root', 'group': 'root', 'recursive': True}
  98. 2014-11-01 00:22:39,038 - Link['/etc/hadoop/conf'] {'not_if': 'ls /etc/hadoop/conf', 'to': '/etc/hadoop/conf.empty'}
  99. 2014-11-01 00:22:39,057 - Skipping Link['/etc/hadoop/conf'] due to not_if
  100. 2014-11-01 00:22:39,073 - File['/etc/hadoop/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'hdfs'}
  101. 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}
  102. 2014-11-01 00:22:39,100 - File['/tmp/tmpvSR6VY'] {'content': Template('repo_ubuntu.j2')}
  103. 2014-11-01 00:22:39,102 - Writing File['/tmp/tmpvSR6VY'] because contents don't match
  104. 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}
  105. 2014-11-01 00:22:39,104 - File['/tmp/tmpSufIOI'] {'content': Template('repo_ubuntu.j2')}
  106. 2014-11-01 00:22:39,105 - Writing File['/tmp/tmpSufIOI'] because contents don't match
  107. 2014-11-01 00:22:39,105 - Package['unzip'] {}
  108. 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')
  109. 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
  110. Reading package lists...
  111. Building dependency tree...
  112. Reading state information...
  113. unzip is already the newest version.
  114. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  115. 1 not fully installed or removed.
  116. After this operation, 0 B of additional disk space will be used.
  117. Setting up oozie-2-2-0-0-1230 (4.1.0.2.2.0.0-1230) ...
  118. cp: cannot stat `/usr/hdp/2.2.0.0-1230/etc/oozie/conf.dist/*': No such file or directory
  119. dpkg: error processing oozie-2-2-0-0-1230 (--configure):
  120. subprocess installed post-installation script returned error exit status 1
  121. Errors were encountered while processing:
  122. oozie-2-2-0-0-1230
  123. E: Sub-process /usr/bin/dpkg returned an error code (1)
  124. 2014-11-01 00:22:40,581 - Failed to install package unzip. Executing `apt-get update -qq`
  125. 2014-11-01 00:22:49,528 - Retrying to install package unzip
  126. 2014-11-01 00:22:50,509 - Error while executing command 'install':
  127. Traceback (most recent call last):
  128. File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\", line 122, in execute
  129. method(env)
  130. File \"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py\", line 34, in hook
  131. install_packages()
  132. File \"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py\", line 63, in install_packages
  133. Package(packages)
  134. File \"/usr/lib/python2.6/site-packages/resource_management/core/base.py\", line 107, in __new__
  135. cls(name.pop(0), env, provider, **kwargs)
  136. File \"/usr/lib/python2.6/site-packages/resource_management/core/base.py\", line 148, in __init__
  137. self.env.run()
  138. File \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", line 149, in run
  139. self.run_action(resource, action)
  140. File \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", line 115, in run_action
  141. provider_action()
  142. File \"/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py\", line 40, in action_install
  143. self.install_package(package_name)
  144. File \"/usr/lib/python2.6/site-packages/resource_management/core/providers/package/apt.py\", line 35, in wrapper
  145. return function_to_decorate(self, name)
  146. File \"/usr/lib/python2.6/site-packages/resource_management/core/providers/package/apt.py\", line 57, in install_package
  147. shell.checked_call(cmd)
  148. File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 36, in checked_call
  149. return _call(command, logoutput, True, cwd, env, preexec_fn, user, wait_for_finish, timeout, path)
  150. File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 102, in _call
  151. raise Fail(err_msg)
  152. 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
  153. Reading package lists...
  154. Building dependency tree...
  155. Reading state information...
  156. unzip is already the newest version.
  157. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  158. 1 not fully installed or removed.
  159. After this operation, 0 B of additional disk space will be used.
  160. Setting up oozie-2-2-0-0-1230 (4.1.0.2.2.0.0-1230) ...
  161. cp: cannot stat `/usr/hdp/2.2.0.0-1230/etc/oozie/conf.dist/*': No such file or directory
  162. dpkg: error processing oozie-2-2-0-0-1230 (--configure):
  163. subprocess installed post-installation script returned error exit status 1
  164. Errors were encountered while processing:
  165. oozie-2-2-0-0-1230
  166. E: Sub-process /usr/bin/dpkg returned an error code (1)",
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement