Member since
02-21-2017
11
Posts
4
Kudos Received
0
Solutions
10-10-2018
04:47 AM
Hi.I am deploying my cluster and encounter the same problem. And I checked the /var/log/cloudera-scm-server/cloudera-scm-server.log as follow: 2018-10-10 19:32:26,313 INFO CommandPusher:com.cloudera.cmf.model.DbCommand: Command 84(AmonTestDatabaseConnection) has completed. finalstate:FINISHED, success:true, msg:Successful 2018-10-10 19:32:27,062 INFO scm-web-333:com.cloudera.enterprise.JavaMelodyFacade: Entering HTTP Operation: Method:POST, Path:/dbTestConn/checkConnectionResult 2018-10-10 19:32:27,066 INFO scm-web-333:com.cloudera.enterprise.JavaMelodyFacade: Exiting HTTP Operation: Method:POST, Path:/dbTestConn/checkConnectionResult, Status:200 2018-10-10 19:32:28,394 INFO CommandPusher:com.cloudera.cmf.service.AbstractOneOffHostCommand: Unsuccessful 'HueTestDatabaseConnection' 2018-10-10 19:32:28,394 INFO CommandPusher:com.cloudera.cmf.service.AbstractDbConnectionTestCommand: Command exited with code: 1 2018-10-10 19:32:28,394 INFO CommandPusher:com.cloudera.cmf.service.AbstractDbConnectionTestCommand: File "/usr/lib/hue/build/env/lib/python2.7/site-packages/Django-1.11-py2.7.egg/django/core/checks/registry.py", line 81, in run_checks new_errors = check(app_configs=app_configs) File "/usr/lib/hue/build/env/lib/python2.7/site-packages/Django-1.11-py2.7.egg/django/core/checks/urls.py", line 16, in check_url_config return check_resolver(resolver) File "/usr/lib/hue/build/env/lib/python2.7/site-packages/Django-1.11-py2.7.egg/django/core/checks/urls.py", line 26, in check_resolver return check_method() File "/usr/lib/hue/build/env/lib/python2.7/site-packages/Django-1.11-py2.7.egg/django/urls/resolvers.py", line 254, in check for pattern in self.url_patterns: File "/usr/lib/hue/build/env/lib/python2.7/site-packages/Django-1.11-py2.7.egg/django/utils/functional.py", line 35, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/lib/hue/build/env/lib/python2.7/site-packages/Django-1.11-py2.7.egg/django/urls/resolvers.py", line 405, in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) File "/usr/lib/hue/build/env/lib/python2.7/site-packages/Django-1.11-py2.7.egg/django/utils/functional.py", line 35, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/lib/hue/build/env/lib/python2.7/site-packages/Django-1.11-py2.7.egg/django/urls/resolvers.py", line 398, in urlconf_module return import_module(self.urlconf_name) File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/usr/lib/hue/desktop/core/src/desktop/urls.py", line 41, in <module> from desktop.auth import views as desktop_auth_views File "/usr/lib/hue/desktop/core/src/desktop/auth/views.py", line 38, in <module> from desktop.auth import forms as auth_forms File "/usr/lib/hue/desktop/core/src/desktop/auth/forms.py", line 30, in <module> from useradmin.hue_password_policy import hue_get_password_validators ImportError: No module named useradmin.hue_password_policy 2018-10-10 19:32:28,394 ERROR CommandPusher:com.cloudera.cmf.model.DbCommand: Command 86(HueTestDatabaseConnection) has completed. finalstate:FINISHED, success:false, msg:Unexpected error. Unable to verify database connection. so how can I fix this ImportError: No module named useradmin.hue_password_policy
... View more
03-28-2017
11:24 AM
in my case opend jdk is causing the issue once i removed them and installed the correct version of JDK the distribution completed successfully
... View more