Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here. Want to know more about what has changed? Check out the Community News blog.

Who Agreed with this topic

ImportError: No module named datetime in supervisord.out after upgrade to Ubuntu 16.04

Explorer

We are trying to upgrade CDH 5.x running on Ubuntu 14.04 to Ubuntu 16.04.

 

I posted another thread about this here.

 

However, after the upgrade the cloudera-scm-agent service doesn't start. The error in supervisord.out is:

Traceback (most recent call last):
File "/usr/lib/cmf/agent/build/env/bin/supervisord", line 8, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/pkg_resources/__init__.py", line 36, in <module>
import plistlib
File "/usr/lib/python2.7/plistlib.py", line 62, in <module>
import datetime
ImportError: No module named datetime

 

I have tried with this CDH 5.10 as well as CDH 5.14

 

Please help.

Who Agreed with this topic