Hadoop:没有可用于容器的日志"仅在一个集群中#34;

时间:2018-03-21 00:13:45

标签: hadoop yarn

我有3个集群主机和2个从机的hadoop。 slave1和slave2

运行纱线作业后,我只能从第二个奴隶访问日志。

当我尝试访问slave1的日志时,我得到了

    Traceback (most recent call last):
   File "C:/Users/XOmar/Desktop/MMSA - Multi Media School Access/NewProject.py", line 39, in <module>
     mainFrame.run()
   File "C:\Users\XOmar\Desktop\MMSA - Multi Media School Access\venv\lib\site-packages\kivy\app.py", line 801, in run
     self.load_kv(filename=self.kv_file)
   File "C:\Users\XOmar\Desktop\MMSA - Multi Media School Access\venv\lib\site-packages\kivy\app.py", line 598, in load_kv
     root = Builder.load_file(rfilename)
   File "C:\Users\XOmar\Desktop\MMSA - Multi Media School Access\venv\lib\site-packages\kivy\lang\builder.py", line 301, in load_file
     return self.load_string(data, **kwargs)
   File "C:\Users\XOmar\Desktop\MMSA - Multi Media School Access\venv\lib\site-packages\kivy\lang\builder.py", line 350, in load_string
     parser = Parser(content=string, filename=fn)
   File "C:\Users\XOmar\Desktop\MMSA - Multi Media School Access\venv\lib\site-packages\kivy\lang\parser.py", line 392, in __init__
     self.parse(content)
   File "C:\Users\XOmar\Desktop\MMSA - Multi Media School Access\venv\lib\site-packages\kivy\lang\parser.py", line 498, in parse
     self.execute_directives()
   File "C:\Users\XOmar\Desktop\MMSA - Multi Media School Access\venv\lib\site-packages\kivy\lang\parser.py", line 462, in execute_directives
     mod = __import__(package)
   File "C:\Users\XOmar\Desktop\MMSA - Multi Media School Access\NewProject.py", line 39, in <module>
     mainFrame.run()
   File "C:\Users\XOmar\Desktop\MMSA - Multi Media School Access\venv\lib\site-packages\kivy\app.py", line 828, in run
     runTouchApp()
   File "C:\Users\XOmar\Desktop\MMSA - Multi Media School Access\venv\lib\site-packages\kivy\base.py", line 504, in runTouchApp
     EventLoop.window.mainloop()
   File "C:\Users\XOmar\Desktop\MMSA - Multi Media School Access\venv\lib\site-packages\kivy\core\window\window_sdl2.py", line 663, in mainloop
     self._mainloop()
   File "C:\Users\XOmar\Desktop\MMSA - Multi Media School Access\venv\lib\site-packages\kivy\core\window\window_sdl2.py", line 405, in _mainloop
     EventLoop.idle()
   File "C:\Users\XOmar\Desktop\MMSA - Multi Media School Access\venv\lib\site-packages\kivy\base.py", line 342, in idle
     self.dispatch_input()
   File "C:\Users\XOmar\Desktop\MMSA - Multi Media School Access\venv\lib\site-packages\kivy\base.py", line 327, in dispatch_input
     post_dispatch_input(*pop(0))
   File "C:\Users\XOmar\Desktop\MMSA - Multi Media School Access\venv\lib\site-packages\kivy\base.py", line 293, in post_dispatch_input
     wid.dispatch('on_touch_up', me)
   File "kivy\_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy\_event.c:8191)
   File "C:\Users\XOmar\Desktop\MMSA - Multi Media School Access\venv\lib\site-packages\kivy\uix\behaviors\button.py", line 179, in on_touch_up
     self.dispatch('on_release')
   File "kivy\_event.pyx", line 714, in kivy._event.EventDispatcher.dispatch (kivy\_event.c:8146)
   File "kivy\_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (kivy\_event.c:14035)
   File "kivy\_event.pyx", line 1109, in kivy._event.EventObservers._dispatch (kivy\_event.c:12816)
   File "C:\Users\XOmar\Desktop\MMSA - Multi Media School Access\venv\lib\site-packages\kivy\lang\builder.py", line 64, in custom_callback
     exec(__kvlang__.co_value, idmap)
   File "C:\Users\XOmar\Desktop\MMSA - Multi Media School Access\mainkivyframe.kv", line 51, in <module>
     on_release: app.root.changeScreen("LogedInScreen")
   File "C:\Users\XOmar\Desktop\MMSA - Multi Media School Access\NewProject.py", line 30, in changeScreen
     self.manager.current = next_screen
 AttributeError: 'NoneType' object has no attribute 'current'

即使代码完全由slave1执行。

我真的不知道我搜索过很多帖子的问题Why does my yarn application not have logs even with logging enabled?

但我的问题不同,因为我已经可以从一个集群访问日志:slave2

有没有人遇到这个问题?

谢谢

0 个答案:

没有答案