You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2020/07/21 02:31:55 UTC

[GitHub] [rocketmq-exporter] Jiangting1 opened a new issue #28: rockermq-export scrap metric error

Jiangting1 opened a new issue #28:
URL: https://github.com/apache/rocketmq-exporter/issues/28


   rocketmq version 4.6.1
   
   ERROR Unexpected error occurred in scheduled task.
   java.lang.RuntimeException: org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to <null> failed
   	at com.google.common.base.Throwables.propagate(Throwables.java:160)
   	at org.apache.rocketmq.exporter.task.MetricsCollectTask.collectTopic(MetricsCollectTask.java:221)
   	at org.apache.rocketmq.exporter.task.MetricsCollectTask$$FastClassBySpringCGLIB$$3a89d188.invoke(<generated>)
   	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
   	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
   	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
   	at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)
   	at org.apache.rocketmq.exporter.aspect.admin.MQAdminAspect.aroundMQAdminMethod(MQAdminAspect.java:63)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)
   	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)
   	at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
   	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
   	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93)
   	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
   	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
   	at org.apache.rocketmq.exporter.task.MetricsCollectTask$$EnhancerBySpringCGLIB$$ef582b8a.collectTopic(<generated>)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:84)
   	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
   	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:93)
   	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   	at java.lang.Thread.run(Thread.java:745)
   Caused by: org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to <null> failed
   	at org.apache.rocketmq.remoting.netty.NettyRemotingClient.invokeSync(NettyRemotingClient.java:392)
   	at org.apache.rocketmq.client.impl.MQClientAPIImpl.getTopicListFromNameServer(MQClientAPIImpl.java:1239)
   	at org.apache.rocketmq.tools.admin.DefaultMQAdminExtImpl.fetchAllTopicList(DefaultMQAdminExtImpl.java:222)
   	at org.apache.rocketmq.tools.admin.DefaultMQAdminExt.fetchAllTopicList(DefaultMQAdminExt.java:189)
   	at org.apache.rocketmq.exporter.service.client.MQAdminExtImpl.fetchAllTopicList(MQAdminExtImpl.java:155)
   	at org.apache.rocketmq.exporter.service.client.MQAdminExtImpl$$FastClassBySpringCGLIB$$a8630673.invoke(<generated>)
   	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
   	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
   	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
   	at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)
   	at org.apache.rocketmq.exporter.aspect.admin.MQAdminAspect.aroundMQAdminMethod(MQAdminAspect.java:63)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)
   	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)
   	at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
   	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
   	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93)
   	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
   	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
   	at org.apache.rocketmq.exporter.service.client.MQAdminExtImpl$$EnhancerBySpringCGLIB$$c00ab52b.fetchAllTopicList(<generated>)
   	at org.apache.rocketmq.exporter.task.MetricsCollectTask.collectTopic(MetricsCollectTask.java:146)
   	... 32 common frames omitted


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-exporter] francisoliverlee commented on issue #28: rocketmq-exporter scrape metric error

Posted by GitBox <gi...@apache.org>.
francisoliverlee commented on issue #28:
URL: https://github.com/apache/rocketmq-exporter/issues/28#issuecomment-665109921


   setNameSrvAddrByProperty nameSrvAddr=http://18.128.1.29:9876
   
   nnamesrv address cannot be right. just 18.128.1.29:9876, remove "http://"


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-exporter] Jiangting1 edited a comment on issue #28: rocketmq-exporter scrape metric error

