Metron Indexing topology appears stopped in Ambari UI
Problem
On some of the HCP deployments, the Indexing topology might show up as "stopped, while the actual topology might be running (when you check in Storm UI).
Additionally, one might also see the following kind of error messages in ambari-agent,log.
INFO 2018-02-05 22:21:39,990 PythonReflectiveExecutor.py:67 - Reflective command failed with exception:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/ambari_agent/PythonReflectiveExecutor.py", line 59, in run_file
imp.load_source('__main__', script)
File "/var/lib/ambari-agent/cache/common-services/METRON/0.4.3/package/scripts/indexing_master.py", line 18, in <module>
import requests
File "/usr/lib/python2.6/site-packages/requests/__init__.py", line 53, in <module>
from .packages.urllib3.contrib import pyopenssl
File "/usr/lib/python2.6/site-packages/requests/packages/__init__.py", line 61, in load_module
if name in sys.modules:
AttributeError: 'NoneType' object has no attribute 'modules'
Reasoning
- If the above symptoms are true, you are most likely seeing METRON-1451
Solution
- Install version 2.61. of python-requests on the server
pip install requests==2.6.1 - Restart the Indexing topology to resolve the issue.

