Posts: 7
Registered: ‎04-23-2018
ImportError: No module named datetime in supervisord.out after upgrade to Ubuntu 16.04
[ Edited ]

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 Me Too'd this topic