Posted by GitBox <gi...@apache.org>.
Jiangting1 edited a comment on issue #28:
URL: https://github.com/apache/rocketmq-exporter/issues/28#issuecomment-664750369


   > @Jiangting1
   > Caused by: org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to failed
   > this always caused by network connect, namesrv address ...etc. check them first.
   > 
   > i run lastest code monitor 4.6.1, 4.7.0, no such spring-aop init error.
   
    I run lastest code monitor 4.6.1,and I confirm the rocketmq is ok
   
   [2020-07-28 03:07:01.717]  INFO Tomcat initialized with port(s): 5557 (http)
   [2020-07-28 03:07:01.740]  INFO Initializing ProtocolHandler ["http-nio-5557"]
   [2020-07-28 03:07:01.759]  INFO Starting service [Tomcat]
   [2020-07-28 03:07:01.759]  INFO Starting Servlet engine: [Apache Tomcat/9.0.14]
   [2020-07-28 03:07:01.783]  INFO The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
   [2020-07-28 03:07:01.876]  INFO Initializing Spring embedded WebApplicationContext
   [2020-07-28 03:07:01.876]  INFO Root WebApplicationContext: initialization completed in 1843 ms
   [2020-07-28 03:07:01.982]  INFO setNameSrvAddrByProperty nameSrvAddr=http://18.128.1.29:9876
   [2020-07-28 03:07:01.985]  INFO setWebTelemetryPath webTelemetryPath=/metrics
   [2020-07-28 03:07:01.986]  INFO setRocketmqVersion rocketmqVersion=4_6_1
   [2020-07-28 03:07:02.308]  INFO MetricsCollectTask init starting....
   [2020-07-28 03:07:02.313]  WARN Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metricsCollectTask': Invocation of init method failed; nested exception is org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to <null> failed
   [2020-07-28 03:07:02.328]  INFO Stopping service [Tomcat]
   [2020-07-28 03:07:02.349]  INFO
   
   Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
   [2020-07-28 03:07:02.354] ERROR Application run failed
   org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metricsCollectTask': Invocation of init method failed; nested exception is org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to <null> failed
           at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:139)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:419)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1737)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:576)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498)
           at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
           at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
           at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
           at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
           at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:846)
           at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:863)
           at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)
           at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142)
           at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775)
   
   
   app       5140     1  0 Jul07 ?        00:00:00 /bin/sh /app/appopt/rocketmq/bin/mqnamesrv
   app       5144  5140  0 Jul07 ?        00:00:00 sh /app/appopt/rocketmq/bin/runserver.sh org.apache.rocketmq.namesrv.NamesrvStartup
   app       5147  5144  0 Jul07 ?        00:22:19 /usr/java/jdk1.8.0_192/bin/java -server -Xms256m -Xmx256m -Xmn128m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=320m -XX:+UseConcMarkSweepGC -XX:+UseCMSCompactAtFullCollection -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+CMSClassUnloadingEnabled -XX:SurvivorRatio=8 -XX:-UseParNewGC -verbose:gc -Xloggc:/dev/shm/rmq_srv_gc_%p_%t.log -XX:+PrintGCDetails -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=30m -XX:-OmitStackTraceInFastThrow -XX:-UseLargePages -Djava.ext.dirs=/usr/java/jdk1.8.0_192/jre/lib/ext:/app/appopt/rocketmq/bin/../lib -cp .:/app/appopt/rocketmq/bin/../conf:.:/usr/java/jdk1.8.0_192/lib/dt.jar:/lib/tools.jar org.apache.rocketmq.namesrv.NamesrvStartup
   app       5266     1  0 Jul07 ?        00:00:00 /bin/sh /app/appopt/rocketmq/bin/mqbroker -c /app/appopt/rocketmq/conf/2m-noslave/broker-a.properties
   app       5270  5266  0 Jul07 ?        00:00:00 sh /app/appopt/rocketmq/bin/runbroker.sh org.apache.rocketmq.broker.BrokerStartup -c /app/appopt/rocketmq/conf/2m-noslave/broker-a.properties
   app       5274  5270  1 Jul07 ?        05:15:28 /usr/java/jdk1.8.0_192/bin/java -server -Xms512m -Xmx512m -Xmn256m -XX:+UseG1GC -XX:G1HeapRegionSize=16m -XX:G1ReservePercent=25 -XX:InitiatingHeapOccupancyPercent=30 -XX:SoftRefLRUPolicyMSPerMB=0 -verbose:gc -Xloggc:/dev/shm/rmq_broker_gc_%p_%t.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCApplicationStoppedTime -XX:+PrintAdaptiveSizePolicy -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=30m -XX:-OmitStackTraceInFastThrow -XX:+AlwaysPreTouch -XX:MaxDirectMemorySize=15g -XX:-UseLargePages -XX:-UseBiasedLocking -Djava.ext.dirs=/usr/java/jdk1.8.0_192/jre/lib/ext:/app/appopt/rocketmq/bin/../lib -cp .:/app/appopt/rocketmq/bin/../conf:.:/usr/java/jdk1.8.0_192/lib/dt.jar:/lib/tools.jar org.apache.rocketmq.broker.BrokerStartup -c /app/appopt/rocketmq/conf/2m-noslave/broker-a.properties
   root     13815 13771  0 10:10 pts/0    00:00:00 grep rocketmq
   app      17822     1  0 Jul10 ?        01:08:38 java -Xms256m -Xmx256m -Drocketmq.namesrv.addr=18.128.1.29:9876 -Dcom.rocketmq.sendMessageWithVIPChannel=false -jar rocketmq-console-ng-1.0.0.jar
   
   
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-exporter] Jiangting1 commented on issue #28: rocketmq-exporter scrape metric error

Posted by GitBox <gi...@apache.org>.
Jiangting1 commented on issue #28:
URL: https://github.com/apache/rocketmq-exporter/issues/28#issuecomment-663326635


   > pls show your application.yml content
   
   The error occur by the lastest code , I just overwrite the namesrvAddr of the application.yml


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-exporter] francisoliverlee commented on issue #28: rocketmq-exporter scrape metric error

