hubgeter commented on code in PR #42507: URL: https://github.com/apache/doris/pull/42507#discussion_r1817990527
########## be/src/util/jvm_metrics.cpp: ########## @@ -90,9 +92,12 @@ JvmMetrics::JvmMetrics(MetricRegistry* registry, JNIEnv* env) { break; } try { - _jvm_stats.init(env); + Status st = _jvm_stats.init(); + if (!st) { + LOG(WARNING) << "jvm Stats Init Fail. " << st.to_string(); Review Comment: It doesn't matter if it is needed or not, because I will check `_jvm_stats.init_complete()`. -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org