Advertisement
Guest User

Untitled

a guest
Jun 14th, 2017
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.47 KB | None | 0 0
  1. Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Hash. There is further documentation for validate_legacy function in the README.
  2. (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  3. Warning: This method is deprecated, please use match expressions with Stdlib::Compat::Bool instead. They are described at https://docs.puppet.com/puppet/latest/reference/lang_data_type.html#match-expressions.
  4. (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  5. Warning: This method is deprecated, please use the stdlib validate_legacy function, with Pattern[]. There is further documentation for validate_legacy function in the README.
  6. (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  7. Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README.
  8. (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  9. Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::String. There is further documentation for validate_legacy function in the README.
  10. (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  11. Error: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install hadoop-hdfs-namenode' returned 100: Reading package lists...
  12. Building dependency tree...
  13. Reading state information...
  14. E: Unable to locate package hadoop-hdfs-namenode
  15. Error: /Stage[main]/Hadoop::Namenode/Package[hadoop-hdfs-namenode]/ensure: change from purged to latest failed: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install hadoop-hdfs-namenode' returned 100: Reading package lists...
  16. Building dependency tree...
  17. Reading state information...
  18. E: Unable to locate package hadoop-hdfs-namenode
  19. Warning: /Stage[main]/Hadoop::Namenode/File[/etc/default/hadoop-hdfs-namenode]: Skipping because of failed dependencies
  20. Error: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install hadoop' returned 100: Reading package lists...
  21. Building dependency tree...
  22. Reading state information...
  23. E: Unable to locate package hadoop
  24. Error: /Stage[main]/Hadoop::Common/Package[hadoop]/ensure: change from purged to latest failed: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install hadoop' returned 100: Reading package lists...
  25. Building dependency tree...
  26. Reading state information...
  27. E: Unable to locate package hadoop
  28. Warning: /Package[hadoop-mapreduce]: Skipping because of failed dependencies
  29. Warning: /Stage[main]/Hadoop::Common/File[/etc/hadoop/conf/hadoop-env.sh]: Skipping because of failed dependencies
  30. Warning: /Stage[main]/Hadoop::Mapred_app/File[/data/2/mapred]: Skipping because of failed dependencies
  31. Warning: /Package[hadoop-hdfs]: Skipping because of failed dependencies
  32. Warning: /Stage[main]/Hadoop::Common_hdfs/File[/etc/hadoop/conf/core-site.xml]: Skipping because of failed dependencies
  33. Warning: /Stage[main]/Hadoop::Common_mapred_app/File[/etc/hadoop/conf/taskcontroller.cfg]: Skipping because of failed dependencies
  34. Warning: /Stage[main]/Hadoop::Common_hdfs/File[/etc/hadoop/conf/hdfs-site.xml]: Skipping because of failed dependencies
  35. Warning: /Stage[main]/Hadoop::Common_mapred_app/File[/etc/hadoop/conf/mapred-site.xml]: Skipping because of failed dependencies
  36. Warning: /Stage[main]/Hadoop::Namenode/File[/data/1/namenode]: Skipping because of failed dependencies
  37. Warning: /Stage[main]/Hadoop::Namenode/File[/data/2/namenode]: Skipping because of failed dependencies
  38. Warning: /Stage[main]/Hadoop::Namenode/Exec[namenode format]: Skipping because of failed dependencies
  39. Warning: /Stage[main]/Hadoop::Namenode/Service[hadoop-hdfs-namenode]: Skipping because of failed dependencies
  40. Warning: /Stage[main]/Hadoop::Init_hdfs/Exec[init hdfs]: Skipping because of failed dependencies
  41. Warning: /Stage[main]/Hadoop::Mapred_app/File[/data/1/mapred]: Skipping because of failed dependencies
  42. Traceback (most recent call last):
  43. File "hooks/install", line 19, in <module>
  44. main()
  45. File "/usr/local/lib/python3.5/dist-packages/charms/reactive/__init__.py", line 78, in main
  46. bus.dispatch()
  47. File "/usr/local/lib/python3.5/dist-packages/charms/reactive/bus.py", line 423, in dispatch
  48. _invoke(other_handlers)
  49. File "/usr/local/lib/python3.5/dist-packages/charms/reactive/bus.py", line 406, in _invoke
  50. handler.invoke()
  51. File "/usr/local/lib/python3.5/dist-packages/charms/reactive/bus.py", line 280, in invoke
  52. self._action(*args)
  53. File "/var/lib/juju/agents/unit-namenode-0/charm/reactive/namenode.py", line 73, in install_namenode
  54. bigtop.trigger_puppet()
  55. File "lib/charms/layer/apache_bigtop_base.py", line 611, in trigger_puppet
  56. java_home()),
  57. File "/usr/local/lib/python3.5/dist-packages/jujubigdata/utils.py", line 195, in re_edit_in_place
  58. with Path(filename).in_place(encoding=encoding) as (reader, writer):
  59. File "/usr/lib/python3.5/contextlib.py", line 59, in __enter__
  60. return next(self.gen)
  61. File "/usr/local/lib/python3.5/dist-packages/path.py", line 1455, in in_place
  62. os.rename(self, backup_fn)
  63. FileNotFoundError: [Errno 2] No such file or directory: Path('/etc/default/bigtop-utils') -> Path('/etc/default/bigtop-utils.bak')
  64. sssler@ts221:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement