Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Ambari starts hue to report an error

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

View / usr/log/hue/error.log

The following problems were found

[24/Nov/2019 16:57:53] supervisor ERROR Process / usr/lib/hue/build/env/bin/hue kt_renewer exited abnormally. Restarting it. [24/Nov/2019 16:57:53] supervisor ERROR Process / usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it. [24/Nov/2019 16:57:54] supervisor ERROR Process / usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it. [24/Nov/2019 16:57:54] supervisor ERROR Process / usr/lib/hue/build/env/bin/hue kt_renewer exited abnormally. Restarting it. [24/Nov/2019 16:57:55] supervisor ERROR Process / usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it. [24/Nov/2019 16:57:55] supervisor ERROR Process / usr/lib/hue/build/env/bin/hue kt_renewer exited abnormally. Restarting it. [24/Nov/2019 16:57:56] supervisor ERROR Process / usr/lib/hue/build/env/bin/hue kt_renewer has restarted more than 3 times in the last 3 seconds [24/Nov/2019 16:57:56] supervisor ERROR Process / usr/lib/hue/build/env/bin/hue runcpserver has restarted more than 3 times in the last 3 seconds

Analysis:

1. / usr/lib/hue/build/env/bin/hue kt_renewer executes this error

2. / usr/lib/hue/build/env/bin/hue runcpserver executes this error

Solution:

Execute the above two commands manually

[root@dev175 hue] # / usr/lib/hue/build/env/bin/hue kt_renewerTraceback (most recent call last): File "/ usr/lib/hue/build/env/bin/hue", line 12, in load_entry_point ('desktop==4.1.0',' console_scripts', 'hue') () File "/ usr/lib/hue/desktop/core/src/desktop/manage_entry.py", line 59 In entry execute_from_command_line (sys.argv) File "/ usr/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/__init__.py", line 399 In execute_from_command_line utility.execute () File "/ usr/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/__init__.py", line 392 In execute self.fetch_command (subcommand) .run_from_argv (self.argv) File "/ usr/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/__init__.py", line In fetch_command commands = get_commands () File "/ usr/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/__init__.py", line 107, in get_commands apps = settings.INSTALLED_APPS File "/ usr/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/conf/__init__.py" Line 54, in _ getattr__ self._setup (name) File "/ usr/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/conf/__init__.py", line 49 In _ setup self._wrapped = Settings (settings_module) File "/ usr/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/conf/__init__.py", line 132, in _ init__% (self.SETTINGS_MODULE, e) ImportError: Could not import settings' desktop.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named idna

Discovery hint No module named idna

Install this module manually.

Pip install idna

Another one is the same.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report