[
https://issues.apache.org/jira/browse/AMBARI-26327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jialiang Cai reassigned AMBARI-26327:
-------------------------------------
Assignee: Jialiang Cai
> Fix ambari-metrics-monitor start failure
> ----------------------------------------
>
> Key: AMBARI-26327
> URL: https://issues.apache.org/jira/browse/AMBARI-26327
> Project: Ambari
> Issue Type: Bug
> Reporter: Jialiang Cai
> Assignee: Jialiang Cai
> Priority: Major
>
> building '_psutil_linux' extension
> creating build/temp.linux-x86_64-3.6
> creating build/temp.linux-x86_64-3.6/psutil
> gcc -pthread -Wno-unused-result -Wsign-compare
> -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall
> -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
> -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64
> -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
> -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall
> -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
> -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64
> -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
> -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall
> -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
> -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64
> -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
> -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m
> -c psutil/_psutil_linux.c -o
> build/temp.linux-x86_64-3.6/psutil/_psutil_linux.o
> gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -g -Wl,-z,relro -Wl,-z,now -g
> build/temp.linux-x86_64-3.6/psutil/_psutil_linux.o -L/usr/lib64 -lpython3.6m
> -o build/lib.linux-x86_64-3.6/_psutil_linux.cpython-36m-x86_64-linux-gnu.so
> building '_psutil_posix' extension
> gcc -pthread -Wno-unused-result -Wsign-compare
> -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall
> -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
> -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64
> -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
> -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall
> -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
> -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64
> -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
> -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall
> -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
> -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64
> -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
> -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m
> -c psutil/_psutil_posix.c -o
> build/temp.linux-x86_64-3.6/psutil/_psutil_posix.o
> gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -g -Wl,-z,relro -Wl,-z,now -g
> build/temp.linux-x86_64-3.6/psutil/_psutil_posix.o -L/usr/lib64 -lpython3.6m
> -o build/lib.linux-x86_64-3.6/_psutil_posix.cpython-36m-x86_64-linux-gnu.so
> ----------------------Finished building psutil---------------------
> Traceback (most recent call last):
> File "/usr/lib/python3.9/site-packages/resource_monitoring/main.py", line
> 33, in <module>
> from resource_monitoring.core.controller import Controller
> File
> "/usr/lib/python3.9/site-packages/resource_monitoring/core/controller.py",
> line 27, in <module>
> from resource_monitoring.core.metric_collector import MetricsCollector
> File
> "/usr/lib/python3.9/site-packages/resource_monitoring/core/metric_collector.py",
> line 23, in <module>
> from event_definition import HostMetricCollectEvent,
> ProcessMetricCollectEvent
> ModuleNotFoundError: No module named 'event_definition'
> 2025-03-15 02:40:15,987 - Skipping stack-select on AMBARI_METRICS because it
> does not exist in the stack-select package structure.
> Command failed after 1 tries
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]