Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
curl -i  "http://<hadoop_node>:<port_number>/webhdfs/v1/?op=LISTSTATUS&user.name=trifacta"

Troubleshooting

Error - "ImportError: No module named pkg_resources" error in supervisord

When you start the platform for the first time, you may receive the following error:

Code Block
Traceback (most recent call last):
File "/usr/local/bin/supervisord", line 5, in <module>
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

This error occurs when the supervisord process is starting. The  

D s platform
 fails to complete startup.

Solution:

This issue is caused by a missing package for supervisord. The simplest solution is to install the Python setup tools on the 

D s node
. Commands are listed below.

Info

NOTE: These commands must be executed as root user.

CentOS/RHEL:

Code Block
yum install python-setuptools

Ubuntu:

Code Block
wget https://bootstrap.pypa.io/ez_setup.py -O - | python

After installation is complete, restart the platform.

Error - SequelizeConnectionRefusedError: connect ECONNREFUSED

...