Open Gssflyaway opened 4 years ago
@Gssflyaway 提供一下后台log
@Gssflyaway 提供一下后台log
2020-07-28 05:16:00.002 - INFO [task-39] Start to check alert rules... 2020-07-28 05:16:00.003 - INFO [task-38] Start collecting node info (minute), cluster number = 6 2020-07-28 05:16:30.003 - INFO [task-40] Start update node status and cluster status... 2020-07-28 05:17:00.002 - INFO [task-42] Start to check alert rules... 2020-07-28 05:17:00.002 - INFO [task-41] Start collecting node info (minute), cluster number = 6 2020-07-28 05:17:30.003 - INFO [task-43] Start update node status and cluster status... 2020-07-28 05:18:00.003 - INFO [task-45] Start collecting node info (minute), cluster number = 6 2020-07-28 05:18:00.003 - INFO [task-44] Start to check alert rules... 2020-07-28 05:18:30.003 - INFO [task-46] Start update node status and cluster status... 2020-07-28 05:19:00.003 - INFO [task-48] Start to check alert rules... 2020-07-28 05:19:00.004 - INFO [task-47] Start collecting node info (minute), cluster number = 6 2020-07-28 05:19:30.002 - INFO [task-49] Start update node status and cluster status... 2020-07-28 05:20:00.003 - INFO [task-51] Start collecting node info (minute), cluster number = 6 2020-07-28 05:20:00.005 - INFO [task-50] Start to check alert rules... 2020-07-28 05:20:30.003 - INFO [task-52] Start update node status and cluster status... 2020-07-28 05:21:00.006 - INFO [task-53] Start collecting node info (minute), cluster number = 6 2020-07-28 05:21:00.013 - INFO [task-54] Start to check alert rules... 2020-07-28 05:21:30.003 - INFO [task-55] Start update node status and cluster status... 2020-07-28 05:22:00.002 - INFO [task-56] Start to check alert rules... 2020-07-28 05:22:00.002 - INFO [task-57] Start collecting node info (minute), cluster number = 6 2020-07-28 05:22:30.002 - INFO [task-58] Start update node status and cluster status... 2020-07-28 05:23:00.004 - INFO [task-60] Start to check alert rules... 2020-07-28 05:23:00.004 - INFO [task-59] Start collecting node info (minute), cluster number = 6 2020-07-28 05:23:30.003 - INFO [task-61] Start update node status and cluster status... 2020-07-28 05:24:00.002 - INFO [task-63] Start to check alert rules... 2020-07-28 05:24:00.002 - INFO [task-62] Start collecting node info (minute), cluster number = 6 2020-07-28 05:24:30.002 - INFO [task-64] Start update node status and cluster status... 2020-07-28 05:25:00.002 - INFO [task-66] Start to check alert rules... 2020-07-28 05:25:00.003 - INFO [task-65] Start collecting node info (minute), cluster number = 6 2020-07-28 05:25:30.004 - INFO [task-67] Start update node status and cluster status...
想问下RCT的功能是不是需要在redis机器上安装rct的组件才可以呢
@Gssflyaway 是的,需要部署分析器
@Gssflyaway 是的,需要部署分析器
希望官方还是能出一个详细的教程,看wiki似乎没有这方面的介绍。
@Gssflyaway 好的,我们后面继续完善 https://github.com/ngbdf/redis-manager/wiki/2.x-RCT(%E6%95%B0%E6%8D%AE%E5%88%86%E6%9E%90)
docker run -d -e "JAVA_OPTIONS=-Xmx1024m -Xms300m" -v /opt/app/rct/rct-analyze/config:/opt/app/rct/rct-analyze/config -v /data/redis/redis_cluster:/data/redis/redis_cluster --net=host xaecbd/rct-analyze:latest
这几个wiki我之前参考过,但是有点问题。
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2020-07-28 06:05:41,785 ERROR [main] SpringApplication: Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'initServer': Unsatisfied dependency expressed through field 'scheduleTaskService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'scheduleTaskService': Unsatisfied dependency expressed through field 'schedulerFactoryBean'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzDataSourceInitializer': Invocation of init method failed; nested exception is java.lang.UnsatisfiedLinkError: org.sqlite.core.NativeDB._open_utf8([BI)V at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:587) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:373) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1348) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:760) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395) at org.springframework.boot.SpringApplication.run(SpringApplication.java:327) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243) at org.nesc.ecbd.StartApp.main(StartApp.java:27)
@Gssflyaway 使用redis-manager不需要启动dashboard.jar 。分析器需要部署在你需要分析的节点上
需要
这台机器就是redis的节点,并且analyze.jar已经启动成功了
请问这个问题有没有解决
等待修复
在dashboard里面发请求的地方因为没有做判断,全部按照无密码方式创建的连接,所以会报错,只要判断下就欧克了
在import cluster时已经配置过cluster的密码