arshadmohammad commented on code in PR #3751:
URL: https://github.com/apache/ambari/pull/3751#discussion_r1374896426
##########
ambari-server/src/main/resources/common-services/AMBARI_METRICS/3.0.0/package/scripts/metrics_collector.py:
##########
@@ -22,21 +22,21 @@
from resource_management.libraries.functions.security_commons import
build_expectations, \
cached_kinit_executor, get_params_from_filesystem,
validate_security_config_properties, \
FILE_TYPE_XML
-from ams import ams
-from ams_service import ams_service
-from hbase import hbase
-from status import check_service_status
+from scripts.ams import ams
Review Comment:
Ambari metrics collector start is failing with following error
`Traceback (most recent call last):
File
"/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/3.0.0/package/scripts/metrics_collector.py",
line 25, in <module>
from scripts.ams import ams
ModuleNotFoundError: No module named 'scripts'
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]