[
https://issues.apache.org/jira/browse/METRON-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16623292#comment-16623292
]
ASF GitHub Bot commented on METRON-1786:
----------------------------------------
Github user anandsubbu commented on the issue:
https://github.com/apache/metron/pull/1206
+1
Verified the fix on full dev. The topology status is seen to be fine after
the fix. No errors in ambari agent log.
> Pcap Topology Status Incorrect
> ------------------------------
>
> Key: METRON-1786
> URL: https://issues.apache.org/jira/browse/METRON-1786
> Project: Metron
> Issue Type: Bug
> Reporter: Nick Allen
> Assignee: Mohan
> Priority: Major
>
> After running for some period of time, the pcap topology status in Ambari
> goes to "red" indicating that it is not running, when it actually is running.
> The following exception is thrown in the Ambari Agent logs.
> {code:java}
> INFO 2018-09-20 16:48:08,199 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.6.0/package/scripts/pcap_master.py",
> line 105, in <module>
> Pcap().execute()
> File
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
> line 375, in execute
> method(env)
> File
> "/var/lib/ambari-agent/cache/common-services/METRON/0.6.0/package/scripts/pcap_master.py",
> line 93, in status
> commands = PcapCommands(status_params)
> File
> "/var/lib/ambari-agent/cache/common-services/METRON/0.6.0/package/scripts/pcap_commands.py",
> line 51, in __init__
> self.__pcap_topology = params.metron_pcap_topology
> AttributeError: 'module' object has no attribute 'metron_pcap_topology'{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)