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: [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]

Reply via email to