Client_python crash when generating Hadoop metrics
12 views
Skip to first unread message
minh tien
unread,
Oct 20, 2020, 6:25:54 AM10/20/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Developers
I used https://github.com/opsnull/hadoop_jmx_exporter library to generate prometheus metrics for hadoop cluster. Alter i run the exporter, it raise a format error in function generate_latest (exposition.py).
The root cause is hadoop_jmx_exporter which send invalid input to this function (ex: line.value = "DISK") and make floatToGoString function to fail.
I know it's client error but i think it's better to return negative value instead of raising an exception and making exporter crash