Posted by GitBox <gi...@apache.org>.
francisoliverlee commented on issue #28:
URL: https://github.com/apache/rocketmq-exporter/issues/28#issuecomment-662765311


   @Jiangting1 how about try latest code ?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-exporter] Jiangting1 commented on issue #28: rocketmq-exporter scrape metric error

Posted by GitBox <gi...@apache.org>.
Jiangting1 commented on issue #28:
URL: https://github.com/apache/rocketmq-exporter/issues/28#issuecomment-664750369






----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-exporter] vongosling commented on issue #28: rocketmq-exporter scrape metric error

Posted by GitBox <gi...@apache.org>.
vongosling commented on issue #28:
URL: https://github.com/apache/rocketmq-exporter/issues/28#issuecomment-662893740


   It seems you have config the wrong nameserver address. Could you please report your situation in detail? In principle, you should refer to the issue template, which makes it easier to repeat the problem and ask for help.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-exporter] Jiangting1 closed issue #28: rocketmq-exporter scrape metric error

Posted by GitBox <gi...@apache.org>.
Jiangting1 closed issue #28:
URL: https://github.com/apache/rocketmq-exporter/issues/28


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-exporter] francisoliverlee edited a comment on issue #28: rocketmq-exporter scrape metric error

Posted by GitBox <gi...@apache.org>.
francisoliverlee edited a comment on issue #28:
URL: https://github.com/apache/rocketmq-exporter/issues/28#issuecomment-662765311


   @Jiangting1 
   it seems that some error happened in Spring-AOP, you can check how MQAdminAspect.java run in AOP.
   or
   how about try latest code ? 
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-exporter] francisoliverlee commented on issue #28: rocketmq-exporter scrape metric error

Posted by GitBox <gi...@apache.org>.
francisoliverlee commented on issue #28:
URL: https://github.com/apache/rocketmq-exporter/issues/28#issuecomment-664074180


   @Jiangting1 
   Caused by: org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to failed
   this always caused by network connect, namesrv address ...etc. check them first.
   
   i run lastest code monitor 4.6.1, 4.7.0, no such spring-aop init error.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-exporter] francisoliverlee commented on issue #28: rocketmq-exporter scrape metric error

Posted by GitBox <gi...@apache.org>.
francisoliverlee commented on issue #28:
URL: https://github.com/apache/rocketmq-exporter/issues/28#issuecomment-663320322


   pls show your application.yml content


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-exporter] Jiangting1 commented on issue #28: rocketmq-exporter scrape metric error

Posted by GitBox <gi...@apache.org>.
Jiangting1 commented on issue #28:
URL: https://github.com/apache/rocketmq-exporter/issues/28#issuecomment-662777529


   > @Jiangting1
   > it seems that some error happened in Spring-AOP, you can check how MQAdminAspect.java run in AOP.
   > or
   > how about try latest code ?
   
   I tried the lastest code , and it also had error
   
   [2020-07-23 01:25:38.824] ERROR Application run failed
   org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metricsCollectTask': Invocation of init method failed; nested exception is org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to <null> failed
           at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:139)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:419)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1737)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:576)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498)
           at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
           at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
           at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
           at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
           at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:846)
           at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:863)
           at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)
           at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142)
           at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775)
           at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
           at org.springframework.boot.SpringApplication.run(SpringApplication.java:316)
           at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260)
           at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248)
           at org.apache.rocketmq.exporter.RocketMQExporterApplication.main(RocketMQExporterApplication.java:29)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:498)
           at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
           at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
           at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
           at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
   Caused by: org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to <null> failed
           at org.apache.rocketmq.remoting.netty.NettyRemotingClient.invokeSync(NettyRemotingClient.java:392)
           at org.apache.rocketmq.client.impl.MQClientAPIImpl.getBrokerClusterInfo(MQClientAPIImpl.java:1180)
           at org.apache.rocketmq.tools.admin.DefaultMQAdminExtImpl.examineBrokerClusterInfo(DefaultMQAdminExtImpl.java:275)
           at org.apache.rocketmq.tools.admin.DefaultMQAdminExt.examineBrokerClusterInfo(DefaultMQAdminExt.java:222)
           at org.apache.rocketmq.exporter.service.client.MQAdminExtImpl.examineBrokerClusterInfo(MQAdminExtImpl.java:197)
           at org.apache.rocketmq.exporter.task.MetricsCollectTask.init(MetricsCollectTask.java:121)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:498)
           at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:363)
           at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:307)
           at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)
           ... 26 common frames omitted


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org