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.

Metron Indexing topology stopped in Ambari UI after successfull restart

Highlighted

Metron Indexing topology stopped in Ambari UI after successfull restart

New Contributor

Hi

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/PythonReflectiveExecutor.py", line 59, in run_file
    imp.load_source('__main__', script)
  File "/var/lib/ambari-agent/cache/common-services/METRON/0.6.0.1.7.1.0/package/scripts/indexing_master.py", line 19, in <module>
    import requests
  File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 53, in <module>
    from .packages.urllib3.contrib import pyopenssl
  File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 3, in <module>
    from . import urllib3
  File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 61, in load_module
AttributeError: 'NoneType' object has no attribute 'modules'

I saw this solution but it didn't work :

https://community.hortonworks.com/articles/190995/metron-indexing-topology-appears-stopped-in-ambari...

-----

Python module version that installed on server :

urllib3==1.24.1
pyOpenSSL==18.0.0
requests==2.6.1

What's solutions ?

1 REPLY 1

Re: Metron Indexing topology stopped in Ambari UI after successfull restart

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).

Don't have an account?
Coming from Hortonworks? Activate your account here