Support Questions

Find answers, ask questions, and share your expertise

Metron Indexing topology stopped in Ambari UI after successfull restart



after installing HCP 1.7.1 on CentOS 7 all service started without problem but metron indexing service stopped after less than 1 minute ( after restarting) and I get below error in ambari-agent.log :

Traceback (most recent call last):
  File "/usr/lib/ambari-agent/lib/ambari_agent/", line 59, in run_file
    imp.load_source('__main__', script)
  File "/var/lib/ambari-agent/cache/common-services/METRON/", line 19, in <module>
    import requests
  File "/usr/lib/python2.7/site-packages/requests/", line 53, in <module>
    from .packages.urllib3.contrib import pyopenssl
  File "/usr/lib/python2.7/site-packages/requests/packages/", line 3, in <module>
    from . import urllib3
  File "/usr/lib/python2.7/site-packages/requests/packages/", line 61, in load_module
AttributeError: 'NoneType' object has no attribute 'modules'

I saw this solution but it didn't work :


Python module version that installed on server :


What's solutions ?


Try restarting the ambari-server and ambari-agent:

1. Log into the ambari host.

sudo ambari-server restart

2. Log into the metron host.

sudo ambari-agent restart.

You can check to see if the indexing topology is running by opening the Storm UI. You will see the random access and batch indexing topologies running (or not).